🌐 Check Your IP Address
See what your public IP address is:
Detecting your IP address…
About IP Addresses
- Public IP: The address websites see when you connect to them
- Private IP: Your local network address (192.168.x.x, etc.)
- This tool shows your public IP address only
- Your IP can change when you reconnect to the internet
How it works: We use a free service to detect your public IP address. No personal information is stored.
Note: This tool only shows YOUR IP address. It cannot check other people’s IPs.
Features:
- Automatic IP Detection:
- Fetches your public IP address on page load
- Uses the free ipify API service
- Refresh Functionality:
- Button to manually refresh your IP address
- Visual Design:
- Modern gradient background
- Clean card-based layout
- Responsive design for all devices
- Loading and error states
- Educational Information:
- Explanation of what IP addresses are

How It Works:
- When the page loads, it automatically calls the ipify API
- The API returns your public IP address in JSON format
- The IP is displayed in the main container
- You can refresh the IP by clicking the button
Important Notes:
- This shows your public IP address (what websites see)
- It does not show your private/local IP address (like 192.168.x.x)
- Uses a free third-party service (ipify.org)
- Requires internet connection to work
- No server-side code needed – works entirely in the browser
To Use:
- Save this code as an .html file
- Open it in any web browser
- Your IP address will appear automatically
- Click “Refresh IP” to update the address
The IP address displayed is the one visible to external websites and services – your public internet identifier assigned by your ISP.