IP to Country

Find the country an IP address belongs to, with its two-letter country code, flag and continent.

IPv4 and IPv6 are both supported. Your own address is pre-filled.
ctrl + enter

About this tool

IP to Country is the lightweight version of the geolocation lookup: it answers one question, which country does this address belong to, and shows the ISO country code and flag prominently so the result is readable at a glance. Region, city and ISP are listed below for context.

It is handy for geo-restriction decisions, for checking where a log entry came from and for spotting sign-ups whose billing country does not match the connection. For full details, including the map and anonymity flags, use IP Geolocation.


How to use it — quick steps

  1. 01

    Enter the ip address

    Type or paste the ip address in the field above. The lookup runs from our servers, not from your device.

  2. 02

    Press "Find country"

    Press "Find country" or Ctrl + Enter. The result appears below in a few seconds. Results can be copied.

  3. 03

    Read the result

    It appears in the dark panel under the form in a few seconds. Every block has [copy] and other actions.


Key features of this tool

  • External lookups

    The lookup runs from our infrastructure, so you see what the public internet sees without exposing your own IP address or network.

  • Fast and cached

    Results come back in seconds; identical lookups are cached for a few minutes to keep the service fast and responsive for everyone.

  • Easy to reuse

    Every result block can be copied with one click or downloaded as a text file, and tables can also be saved as CSV for your reports.


Frequently asked questions

Is the country always correct?

Country-level geolocation is accurate for well over 95% of addresses. Exceptions are satellite links, VPN exits and a few multinational providers that announce one block in several countries.

What is the country code?

The ISO 3166-1 alpha-2 code, such as US, DE or JP, the same two letters used in country-code domains and most APIs.

How can I get this for many IPs?

The APIVoid IP Reputation API returns the same fields in JSON and can be called in bulk from your own scripts.


Popular tools


From APIVoid, the team behind IPVoid

Enhance your threat detection capabilities

APIVoid provides threat intelligence APIs to automate security workflows, with simple pricing and a 30-day free trial to start, no card required.

What you get with APIVoid

  • IP reputation and blacklist checks
  • Domain and URL reputation scoring
  • DNS lookups and propagation
  • SSL certificate and TLS details
  • Website screenshots and page info
  • Email address verification
  • 30+ cybersecurity APIs
30-day free trial