πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
Ip2country icon
Possibly abandoned Tested up to 5.4.26 #35 in country

Ip2country

Plugin converts IP-address to the country.

Active installs10+10+ tier
Downloads Β· 30d45β–² +12.5% vs prev. 30d
Ratingβ€”0 reviews
Health score23/100At risk
All-time downloads4.6KSince Jul 2011
Support resolvedβ€”No recent threads
RequiresWP 3.0PHP any
Downloads Β· 7d8β–Ό -57.9% week over week
Our verdict

Consider an alternative

Ip2country shows warning signs in 2026 β€” compare the alternatives below before installing. It runs on 10+ sites and was last updated 6 years ago, and scores 23/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in 6 years
  • Only tested up to WordPress 5.4 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

246Sep 4Oct 18Dec 2
Yesterday2
Daily average (1y)1
Peak day9Sep 10, 2026
Last 12 months433

Download spikes usually follow a new release β€” each site that auto-updates counts as a download.

Rankings

Where Ip2country stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
country >100 5,827 Best country plugins β†’
geolocation >100 1,006 Best geolocation plugins β†’
ip >100 9,312 Best ip plugins β†’
ip to country >100 2,137 Best ip to country plugins β†’
ip2country #1 3 Best ip2country plugins β†’

Version adoption

Share of active sites per release.

  • 1.3100.0%

About Ip2country

From the official readme Β· v1.3

Description

Get country code or country name:

<?php
$ip2country = ip2country();
echo ' Country code: '.$ip2country->country_code;
echo ' Country name: '.$ip2country->country_name;
// or
$ip2country2 = ip2country('212.113.46.148');
echo ' Country code: '.$ip2country2->country_code;
echo ' Country name: '.$ip2country2->country_name;
?>

Get additional info about the country by country code:

<?php
$ip2country_info = ip2country_info($ip2country->country_code);
echo ' iso_code_2: '.$ip2country_info->iso_code_2;
echo ' iso_code_3: '.$ip2country_info->iso_code_3;
echo ' iso_country: '.$ip2country_info->iso_country;
echo ' country: '.$ip2country_info->country;
echo ' lat: '.$ip2country_info->lat;
echo ' lon: '.$ip2country_info->lon;
// or
$ip2country_info = ip2country_info('us');
echo ' lat: '.$ip2country_info->lat;
echo ' lon: '.$ip2country_info->lon;
?>

Ip2country support page

Useful:

Installation

  1. install and activate the plugin on the Plugins page
  2. insert ip2country dump into your database using phpMyAdmin (if your database prefix is not “wp_”, you should change prefix inside the sql database dump manually)
  3. you can use plugin functions to convert the IP-address to the country

Changelog

1.3

  • minor changes

1.2

  • IP database update;

1.1.0

  • Added info table from http://www.ip2nation.com/;

1.0.0

  • Initial release;

Full changelog on WordPress.org β†’

Screenshots

Ip2country table
Ip2country table
Ip2country_info table
Ip2country_info table

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own β€” no account needed.

Active installs badge Rating badge Health score badge

Best Ip2country alternatives

All country plugins β†’
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Country Based Payments for WooCommerce Country Based Payments for WooCommerce Choose which payment gateway will be available in country/countries. by Ivan Paulin 3K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.3 (12) 3 years ago 37
2 User IP and Location User IP and Location Want to show your website visitors their IP address, location, and other cool details? This… by Sunny Kumar 3K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.2 (9) 6 months ago 54
3 SVG Flags – Country Flag Blocks and Galleries SVG Flags – Country Flag Blocks and Galleries Add responsive SVG country flags, accessible flag images, and multi-country galleries with… by David Gwyer 2K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.3 (6) 2 months ago 76
4 Polylang – Country Detection Polylang – Country Detection This plugin detects the preferred language according on the country. by Markus Wiesenhofer 1K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (2) 4 years ago 34
5 IP Locator IP Locator Country and language IP-based detection for WordPress. Fast, reliable, plug & play. by Pierre Lannoy 500+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (1) 1 week ago 77
6 Product Visibility by Country for WooCommerce Product Visibility by Country for WooCommerce Display WooCommerce products by customer's country. by WP Wham 400+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.3 (4) 2 months ago 75
7 country-redirect country-redirect Simple to use free WordPress plugin for redirection depending visitor's country by Andrii 300+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.2 (6) 5 years ago 35
8 Country Caching For WP Super Cache Country Caching For WP Super Cache Extends WP Super Cache to cache by page/visitor country instead of just page. Solves "wrong… by wrigs1 200+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.3 (4) 6 years ago 31
9 Country Based Bank Accounts for WooCommerce Country Based Bank Accounts for WooCommerce Assign Direct bank transfer accounts to billing countries. Only matching accounts are… by Marian Kadanka 100+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 2 months ago 64
10 ACF City Selector ACF City Selector This plugin adds a new (ACF) field to select a city depending on country and state/province. by Beee 100+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 4 months ago 53

FAQ

Ip2country: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Ip2country free?

Yes. Ip2country is free to download and use from the official WordPress.org plugin directory.

Is Ip2country safe to use in 2026?

Ip2country shows warning signs in 2026 β€” compare the alternatives below before installing. It runs on 10+ sites and was last updated 6 years ago, and scores 23/100 on our health check.

How many websites use Ip2country?

Ip2country is active on 10+ WordPress websites and has been downloaded 4,631 times since it launched in July 2011. It was downloaded 45 times in the last 30 days.

Does Ip2country work with WordPress 7.1?

Ip2country is officially tested up to WordPress 5.4.26, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Ip2country last updated?

The latest version, 1.3, was released on August 9, 2020 (6 years ago).

Who makes Ip2country?

Ip2country is developed and maintained by webvitalii.

What are the best alternatives to Ip2country?

The most popular alternatives to Ip2country are Country Based Payments for… (3K+ installs), User IP and Location (3K+ installs) and SVG Flags (2K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↡ to open