Free "What Is My IP" Widget
Free "What is my IP" box for your website or blog, with one line of code.
How to add the widget to your site
- Choose the theme and the details the widget should show.
- Check the live preview.
- Press Copy code and paste the code into your page where the widget should appear: a WordPress "Custom HTML" block, a sidebar widget, or any HTML page.
The widget is free for personal and commercial sites. Keep the small "FindMyIPLocation" credit link under it; it tells your visitors where the data comes from.
What your visitors see
Each visitor sees their own public IP address, and, if you choose, their approximate city and country and their internet provider. The data is read live from our servers when the page opens. Your site never receives the data, and we do not set cookies or track your visitors.
Technical details
- Lightweight. One small script, loaded asynchronously, so it never slows down your page.
- Isolated. The widget draws itself inside a Shadow DOM, so your site's CSS cannot break it and its CSS cannot change your site.
- Works anywhere. No jQuery, no framework, no iframe. It works with WordPress, Blogger, Wix custom code, Ghost and plain HTML.
- Dark mode. Choose light, dark, or automatic, which follows the visitor's system setting.
- Fair use. Each visitor's browser makes one small request. Very busy sites (over a million views a month) should contact us first.
For your own scripts and servers, use the plain-text and JSON endpoints described on the command line and JSON page.
Frequently asked questions
Is the widget really free?
Yes. There is no account, no key and no fee. We only ask that you keep the credit link.
Does the widget work with a Content Security Policy?
Yes, if your policy allows scripts from findmyiplocation.com and connections to it (script-src and connect-src).
Can I change the colors or size?
Choose a theme and a width in the settings above. The widget fills the width of the element you place it in, up to the maximum you choose.
Does it show the same IP for every visitor?
No. Every visitor sees their own address, because the widget asks our server from the visitor's browser.
Other free IP and network tools
IP Lookup
Location, network owner and ASN of any IP address or domain.
ISP Lookup
See which internet provider your connection, or any IP address, belongs to.
VPN Leak Test
One-click check of your VPN: IP, IPv6, WebRTC, timezone and language leaks.
VPN & Proxy Check
Find out if an IP belongs to a VPN, proxy or Tor exit node.
Open Port Checker
Test whether a port on your connection is open to the internet.
Online TCP Ping
Measure how fast a server answers on a port, from our worldwide network.
Blacklist Check
Test an IPv4 address against 20+ spam blacklists.
DNS Lookup
A, AAAA, MX, NS, TXT, CNAME, SOA and CAA records of a domain.
DNS Propagation Checker
Compare a DNS record across 13 public resolvers at once.
Website IP Lookup
Find the IP addresses, hosting company and CDN of any website.
Reverse DNS
Find the hostname behind an IP address.
WHOIS Lookup
Owner and registration data for a domain or IP address.
Domain Age Checker
How old a domain is, when it was registered and when it expires.
SPF, DKIM & DMARC Checker
Check and generate the email authentication records of a domain.
Email Header Analyzer
Trace where an email came from and check SPF, DKIM and DMARC.
SSL Certificate Checker
Expiry date, issuer and covered names of a website certificate, plus HTTPS checks.
HTTP Headers Checker
See redirects, response headers and a security grade for any URL.
Is It Down?
Check if a website is down for everyone or just for you.
Subnet Calculator
Network, broadcast, host range and subnets for IPv4 and IPv6.
IP Converter
Convert IPs to decimal, hex and IPv6, and CIDR blocks to address lists.
Bulk IP Lookup
Look up to 25 IP addresses at once and export the results as CSV.
Browser Fingerprint
See what your browser shares with every site you visit.
WebRTC Leak Test
Check if your real IP leaks past your VPN through WebRTC.