IP Geolocation Accuracy: 5 Free Databases Tested (Nov 2026)

IP geolocation accuracy, 26 Nov 2026: 5 free databases on 38,694 cloud ranges. IPLocate was wrong on 0.4%, DB-IP Lite 8.7%, ip-location-db 36.1%, registry country 66.3%. 40.2% missed in at least one of 3.

Free data: CSV · JSON

Wrong country on cloud ranges, by free database 40.2% of 38,694 ranges get a wrong country from at least one of 3 free databases
  • RIR delegated files66%25,660
  • iptoasn66%25,611
  • ip-location-db36%13,980
  • DB-IP Lite, the catch9%3,357
  • IPLocate free0%163

IP geolocation accuracy, tested on the clouds’ own answer keys: OCODATA looked up every range that AWS, Azure, Google Cloud, Oracle, DigitalOcean and Linode publish with a location, in 5 free databases that need no account. That is 28,045 IPv4 and 10,649 IPv6 ranges in 48 countries, 24,855 of them outside the US.

The spread is wide. One free file missed 163 ranges. The country the registries hold missed two in three.

database right country wrong country no country wrong
IPLocate free (ip-to-country) 38,531 163 0 0.4%
DB-IP Lite (country) 35,337 3,357 0 8.7%
ip-location-db (user-country) 24,714 13,980 0 36.1%
iptoasn (country of the network) 11,332 25,611 1,751 66.2%
RIR delegated files (registered country) 13,034 25,660 0 66.3%

Download the CSV or JSON: every database by every cloud, free under CC BY 4.0. Columns: db, provider, ranges, agree, disagree, no_country, pct (wrong ÷ ranges). ip-location-db’s server-country file gave the same answer as user-country on every range, so it has its own rows in the CSV and none above.

The ask: is this visitor really in that country

“A visitor says Germany. The database says Turkey. Which one do I trust?”

Fraud teams, ad networks and geo-targeted sites ask it every day. IP geolocation accuracy is how often a database’s country for an address matches where that address really is. For most addresses there is no public answer key. Cloud ranges are the exception: the cloud says where each one runs.

What we ran: 38,694 ranges with a published location

The truth is each provider’s own file. Region names were turned into countries only when the provider’s own region list names them.

provider its file what says where ranges
Microsoft Azure Service Tags, Public Cloud, 23 Nov 2026 region of each AzureCloud tag (region list) 19,110
AWS ip-ranges.json, 26 Nov 2026 region (list), or the Local Zone (list) 10,642
Linode (Akamai) geofeed country column 5,511
DigitalOcean geofeed country column 1,240
Oracle Cloud public_ip_ranges.json region, named after its city 1,118
Google Cloud cloud.json, 25 Nov 2026 scope (regions and zones) 1,073

AWS’s and Google’s global ranges were left out, and so were 2,981 ranges in regions the provider’s list does not name yet.

Each database answered with the country that covers most of a range’s addresses. Every file was downloaded the same morning:

database where licence file
IPLocate free iplocate/ip-address-databases on GitHub CC BY-SA 4.0 updated daily
DB-IP Lite db-ip.com CC BY 4.0, link back to DB-IP November 2026, 732,796 rows
ip-location-db sapics/ip-location-db on GitHub public domain (PDDL) 26 Nov 2026
iptoasn iptoasn.com free download dated 1 Nov 2026
RIR delegated files ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC free download 25 and 26 Nov 2026

MaxMind GeoLite is not in the test: MaxMind asks for an account and a licence key before any download.

Wrong country by cloud provider

Share of each provider’s ranges put in the wrong country.

provider ranges IPLocate DB-IP Lite ip-location-db iptoasn registry
Microsoft Azure 19,110 0.7% 11.1% 71.9% 65.6% 71.9%
AWS 10,642 0.1% 10.4% 1.6% 54.9% 62.6%
Linode (Akamai) 5,511 0.1% 0% 0% 92.3% 57.5%
DigitalOcean 1,240 0.9% 6.6% 0% 46.9% 46.1%
Oracle Cloud 1,118 0.5% 1.6% 6.9% 75.2% 74.3%
Google Cloud 1,073 0.3% 2.6% 0% 66.4% 64.2%

Azure is where the free files split. 14,046 of its 19,110 ranges (73.5%) got a wrong country from at least one geolocation file. On Azure, ip-location-db missed exactly as often as the registry files: 71.9%.

