The Geolocation dataset maps the entire routable IPv4 and IPv6 address space to physical locations. Every range resolves to a country, and most ranges resolve further to a region, city, postal code, latitude and longitude, and time zone.
It is the same data that powers the Ipregistry API, built from authoritative registry data, operator-published geofeeds, network measurements and continuous quality checks, then packaged for offline use in your own infrastructure.
The data
Inside the file
One record per row, a commented header line first. This is what ipregistry-geolocation.csv looks like:
# ip_start,ip_end,country_code,country_name,region_code,region_name,city,postal,latitude,longitude,time_zone2401:4900:5851:e100:1600:0:0:0,2401:4900:5851:e100:87ff:ffff:ffff:ffff,IN,India,IN-UP,Uttar Pradesh,Kanpur,208008,26.46517,80.34983,Asia/Kolkata2a01:4f8:191:43b4:0:0:28:0,2a01:4f8:191:43b4:0:0:ff:ffff,DE,Germany,DE-HE,Hessen,Frankfurt,60313,50.11557,8.68408,Europe/Berlin86.173.170.216,86.173.170.219,GB,United Kingdom,GB-ENG,England,Wem,SY4,52.85832,-2.71827,Europe/London2402:8100:3999:b7dc:f400:0:0:0,2402:8100:3999:b7fc:25bf:ffff:ffff:ffff,IN,India,IN-MH,Mahārāshtra,Mumbai City District,400104,18.98089,72.83376,Asia/Kolkata2804:214:a14a:f100:0:13f:a600:0,2804:214:a14a:f100:0:1b38:7fff:ffff,BR,Brazil,BR-GO,Goiás,Niquelândia,76420-000,-14.47385,-48.45966,America/Sao_Paulo The rows above come from the free sample. Every build ships with MD5, SHA-1, SHA-256 and SHA-512 checksums so you can verify downloads.
| Column | Description |
|---|---|
ip_start | First IP address of the range, IPv4 or IPv6. |
ip_end | Last IP address of the range, inclusive. |
country_code | ISO 3166-1 alpha-2 country code, e.g. US or DE. |
country_name | English name of the country. |
region_code | ISO 3166-2 code of the region, e.g. US-CA. |
region_name | English name of the region, state or province. |
city | City associated with the range. |
postal | Postal or ZIP code associated with the range. |
latitude | Approximate latitude of the range location. |
longitude | Approximate longitude of the range location. |
time_zone | IANA time zone identifier, e.g. America/Los_Angeles. |
The MMDB variant carries the same data in a memory-mapped binary tree, compatible with the standard MMDB reader libraries available for every major programming language.
Downloads
Available formats
| Format | Description | Size |
|---|---|---|
| CSV | Plain text, one range per line. Import into any database or data warehouse. | 5.2 GB |
| CSV (zipped) | Same file compressed for faster downloads and cheaper storage. | 467 MB |
| MMDB | Binary format for instant lookups with standard MMDB readers. | 1.9 GB |
Use cases
What you can build
- Localize content, currencies and languages without calling an external API on each request
- Enrich analytics events, logs and data warehouses with location at ingestion time
- Apply geo-based access rules and compliance restrictions in latency-sensitive paths
- Batch process historical traffic where per-request API lookups are impractical
Related use cases: Web personalization · Compliance
Datasets are available with an Ipregistry subscription and download from your dashboard, or over a stable URL for automated syncs. Prefer live data? The same intelligence is served by the Ipregistry API.