ip-geolocation-dbs
๐ IPv4 and IPv6 Geolocation databases that automatically update daily
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
โCITATION.cff file
Found CITATION.cff file -
โcodemeta.json file
Found codemeta.json file -
โ.zenodo.json file
Found .zenodo.json file -
โDOI references
-
โAcademic publication links
-
โCommitters with academic emails
-
โInstitutional organization owner
-
โJOSS paper metadata
-
โScientific vocabulary similarity
Low similarity (12.2%) to scientific vocabulary
Keywords from Contributors
Repository
๐ IPv4 and IPv6 Geolocation databases that automatically update daily
Basic Info
Statistics
- Stars: 22
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
IP Geolocation Databases
IPv4 and IPv6 Geolocation databases that automatically update daily.
Copyright ยฉ 2021 Teal Dulcet
Preprocessed free IPv4 and IPv6 Geolocation databases in TSV format that are automatically updated daily. Includes both country only and full location (state/providence/region and city) databases. Based on the ip-location-db repository, whose update scripts were not open source. The scripts used by this repository are 100% open source.
All databases are provided uncompressed and in a consistent TSV format with no quoting. Localized versions are available. The databases are designed so that applications can directly download them, without developers needing to release an entire software update. This allows users to enjoy much more frequent updates and thus more accurate geolocation information.
[!NOTE] On January 1, 2024, the databases changed from CSV to TSV format and the IP addresses from decimal to hexadecimal format to reduce their size.
โค๏ธ Please visit tealdulcet.com to support this project and my other software development.
The databases are hosted on GitLab because while it now has a 100 MiB file size limit for regular files, it has no maximum file size for Git Large File Storage (LFS) files, just a 10 GiB repository size limit. In contrast, GitHub has a 100 MiB file size limit and strict bandwidth limits on Git LFS files. Commits older than one day (previously one month) are automatically squashed to keep the repository size under that limit. Please see the CHANGELOG for the full history. The databases are now updated on GitHub as it has no limit for CI minutes for public repositories. In contrast, GitLab has a 400 CI minutes/month limit.
Database comparison
Click link to view the full table with all the files or scroll right ยป
| Database | License | Type | Updated | Download IPv4 | Download IPv6 |
| --- | --- | --- | --- | --- | --- |
| GeoFeed + Whois + ASN | ๐
ญ๐
CC0 1.0 | Country | Daily
IPv4: 2025-09-05
IPv6: 2025-09-05 | โฌ๏ธ ipv4.tsv
6.232MiB (6.535MB) โ 312,044 rows โ 251 unique countriesChecksums (click to show)
MD5: d84c2e43db8680a9ec839abe422ad642
SHA1: cdaf58a1a187050b76ea913fd757027eec7d4e07
SHA256: 5487bceb7595f5375a9186a3060d94d64d26ef7ece119b7aa7aac239458b9c67
10.82MiB (11.35MB) โ 164,458 rows โ 254 unique countriesChecksums (click to show)
MD5: 3d90c2804b713e850e318c995c618c0f
SHA1: e373808f86d58e80a29aa70ed9c7a46ebca85f50
SHA256: 9e3bcff0f2afbbf652c3f39852c982cf269adf3cee4fdd79ed5fdeb3d309f8d7
PDDL v1.0 | Country | Daily
IPv4: 2025-09-05
IPv6: 2025-09-05 | โฌ๏ธ ipv4.tsv
8.623MiB (9.042MB) โ 431,773 rows โ 241 unique countriesChecksums (click to show)
MD5: 0da4c1f828d15516faf633dd230270f2
SHA1: 44c389700aa3f9ace25ecc63e28054a624ae5bd8
SHA256: 5d38357427a5de6f64ce7c0ac224c270d7aab0a7a849f0f1292f8548df1b92a4
7.195MiB (7.545MB) โ 109,457 rows โ 224 unique countriesChecksums (click to show)
MD5: 3da567fdd0aa8a8172fc5a1f3a3d7f60
SHA1: 4aaf4ce1eed7badc64a3ad33d6b1d7b34d6b5e83
SHA256: 732d3f1d89fda4d8ce65e54082b9f978b738e53e6a8e7c0d253ff0ca337c7966
CC BY-SA 4.0 | Country | Daily
2025-09-05 | โฌ๏ธ ipv4.tsv
11.95MiB (12.53MB) โ 598,080 rows โ 246 unique countriesChecksums (click to show)
MD5: 26487c002a7592c48f6fbf84689b7163
SHA1: 1efb9900ce653199c8921e37aebd9a60e2f07a2a
SHA256: df230cb6e5b505000b73732476722ef3f39131509cd20d12d178239831224e56
87.82MiB (92.09MB) โ 1,334,636 rows โ 246 unique countriesChecksums (click to show)
MD5: f2de746dc291e636998146e58ec4f968
SHA1: e304aa5ae4664d530ae9c4a76dfe98a14b32353d
SHA256: 8a32899c59eea1d1d3bd9d97e82298effbf34a0db9b7e07ce726581608a17f03
CC BY 4.0 | Country | Monthly
2025-09-01 | โฌ๏ธ ipv4.tsv
6.825MiB (7.157MB) โ 341,824 rows โ 244 unique countriesChecksums (click to show)
MD5: 0dae1f431e9d10a462dae84888365884
SHA1: c0cc78c9aa347b8d712850c57537fc0dc50f1dfd
SHA256: 3f57c286e145770c2ac0d5d3c14088a919db312a222bfef2cb85941399367b2d
16.15MiB (16.93MB) โ 245,375 rows โ 250 unique countriesChecksums (click to show)
MD5: 0f7e3a8bff7f09ee7cfd621ef044564b
SHA1: feacd88a985ae6ef5d668ffcf375eefeed7948b4
SHA256: f554d05a841ea0162859a713eecebb3fb0dc814ea2d39b91150dd45627c31fed
2025-09-01 | โฌ๏ธ ipv4.tsv
206.9MiB (217.0MB) โ 3,624,799 rows โ 244 unique countriesChecksums (click to show)
MD5: f7154efa553f5c77576cadbc5c42ec9c
SHA1: b63ba0a183e94bf6cd1aa8a15db942b52d55841e
SHA256: 00286d8f1fc1f8f801a25f123213615fc637aa494c49fb2537047bdab4b1aaed
448.8MiB (470.6MB) โ 4,362,462 rows โ 250 unique countriesChecksums (click to show)
MD5: 7375867bcf97ba785ec1fa3d092fb0ae
SHA1: 37a209470da0930c2308178d77c0c1cac376d849
SHA256: df10547da1aed72a27d58d5fbd860b66dc9bfc40df34c5dcca2b7da7fdf24ca0
CC BY-SA 4.0 | Country | Bimonthly
IPv4: 2025-08-31
IPv6: 2025-08-31 | โฌ๏ธ ipv4.tsv
5.161MiB (5.411MB) โ 258,293 rows โ 242 unique countriesChecksums (click to show)
MD5: 95e8b98e399c9546eaa6913fe2309444
SHA1: 0729ec1700dd66e64d570295b605e265006a8972
SHA256: 7d5dd78fa0ac37316f479796659a319cb718b97cbcb6c276973e7a032a890aef
22.45MiB (23.54MB) โ 341,108 rows โ 249 unique countriesChecksums (click to show)
MD5: 1ad0b9a6c005823c4054d4b7a7068006
SHA1: d04e0abccf0a13ec34ae27abfb08f929300b492f
SHA256: efdc13094674341ad2839eabd8b24cf19df12257e0c4a225196d48da8fbdf5e5
IPv4: 2025-08-31
IPv6: 2025-08-31 | โฌ๏ธ ipv4.tsv
169.3MiB (177.5MB) โ 2,934,344 rows โ 242 unique countriesChecksums (click to show)
MD5: a60715c570305e0c75fe4faffb43ea0e
SHA1: 38b00b51abf99d675c6f578f3ddc6f1291989577
SHA256: 7b15658d15a2ea684f5136cc6b604a1305ba55f348332e98ac74007149eed726
288.0MiB (302.0MB) โ 2,790,254 rows โ 249 unique countriesChecksums (click to show)
MD5: 3ada012e83fb4d38f27d1fccd53c7b18
SHA1: da0592788b35abae1df0d9ced713b009ce8207e4
SHA256: 3a2da4e80c031ab64e77dcf65f18ecdb563e48d709a708d499e3751fd70be31e
GeoLite2 EULA | Country | Weekly
IPv4: 2025-09-02
IPv6: 2025-09-02 | โฌ๏ธ ipv4.tsv
12.50MiB (13.11MB) โ 625,899 rows โ 251 unique countriesChecksums (click to show)
MD5: cabebd66dffc705f66e304c62522702f
SHA1: d09b5c03c766f0242ad3b7e19ebc70e8fa27e3a5
SHA256: 5a979c65e01acc0e43a704dcbf9a3bda5714593508d14fe2ad90a9b13d5609fd
42.52MiB (44.59MB) โ 646,192 rows โ 251 unique countriesChecksums (click to show)
MD5: 30cd517920e15fc774cca108968860cd
SHA1: dd34de4c41bb74d53afa77b3b8d014f55a95b6a8
SHA256: e79f5aaa4e84a2350a91ecbfc73e49a50faec00b402b7d1e5f45c6dc11306460
IPv4: 2025-09-02
IPv6: 2025-09-02 | โฌ๏ธ ipv4-de.tsv
174.1MiB (182.6MB) โ 3,432,179 rows โ 251 unique countriesChecksums (click to show)
MD5: 95d27d53483885bc317e9e9606b6a91a
SHA1: 8fd5bc038271b6d70ef7919eb9bb3396ba665c2b
SHA256: 741923a0aca29bb3b94084ddefdfc4f5f9993448160de5fed0342198f70bd4fe
185.0MiB (194.0MB) โ 3,432,179 rows โ 251 unique countriesChecksums (click to show)
MD5: 2b072b986317652af3d6aa3cc1c17b94
SHA1: fb02e4dcf4218668d7ba3dc1384cdba6acef31e2
SHA256: f22e91157c11b2ed31d3ac69defcb23b6a6d30d4f2ac3376c697ba86ada71ba1
173.2MiB (181.6MB) โ 3,432,179 rows โ 251 unique countriesChecksums (click to show)
MD5: c9ca913196462e30843c3a422096b70d
SHA1: 6b7675a0496856fa856f7d7eba34880d701d8b18
SHA256: 967df7e9ba496a3b69ed6850ee140a2464e459d860932b4c0b4ab47677b97961
175.9MiB (184.4MB) โ 3,432,179 rows โ 251 unique countriesChecksums (click to show)
MD5: 0f755f970d7c37de2b26d1ecb5574f2c
SHA1: 4da6ac6ee736a3599548d70eb7d1e006ba5ae2ce
SHA256: 4bc2d3e129ddb82b7507e1c2acc7aa83bcc8e1109cfb159853c61cde620b1277
220.6MiB (231.3MB) โ 3,432,179 rows โ 251 unique countriesChecksums (click to show)
MD5: 523396ba10b29cf4533b8edad150fa9c
SHA1: e00b3d514e27a1a82e4c310cffdf1cd8f21b33f0
SHA256: d4778912678767ac168e5e1abfea84b2cc15e49c1c503254c6f4a52600de557b
172.9MiB (181.3MB) โ 3,432,179 rows โ 251 unique countriesChecksums (click to show)
MD5: eee5311191df5603cfc7705ed32f6c54
SHA1: ccb1fd892cd5b71be2a50772434d94d7b8c4c0cc
SHA256: c66ee2114773d28482a7d9e478af663acb6f4c493ad4c82bde65b4713473b360
214.3MiB (224.7MB) โ 3,432,179 rows โ 251 unique countriesChecksums (click to show)
MD5: d9947e6d006650313a75b20ce311fe77
SHA1: 3b2b56d3cae52ba1dfd7840a2bbff5601493e25c
SHA256: 4eb033966fab51a07c80e4de457bf40738753060a84e0c548fd3462437f4d3be
180.1MiB (188.8MB) โ 3,432,179 rows โ 251 unique countriesChecksums (click to show)
MD5: 82c05550411c90655feba7c0f4115c4b
SHA1: 6bee87dc60bd5e96abe57dd1ae76ebdcf08f9810
SHA256: d636997d7430c24c35af17bbc084649a9667cda79b1ab11ce106b54bd210619e
170.7MiB (179.0MB) โ 1,812,582 rows โ 251 unique countriesChecksums (click to show)
MD5: d715a0bb22ac653131c9070361e08d35
SHA1: 9d82558fd4eecd3fb858ba03d72fc4eb3d822299
SHA256: 034ed10ef48cd49352d14d8084de0e1469182d4f5ebbbe2b308d4db49e614203
174.4MiB (182.9MB) โ 1,812,582 rows โ 251 unique countriesChecksums (click to show)
MD5: 5456dec9f61f89da7f535526d3bdfb93
SHA1: 84d03fa48c14d178e1e25cdb2a8e9c32c81cffd3
SHA256: 152ca174d6949950de24edac357e44aee1d88a49b1c626298f253fecd7cb3b8a
169.0MiB (177.2MB) โ 1,812,582 rows โ 251 unique countriesChecksums (click to show)
MD5: d2b0f63939bf329dd3eb6abc0c839a20
SHA1: 40ac54a9f39f3add5fe5cef3639528e8bb8b3867
SHA256: 4a0dda9cb34a24118d3acf4304a0d9dd124698ca78037047a03ce719f98ed493
169.2MiB (177.5MB) โ 1,812,582 rows โ 251 unique countriesChecksums (click to show)
MD5: 307b356add95b701b47914bac64d3e70
SHA1: 4f3e57c3ea03fa75de4a4fd52da69643e6ec6bca
SHA256: 1f2a1dafacb3d0e9313691f5c44c30281c4af04461521161c9e8a780ce18d3f3
187.3MiB (196.4MB) โ 1,812,582 rows โ 251 unique countriesChecksums (click to show)
MD5: 9119b7ab02a11b3e9238894f2b73b671
SHA1: 77222387f4da5ef5d3c387c81dae47116fcc6f3b
SHA256: 5903eefb727274c87e47d85daa5c98836253e8cd53f757907bf0d048af9da16f
168.8MiB (177.0MB) โ 1,812,582 rows โ 251 unique countriesChecksums (click to show)
MD5: 4b7e368b66a186c1e520e1cdf683d099
SHA1: e2b16228b618a7772875fb7f41efac406f5bd0ca
SHA256: 312bda5f29a50c681f4ea264ed25f664920ed3ee4ca34485b0e862d4c6bc87de
187.8MiB (196.9MB) โ 1,812,582 rows โ 251 unique countriesChecksums (click to show)
MD5: 64de11ec2d68dee91d757cbf0eddd657
SHA1: 184c88ab4d4067ef0fc767aec32a7fa3086a39c8
SHA256: a4a3759c6d77ce8db16c6a7d4d2f186fe744f866e4e63779f76191887b3fb165
172.6MiB (181.0MB) โ 1,812,582 rows โ 251 unique countriesChecksums (click to show)
MD5: 616474da57de09b1f1a49a3245166fcd
SHA1: 381110ce8d1f27480b1b825b8791998931d38f32
SHA256: 2eece01efe7a7633adb4517653c4fbe3719f2f4e92c209f5e971eb2b5d68810f
Databases
GeoFeed + WHOIS + ASN database
Uses the ip-location-db GeoFeed + Whois + ASN database. It is created by merging the five Regional Internet Registries (RIRs) (AFRINIC, APNIC, ARIN, LACNIC, RIPE NCC) IP-ASN, WHOIS and OpenGeoFeed databases. Licensed Public Domain (CC0 1.0).
TSV format
ip_range_start ip_range_end country_code
iptoasn.com database
Uses the iptoasn.com database. Licensed Public Domain Dedication (PDDL v1.0). If you need hourly updates, you can use the source databases which are in TSV format with gzip compression.
TSV format
ip_range_start ip_range_end country_code
IPinfo.io database
Uses the IPinfo.io database. Licensed Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0), so users must attribute it to IPinfo:
html
<p>IP address data powered by <a href="https://ipinfo.io">IPinfo</a></p>
TSV format
ip_range_start ip_range_end country_code
DB-IP Lite databases
Uses the DB-IP Lite databases. Licensed Creative Commons Attribution 4.0 International License (CC BY 4.0), so users must attribute it to DB-IP:
html
<a href='https://db-ip.com/'>IP Geolocation by DB-IP</a>
Country TSV format
ip_range_start ip_range_end country_code
Full location TSV format
ip_range_start ip_range_end country_code state/providence city latitude longitude
Note that state/providence and city are blank for some rows.
GeoLite2 databases
Uses the MaxMind GeoLite2 databases. Licensed under the GeoLite2 end-user license agreement (EULA), similar to the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0), so users must attribute it to MaxMind:
html
This product includes GeoLite2 data created by MaxMind, available from
<a href="https://www.maxmind.com">https://www.maxmind.com</a>.
Localized versions of the Full location databases are available. See the filenames in the table above for the supported locales.
Country TSV format
ip_range_start ip_range_end country_code
Full location TSV format
ip_range_start ip_range_end country_code state/providence_2 state/providence_1 city latitude longitude
Note that country_code, state/providence_2, state/providence_1 and city are blank for some rows.
IP2Location LITE databases
Uses the IP2Location LITE databases. Licensed Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0), so users must attribute it to IP2Location:
html
This site or product includes IP2Location LITE data available from <a href="https://lite.ip2location.com">https://lite.ip2location.com</a>.
Country TSV format
ip_range_start ip_range_end country_code
Full location TSV format
ip_range_start ip_range_end country_code state/providence city latitude longitude
Note that state/providence and city are blank for some rows.
TSV format
See above for the specific format of each database.
IP address ranges
ip_range_start and ip_range_end is an IP address range.
- IPv4: 1000000 10000FF AU means that the IP addresses between 1.0.0.0 and 1.0.0.255 inclusive are in Australia ๐ฆ๐บ (AU country code). 1000000 is the hexadecimal format of the IP address 1.0.0.0. The numbers are 32-bit unsigned integers.
- IPv6: 20010200000000000000000000000000 20010200FFFFFFFFFFFFFFFFFFFFFFFF JP means that the IP addresses between 2001:200:: and 2001:200:ffff:ffff:ffff:ffff:ffff:ffff inclusive are in Japan ๐ฏ๐ต (JP country code). 20010200000000000000000000000000 is the hexadecimal format of the IP address 2001:200::. The numbers are 128-bit unsigned integers.
Country code
country_code is the two-letter code defined in ISO 3166-1 alpha-2.
Contributing
Merge requests welcome! Ideas for contributions:
- Improve the performance of the update scripts.
- Reduce the size of the databases.
- Provide localized versions of the IP2Location databases using their separate Region Multilingual and City Multilingual Databases.
- Add more databases.
Owner
- Name: Teal Dulcet
- Login: tdulcet
- Kind: user
- Location: Portland, Oregon
- Website: https://www.tealdulcet.com/
- Repositories: 31
- Profile: https://github.com/tdulcet
๐จโ๐ป Computer Scientist, BS, CRTGR, MS @Thunderbird Council member
Citation (CITATION.cff)
cff-version: 1.2.0
title: IP Geolocation Databases
message: >-
If you use this dataset, please cite it using the metadata
from this file.
type: dataset
authors:
- given-names: Teal
family-names: Dulcet
orcid: 'https://orcid.org/0009-0008-6616-2631'
repository-code: 'https://github.com/tdulcet/ip-geolocation-dbs'
repository: 'https://gitlab.com/tdulcet/ip-geolocation-dbs'
abstract: >-
Preprocessed free IPv4 and IPv6 Geolocation databases in
CSV format that are automatically updated daily.
license: GPL-3.0
GitHub Events
Total
- Watch event: 8
- Push event: 219
- Pull request event: 2
Last Year
- Watch event: 8
- Push event: 219
- Pull request event: 2
Committers
Last synced: 10 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| tdulcet | t****t@g****m | 769 |
| dependabot[bot] | 4****] | 1 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 0
- Total pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: about 1 hour
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: about 2 hours
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 1
Top Authors
Issue Authors
Pull Request Authors
- dependabot[bot] (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3 composite