Auto-updated twice weekly

Free GeoIP Databases

Accurate, regularly updated IP geolocation databases for developers. Served via lightning-fast CDN with no authentication required.

500+
GitHub Stars
50K+
Weekly Downloads
2x
Weekly Updates
100%
Free Forever

Choose Your Database

Two industry-leading geolocation databases, automatically updated and served via CDN.

MaxMind GeoLite2-City

Industry Standard

POPULAR
Last updated: Loading...
City-level accuracy
Updated every Tuesday & Friday
~68 MB compressed
CC BY-SA 4.0 License
https://cdn.jsdelivr.net/npm/geolite2-city/GeoLite2-City.mmdb.gz

DB-IP City Lite

Lightweight Alternative

COMPACT
Last updated: Loading...
City-level accuracy
Updated monthly (1st of month)
~19 MB compressed
CC BY 4.0 License
https://cdn.jsdelivr.net/npm/dbip-city-lite/dbip-city-lite.mmdb.gz

Quick Start

Get started in minutes with our simple integration examples.

example.php
use GeoIp2\Database\Reader;

// Download the database from CDN
$dbUrl = 'https://cdn.jsdelivr.net/npm/geolite2-city/GeoLite2-City.mmdb.gz';

// Initialize the reader
$reader = new Reader('/path/to/GeoLite2-City.mmdb');

// Look up an IP address
$record = $reader->city('128.101.101.101');

echo $record->country->name;  // 'United States'
echo $record->city->name;     // 'Minneapolis'
echo $record->location->latitude;

Direct CDN URLs

https://cdn.jsdelivr.net/npm/geolite2-city/GeoLite2-City.mmdb.gz
https://cdn.jsdelivr.net/npm/dbip-city-lite/dbip-city-lite.mmdb.gz

Why Choose Our Service?

We handle the complexity so you can focus on building.

Lightning Fast CDN

Served via jsDelivr with global edge locations. Average response time under 50ms worldwide.

Auto-Updated

GitHub Actions automatically fetch and publish the latest databases. No manual intervention needed.

No Auth Required

No API keys, no accounts, no rate limits. Just download and use immediately.

Version History

All versions preserved in npm registry. Roll back to any previous database version if needed.

Open Source

Full transparency. Check our GitHub repos for automation scripts and update history.

Community Driven

Maintained by WP Statistics team. Trusted by thousands of WordPress sites worldwide.

Ready to Get Started?

Start using accurate geolocation data in your application today.