IP Address Converter
Paste an IPv4 or IPv6 address — or a plain number like 3232235777 — to see it in every common format.
Runs in your browser — nothing is uploadedExamples: 8.8.8.8 · 2001:db8::1 · 3232235777 · 0xC0A80101
How to use IP Address Converter
- Enter an IPv4 address, an IPv6 address, or an integer / hex value.
- Read all formats, the address type and the reverse DNS name.
- Copy any value with one click.
Questions
How do I convert an IP address to a number?
Treat the four octets as base-256 digits: a.b.c.d = a×16,777,216 + b×65,536 + c×256 + d. 192.168.1.1 is 3,232,235,777.
What does IPv6 compression do?
Leading zeros in each group are dropped and the longest run of all-zero groups is replaced with “::” (RFC 5952). 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1.