~/ curl ifconfig

What Is My IP Address?

The IP address below is what websites, APIs and remote SSH servers see when you connect. It is your public IP — the address assigned to your router or VPN exit by your ISP.

// your public ip

216.73.216.58

version: IPv4

Programmatic: GET /api/ip (JSON) or GET /api/ip.md (Markdown).

Public IP vs private IP

A public IP address is globally routable on the internet and is assigned to you by your Internet Service Provider. A private IP belongs to one of the reserved RFC 1918 ranges — 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 — and is only valid inside your local network. Your laptop or phone almost certainly has a private IP; the address you see above is the public IP of the router or VPN endpoint that talks to the wider internet on your behalf.

How NAT changes what you see

Most home and office networks use Network Address Translation: the router rewrites the source IP of outbound packets so every device on the LAN appears to come from the same public address. That is why every device behind your router shows the same value on this page. If you are connected through a VPN, the VPN exit node's IP is shown instead. If you are on cellular data, you may be behind Carrier-Grade NAT (CGNAT), which uses the 100.64.0.0/10 range internally before going public.

IPv4 vs IPv6

IPv4 addresses are 32 bits long and look like 203.0.113.42. IPv6 is 128 bits and looks like 2001:db8::1. IPv6 was standardised in 1998 (RFC 2460) to solve IPv4 address exhaustion. If your ISP supports IPv6, modern operating systems will prefer it (RFC 6724) — that is why this page may show an IPv6 address even if you can also reach IPv4 resources.

Need to script it?

Hit curl https://myconf.it from a shell and you get just the IP back as plain text — handy in shell scripts and CI pipelines. For structured output, use /api/ip (JSON) or /api/ip.md (Markdown).

[info]
Respecting your privacy: We don't track your activity, use advertising networks, or set marketing cookies. Just fast, clean, and free network tools. enjoy!