ip-location-db, which says it reads geofeeds (files that say where each range is), got every DigitalOcean, Linode and Google Cloud range right.

Where the misses go

Outside the US, the gap grows. On 24,855 non-US ranges:

database wrong outside the US
IPLocate free 0.5%
DB-IP Lite 10.5%
ip-location-db 50.5%
iptoasn 93.6%
registry 97.5%

The most common swaps, truth first:

database top wrong answers
DB-IP Lite US read as Canada (180), US as Japan (129), Netherlands as US (106)
ip-location-db US read as UK (1,389), Australia as US (936), Netherlands as US (710)
registry Australia read as US (1,726), Japan as US (1,574), UK as US (1,571)

Four real ranges. Each shows the cloud’s own location first:

range cloud says IPLocate DB-IP Lite ip-location-db registry
136.18.142.0/23 AWS eu-central-1, Germany TR TR TR US
57.163.98.0/23 Azure westus3, US GB GB GB GB
9.129.254.128/27 Azure denmarkeast, Denmark GB GB GB GB
209.199.47.128/25 Azure saudiarabiaeast, Saudi Arabia GB MY GB GB

All 3 geolocation databases were wrong together on only 37 ranges (0.1%). So two files that agree are a far better bet than one. Card data splits the same way: two free BIN lists name different issuing countries for 22.0% of 234,035 shared BINs (BIN list).

Why an IP shows the wrong country

  • The registered country is not the location. A cloud registers a block once, then runs it anywhere. That is why the registry and iptoasn columns read “US” for ranges in Australia, Japan and the UK.
  • Files age. DB-IP Lite comes out monthly, and the iptoasn file we got was dated 1 Nov. AWS’s own file was stamped 26 Nov, 05:17 UTC, the morning we ran.

The same gap hits anyone who checks a site from another country through a cloud server: the site may see a different country than the one you picked. How to pick an exit that reads right: view a website from another country. Sites that show each country a different page: geo-cloaking.

What this delivers: one country you can trust per range

  • Fraud and ad teams: a label per address from the owner’s own file. Cloud, VPN, Tor or crawler, with the owner named: datacenter IP list, one address at a time in the VPN IP checker.
  • Geo-targeted sites: paste a log into the bot traffic checker and see which visitors sit in cloud ranges before you trust their country.
  • Data teams: we merge the clouds’ own region files and geofeeds with free databases, flag every range where they disagree, and deliver it as a dated custom feed. Country and network for every address: IPinfo alternative.

Get the disagreement list for your own ranges.

Country only, cloud ranges only: home and mobile lines publish no truth file, so they are not in this test.

Ran
Sample
38,694
Method
38,694 cloud ranges with a location published by AWS, Azure, Google Cloud, Oracle, DigitalOcean and Linode, looked up in 5 free databases. Counts only.
Licence
Free to reuse under CC BY 4.0
Cite as
OCODATA, IP Geolocation Accuracy, Nov 2026, ocodata.com/use-cases/ip-geolocation-accuracy/ (CC BY 4.0)
Run this on your own list

Send us the sites, domains or ads. We run it, and send back the table.

Get this run

IP geolocation accuracy FAQ

How accurate is IP geolocation?

At country level it depends on the database. On 38,694 cloud ranges on 26 Nov 2026, IPLocate's free file was wrong on 0.4%, DB-IP Lite on 8.7% and ip-location-db on 36.1%. The registered country was wrong on 66.3%.

Where can I download a free IP geolocation database?

With no account: DB-IP Lite (monthly, CC BY 4.0), IPLocate's free country file on GitHub (CC BY-SA 4.0), ip-location-db on GitHub (daily, public domain), iptoasn and the five registries' delegated files. MaxMind GeoLite needs an account.

Which free IP geolocation database is the most accurate?

On our cloud ranges, IPLocate's free country file: 163 wrong of 38,694. DB-IP Lite had 3,357 wrong, ip-location-db 13,980. All three got the Linode ranges almost all right.

Why does my IP show the wrong country?

The database the site uses holds an old answer, or the country where the network registered the block. Clouds and VPNs register blocks in one country and run them in another. If you run the network, publish a geofeed: a file that says where each range is.

Is the WHOIS or registry country the same as the IP's location?

No. The registry files give the country of the holder's registration. On 24,855 cloud ranges outside the US, that country was wrong on 97.5%, and 87.8% of those wrong answers said US.