
Here at IPLocate.io, we’re dedicated to providing fast, reliable, and accurate IP intelligence data through our API. Today, we’re thrilled to expand our offerings by launching two free downloadable databases: IP to Country and IP to ASN.
Now, you can access essential IP geolocation and network data, self-host it, and use it without limitations – all completely free. Whether you’re localizing content, enhancing analytics, bolstering security, or performing network analysis, these databases provide a robust foundation built on the same quality data that powers the core IPLocate API.
What’s included: Essential IP data, unrestricted
Our free downloadable databases give you direct access to core IP intelligence:
- Free IP to Country Database: Pinpoint the country and continent for any IPv4 or IPv6 address. Perfect for content localization, traffic analysis, compliance checks, and more.
- Free IP to ASN Database: Map IP addresses to their Autonomous System Number (ASN), revealing the network provider, organization name, and netname. Ideal for network troubleshooting, security analysis, and understanding traffic origins.
IP to Country Database
Get essential country-level geolocation for any IP address.
Use cases: Content personalization, redirecting users based on location, fraud detection, enforcing geographic restrictions, enriching analytics dashboards.
Data fields
Field | Description | Example |
---|---|---|
network |
IP address range in CIDR notation | 104.220.212.249/32 |
continent_code |
Two-letter continent code | NA |
country_code |
Two-letter ISO 3166-1 alpha-2 code | US |
country_name |
Full country name | United States |
IP to ASN Database
Understand the network infrastructure behind an IP address.
Use Cases: Network traffic analysis, identifying ISP or hosting providers, cybersecurity investigations, firewall rule configuration, enriching threat intelligence feeds.
Data fields
Field | Description | Example |
---|---|---|
network |
IP address range in CIDR notation | 1.0.4.0/22 |
asn |
Autonomous System Number | 38803 |
country_code |
Two-letter ISO 3166-1 alpha-2 code | AU |
netname |
Network name assignment | GTELECOM-AS-AP |
description |
Description of the ASN holder | Gtelecom Pty Ltd |
Why choose IPLocate’s free GeoIP databases?
When it comes to IP geolocation data, we know you have choices. Here’s why IPLocate's free databases stand out:
- Uncompromised accuracy: Unlike many free offerings, we don’t reduce the accuracy of our free databases. You get the same high-quality, up-to-date IP to Country and ASN data that our paid API customers rely on. We believe accurate data shouldn’t be exclusively a premium feature.
- Truly open & accessible: Our databases are licensed under CC BY-SA 4.0. This means you can use, modify, and redistribute them freely (even commercially) with simple attribution.
- Daily updates: The internet landscape changes constantly. Our databases are rebuilt and updated every single day, ensuring you have the freshest data possible. Compare that to the weekly or even monthly updates of some alternatives.
- Developer-friendly formats: Choose between simple CSV for easy parsing or the highly efficient MMDB format. Our MMDB files are fully compatible with standard MaxMind GeoIP readers, allowing for lightning-fast, sub-millisecond lookups directly in your applications.
- Self-hosted control: Download the databases and run lookups locally. This means zero latency from external API calls, no request limits, and the ability to work completely offline. You control the data.
Built on accuracy: How we do it
Our commitment to accuracy isn’t just marketing speak. It’s baked into our process:

- Collect: We gather data from diverse, trusted sources like RIRs, geofeeds, and our own active network intelligence gathering.
- Analyze: Our proprietary data pipeline processes terabytes of raw data, applying advanced network analysis to accurately attribute location and metadata.
- Validate: We cross-reference billions of data points, identifying and discarding inconsistencies. When something doesn't add up, we take a closer look.
- Update: This entire cycle runs continuously, allowing us to publish fresh, validated databases daily.
Get started in minutes
Integrating our databases is straightforward:
- Download: Grab the latest versions
- Choose your format: Use CSV for simple scripting, batch processing, and more. Use MMDB for high-performance lookups at scale.
MMDB integration example
import fs from 'fs';
import * as mmdb from 'mmdb-lib'; // npm install mmdb-lib
const db = fs.readFileSync('/path/to/ip-to-country.mmdb');
const reader = new mmdb.Reader(db);
console.log(reader.get('8.8.8.8'));
// {
// continent_code: 'NA',
// country_code: 'US',
// country_name: 'United States',
// network: '8.8.0.0/17'
// }
console.log(reader.getWithPrefixLength('8.8.8.8'));
// [
// {
// continent_code: 'NA',
// country_code: 'US',
// country_name: 'United States',
// network: '8.8.0.0/17'
// },
// 17
// ]
IPLocate vs. the alternatives
We believe our free offering provides significant advantages over other common free options:

- No sign-up barrier: Download from our website or from our GitHub mirror.
- Full accuracy: We don’t provide downgraded data for free users.
- Truly open license: CC BY-SA 4.0 offers freedom to use the data how you want, unlike other providers that place non-free and non-open restrictions on their downloads.
- Daily freshness: More frequent updates mean more reliable data.
If you’re looking for a free GeoIP alternative or a more open and accurate replacement for MaxMind GeoLite2, IPinfo Lite, or IP2Location LITE, give IPLocate’s free databases a try.
What’s the catch?
IPLocate’s free databases are truly free under the Creative Commons BY-SA 4.0 license. That means you're free to use them for commercial and non-commercial projects, modify them, and redistribute them as you see fit. There are two key things to note:
- If you remix, transform, or build on our data, you need to distribute your contributions under the same (or a similar) license.
- Where you use the data, you'll need to let people know the data comes from IPLocate.io. This can be as simple as a link back to iplocate.io, for example:
<p>IP address data powered by <a href="https://iplocate.io">IPLocate.io</a></p>
Need more IP data?
While our free databases cover essential Country and ASN details, the full IPLocate platform offers much more:
- IPLocate API: Access detailed geolocation (city, region, postal code, timezone), hosting detection, threat intelligence (VPN, Tor, proxy detection), company data, Whois contacts, and more via a simple, fast API. Free tier available (1,000 requests/day), with affordable paid plans.
- Premium Downloadable Databases: Self-host our complete datasets, including full Geolocation, IP to Company, Hosting/Datacenter, Threat/Privacy Detection, and more.
Get started with our free IP geolocation databases
Accurate, up-to-date, developer-friendly, and truly free – that’s the promise of IPLocate’s new downloadable IP databases.
Download the IP to Country and IP to ASN databases today and start leveraging reliable IP intelligence in your projects.
We’re excited to see what you build! If you have any questions or feedback, please let us know.