What Is My IP Address?

Your public IP address and approximate location, as seen by websites you visit.

Your IP address
Looking up…

A note on domain (WHOIS) lookups

A true domain WHOIS lookup needs a small server-side component — browsers can't query WHOIS registries directly for security reasons, unlike the IP lookup above which uses a public API designed for this. This is worth adding once the site has a real backend or a serverless function; it's a good "phase 2" addition rather than something to force into a pure static site.

How this works, and its limits

This page calls a free public API (ipapi.co) from your browser to ask "what IP is this request coming from." It's genuinely useful and accurate for a casual check, but free tiers on these APIs usually cap the number of daily lookups — worth knowing if this tool gets popular, since you may eventually need a paid tier or a different provider.

If you're testing by double-clicking the file: this specific page won't work, because browsers block this kind of external request from a page opened directly off your computer (a file:// address). Every other calculator on this site works fine that way — this is the one exception, since it's the only one that needs to reach the internet. It works correctly once the site is served by an actual web server, including a local test server or the live site.