For website owners
Embed your own IP widget
Give visitors a simple way to see their public-facing IP address. No account, API key or third-party JavaScript library is required.
Live preview
The preview makes a lookup only after a visitor clicks Show my IP. Local development honestly reports unavailable when the edge has no public IP.
Embed code
Copy this HTML into your website. The widget runs inside an isolated iframe and does not expose lookup results to the parent page.
Privacy & compatibility
Loading the iframe contacts InspectMyIP's hosting provider. The IP request requires a click. The widget does not use our browser analytics, advertising or local history. Tell visitors that the widget is an external embed and review your own site's privacy notice.
