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_zone27.32.188.98,27.32.188.98,AU,Australia,AU-NSW,New South Wales,Blacktown City Council,1730,-33.78342,150.93325,Australia/Sydney2605:8d80:540:c100:0:0:0:0,2605:8d80:540:c1ff:ffff:ffff:ffff:ffff,CA,Canada,CA-QC,Quebec,Saint-Hyacinthe,J2S5L8,45.63074,-72.95697,America/Toronto2400:2200:2f2:15c0:0:0:0:0,2400:2200:2f2:18ff:ffff:ffff:ffff:ffff,JP,Japan,JP-23,Aichi,Nagoya,461-0017,35.18146,136.90633,Asia/Tokyo2a00:1e88:c2f8:c100:0:0:0:0,2a00:1e88:c2f8:c1ff:ffff:ffff:ffff:ffff,RU,Russian Federation,RU-SPE,Sankt-Peterburg,Saint Petersburg,199406,59.93215,30.19683,Europe/Moscow2a0e:418:3903:3000:0:0:0:0,2a0e:418:3903:bfff:ffff:ffff:ffff:ffff,IT,Italy,IT-25,Lombardia,Milan,20090,45.44773,9.21724,Europe/Rome 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. | |
| CSV (zipped) | Same file compressed for faster downloads and cheaper storage. | |
| MMDB | Binary format for instant lookups with standard MMDB readers. |
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.