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_zone99.115.92.64,99.115.92.87,US,United States,US-TX,Texas,Longview,75601,32.50068,-94.74057,America/Chicago118.104.84.0,118.104.84.198,JP,Japan,JP-23,Aichi,Kasugai,486-8501,35.24754,136.9723,Asia/Tokyo195.39.250.192,195.39.250.192,IT,Italy,IT-32,Trentino-Alto Adige,Merano - Meran,39012,46.6713536,11.1646348,Europe/Rome219.114.205.77,219.114.205.77,JP,Japan,JP-33,Okayama,Kasaoka,714-0088,34.50595,133.50393,Asia/Tokyo2409:4072:6c8f:97ff:6000:0:0:0,2409:4072:6c8f:97ff:bfff:ffff:ffff:ffff,IN,India,IN-TN,Tamil Nādu,Kanyakumari,629002,8.17903,77.43233,Asia/Kolkata 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.
The Parquet variant carries the same columns with their types (text, numbers, booleans) and empty values as nulls, ready for data warehouses and analytics engines.
Downloads
Available formats
| Format | Description | Size |
|---|---|---|
| CSV | Plain text, one range per line. Import into any database or data warehouse. | 2.7 GB |
| CSV (zipped) | Same file compressed for faster downloads and cheaper storage. | 279 MB |
| MMDB | Binary format for instant lookups with standard MMDB readers. | 254 MB |
| Parquet | Typed columns, compressed. Load into Spark, BigQuery, Snowflake, Athena or DuckDB. | 323 MB |
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.