Embed

Put a Live IP Widget on Your Site

One line of code. No signup, no tracking.

Live preview

Light
Dark

Copy the code

<script src="https://myipspot.com/widget.js" data-theme="auto" async></script>

Paste it where you want the widget to appear. It takes the full width of its container and is 112 pixels tall. The script also adds a small "IP lookup by MyIPSpot" link just below it.

No script? Use plain HTML

<iframe src="https://myipspot.com/widget/?theme=auto" title="Your IP address (MyIPSpot widget)" loading="lazy" allow="clipboard-write" style="display:block;width:100%;height:112px;border:0;background:transparent"></iframe>
<a href="https://myipspot.com/" rel="nofollow" style="font-size:12px;color:#64748b">IP lookup by MyIPSpot</a>

If your site doesn't allow third-party scripts, paste this instead. It shows the same widget in a frame, with the credit link written out in plain HTML. To fix the theme, change theme=auto in the address to theme=light or theme=dark.

Options

data-themeWhat it does
autoDefault. Follows the visitor's light or dark system setting.
lightAlways light: white card, dark text.
darkAlways dark: slate card, light text.

Frequently asked questions

Paste the snippet into your page's HTML where you want the widget to appear. It works in any site builder or CMS that lets you add custom HTML. The widget fills the width of its container and is 112 pixels tall, with a one-line credit link below it.

More network tools