PublicIP.show

Your public IP address, hostname, port, and connection details at a glance.

PublicIP.show shows your public IP address and connection details the moment you open it. It works in a browser and from the command line, making it useful for network diagnostics, scripting, and checking what information your connection exposes to the outside world.

🔎

Full Connection Details

See your IP address, hostname, source port, accepted encodings, IP decimal value, and user agent string — all on a single page with no login or setup required.

💻

curl-Friendly

Works directly from the command line. Each data point has its own endpoint, so you can pull just the value you need without parsing a larger response.

📄

JSON Support

The /json endpoint returns your connection details as a machine-readable JSON object, useful for scripts and tools that need structured data.

🚫

No Frills

No accounts, no tracking, no ads. Just your connection information, presented clearly.

Browser Access

Visit publicip.show in any browser to see your public IP and full connection details immediately.

API Endpoints

Use it from the terminal or in scripts:

# Plain text IP address
curl publicip.show

# All details in plain text
curl publicip.show/all

# JSON response
curl publicip.show/json

Individual endpoints return a single value each:

EndpointReturns
/ipPublic IP address
/hostHostname (reverse DNS)
/portSource port
/user-agentUser agent string
/encodingAccepted encodings
/languageAccepted languages

PublicIP.show is free to use. Visit publicip.show