Embeddable IP Widget
Display your visitors' IP address directly on your website with a simple copy-paste.
Live preview
Theme
Language
Embed code
Copy this HTML code and paste it into your web page wherever you want the widget to appear.
HTML
<div data-monip-widget data-theme="dark" data-lang="fr"><a href="https://mon-ip.dev/">mon-ip.dev</a></div>
<script src="https://mon-ip.dev/widget.js" async></script>
Available attributes
AttributeValuesDefault
data-themedark, lightdarkdata-langfr, en, es, it, defrHow to use it
01
Copy the code
Copy the embed code above. You can customize the theme (dark/light) and the language.
02
Paste into your site
Insert the code into your page's HTML wherever you want the widget to appear.
03
That's it!
The widget automatically loads the visitor's IP address. No external dependencies required.
Get your IP from the terminal
Use our API or the curl command to integrate mon-ip.dev into your scripts.