Country Flags & IP WHOIS
Displays a country flag depicting the location of the current website's server
Make a Donation
Bitcoin Address: 1sM2BrTH8BRgt3quiASK8TmYSafutNvDo
Ether Address: 0xCf9eaAc56992e12EB61fD46342172d4EEff5C8e4
Download Links
"Country Flags & IP WHOIS" adds a toolbar/address bar button with an icon of current location of the website's server. This information is extracted from the IP address of the responding server. The extension has a built-in table to convert the provided IP address to the country flag.


  1. What is "Country Flags & IP Whois" extension and how does it work?

    This extension adds a toolbar button to Chrome browser. In Firefox a new icon is added to the address-bar. In both cases, the icon will display flag of the web-server based on its current location. This tool can be used to identify where the actual server is located. This can help identifying malicious websites. Also more information based on the IP address of the server is provided on click of the toolbar.

  2. Is it possible to have host IP address and flag icon inside web-pages instead of the toolbar button?

    Try my “IP Server” extension:

  3. Why there is no flag icon in the toolbar after installation?

    You will need to refresh tabs for the extension to fetch IP address of the server and converts that to proper flags.

  4. Does this extension use an external service to get the IP information?

    No, feting IP information from external service is slow. The extension has a lightweight database to convert an arbitrary IP address to ISO country code. For the extension to be lightweight as possible, the database is highly optimized and compressed. So there is no external resource involve during IP resolution. If additional information is required, click on the toolbar to direct you to the detail page.

  5. Can I change the position of the toolbar / addressbar icon?

    In Chrome the icon is added as a toolbar button. Holding the button and moving mouse cursor changes the position of the toolbar button. In Firefox though the icon is placed inside the addressbar and position is determined by Firefox and is not changeable.

  6. What's new in this version?

    Please check the Logs section.

  7. "Country Flags & IP Whois" extension displays the local network icon when I am using a SOCKS proxy on my browser. Is there any way to display the actual server's IP address and hence the correct flag in this network mode?

    As of version 0.1.5, it is possible to ask the extension to use the OS level DNS resolver to find the actual IP address of servers if the browser returns a local IP address. This way OS level DNS resolver will be used once the browser returns local IP address (like when SOCKS server is in the middle of the connection). Note that to use the native DNS resolver, you will need to install a minimal native client application as the extension itself cannot connect to native side without this helper utility.

  8. What are the networking utilities available in this extension?

    There are two types of networking utilities: Those attached to the left-click on the page-action button and those that are attached to the right-click on the page-action button

    For the left-click, there is IP and hostname tool which provides almost everything you need to know about this IP or hostname. Note that IP tool has higher priority than the hostname tool which means the IP tool is used whenever applicable. If IP address for the current tab is not been resolved or there is an error resolving it, then the hostname tool is used instead.

    On the right-click over the page-action button, there are 8 default tools:

    • SSL Checker: Check SSL certificate
    • Traceroute: Display the route and transit delays of packets
    • Ping: Test the reachability of this IP address
    • TinyURL: Shorten the URL using
    • DNS Lookup: Perform an authoritative DNS lookup
    • Whois Lookup: Find the registration and delegation of a domain name
    • HTTP Headers: List all the response HTTP headers
    • Alexa: Website traffic, statistics and analytics
    • WOT Scorecard: Website reputation ratings
    • Virustotal: A free virus, malware and URL scanning service
    • Check Server Status: Helps finding whether a website is down or not
    • Google Translate: Free service instantly translates words, phrases, and web pages
    • Google Cache: Google cached pages for any web site
    • Wikipedia: Domain search
    • intoDNS: Checks the health and configuration of DNS and mail servers
    • Netcraft: Provides internet security services including anti-fraud and anti-phishing services
    • Wave Report: Provides web accessibility solutions
    • HTML5 Validator
    • W3C CSS Validator: CSS Validator
    • W3C Validator: HTML5 Validator
    • Internet Archive: Free universal access to archived web pages
    • Google: Search by domain
    • Wolfram|Alpha : Access to the world’s facts and data
    • Copy IP: Copy IP address to the clipboard

    You can define two more custom context menu items as well. Note that there are three keywords that can be placed in the URL ([ip], [host], [enurl], [curl], and [url]). These keywords are replaced with the current tab equivalents when applicable. Also, note that you can have a maximum of 6 tools in the right-click context menu (This is a limitation in WebExtension context and there is no workaround for it).

  9. Can I ask the extension to open new tabs in background?

    Yes, as of version 0.2.0, it is possible to ask the extension to open links in background. Also, you can ask the extension to open links adjacent to the current tab.

  10. What are the supported keywords and what are the definitions?

    Here is the list of all the supported keywords that are being replaced by the extension:

    • [lang]: browser language code (e.g.: en-US, ro, de)
    • [url]: actual URL
    • [enurl]: encodes URL with encodeURIComponent
    • [host]: hostname
    • [curl]: Clean URL. URLs without any parameters
    • [ip]: IP address of the server

Matched Content


Please keep reviews clean, avoid the use of improper language and do not post any personal information.HTML tags
  • <a> Defines an anchor.

    Example: <a href="">a sample link</a>

  • <pre><code> Syntax Highlighting (Supported languages: Bash, JSON, HTML, JavaScript, and CSS).

    Example: <pre><code class="javascript">var foo = 'bar';</code></pre>

  • <strong> Defines bold text
  • <blockquote> Defines a long quotation
  • <caption> Defines a table caption
  • <cite> Defines a citation
  • <em> Defines italic text
  • <p> Defines a paragraph
  • <span> Defines a section in a document
  • <s> Defines strikethrough text
  • <strike> Defines strikethrough text
  • <u> Defines underlined text
  • <br> Defines a single line break; can be used alone and don't need an ending tag

What's new in this version

Change Logs:
    Last 10 commits on GitHub

    Need help?

    If you have questions about the extension, or ideas on how to improve it, please post them on the support site. Don't forget to search through the bug reports first as most likely your question/bug report has already been reported or there is a workaround posted for it.


    Permissions are explained

    storageTo store extension's local preferences
    tabsTo search through open tabs and create new ones
    webNavigationTo detect page commits (to detect when a new page is loaded in a browser tab)
    webRequestTo find IP address of the top level domain
    <all_urls>This is to allow 'webRequest' to have access to the top level domains
    contextMenusTo create context-menu items for the pageAction button
    notificationsTo display error messages
    nativeMessagingTo allow communication with the NodeJS native client (only if native DNS resolver is checked in the options page)
    downloadsTo allow the extension to download the native client (only if native DNS resolver is checked in the options page)
    clipboardWriteTo allow the extension to copy IP address to the clipboard (a right-click item over the toolbar button)

    Recent Blog Posts on