Free geoip database

Determine the continent and country associated with IP addresses.

Updates

Databases are updated on the 10th of each month.

Technical details

IPv4 and IPv6 databases are offered in a CSV format. The primary use case for these CSV files is to import them into a SQL database or other data store.

Name Type Description
ip_from unsigned int(10) The first IPv4 address in a netblock. To convert IP addresses between dotted and integer format, you may check developer’s information.
ip_to unsigned int(10) The last IPv4 address in a netblock. To convert IP addresses between dotted and integer format, you may check developer’s information.
continent_code char(2) Two-character continent code.
continent_name varchar(20) Continent name.
country_code char(2) Two-character ISO 3166-1 country code.
country_name varchar(200) Country name.

Database size uncompressed:

  • IPv4: 31.5 MB
  • IPv6: 13.6 MB

Compressed size:

  • IPv4: 3.8 MB
  • IPv6: 2.5 MB