Try: , ,
- IPv4
- 192.168.1.1
- Decimal
- 3232235777
- Hex
- 0xC0A80101
- Binary
- 11000000.10101000.00000001.00000001
- IPv4-mapped IPv6
- ::ffff:192.168.1.1
- IPv6 (hex form)
- ::ffff:c0a8:0101
How to use it
- Type an IPv4 address (192.168.1.1), a decimal integer (3232235777) or a hex value (C0A80101 or 0xC0A80101).
- Every other form appears instantly below.
- Copy the form you need.
What the result means
An IPv4 address is one 32-bit number. Dotted decimal just writes its four bytes separately:
- Decimal is that number as one integer. Databases often store IPs this way because ranges become simple comparisons.
- Hex writes each byte as two hex digits: 192.168.1.1 is C0 A8 01 01. You'll see this in packet dumps, log files and some config files.
- Binary shows the 32 bits, grouped by octet, which is how subnet masks work.
- IPv4-mapped IPv6 (::ffff:192.168.1.1) is how dual-stack software represents an IPv4 address inside an IPv6 socket. It's not a way to reach an IPv4 host over IPv6.
Frequently asked questions
How do I convert hex to an IP address?
Split the eight hex digits into four pairs and convert each pair to decimal. C0A80101 → C0, A8, 01, 01 → 192.168.1.1.
How do I convert an IP address to an integer?
Multiply each octet by 256 raised to its position: a × 16,777,216 + b × 65,536 + c × 256 + d. 192.168.1.1 is 3,232,235,777.
Can I convert IPv4 to IPv6?
There's no general conversion: they're different address spaces. The IPv4-mapped form ::ffff:a.b.c.d represents an IPv4 address inside IPv6 software, but your device still needs real IPv6 connectivity to reach IPv6 hosts.
Why does ping accept an IP as a single number?
Most systems, macOS included, parse an address with fewer than four parts the old BSD way, so ping 3232235777 pings 192.168.1.1. It's a common trick in phishing links, so be wary of numeric URLs.
What is 0xC0A80101?
192.168.1.1 written in hexadecimal. The 0x prefix just marks the number as hex; the converter accepts it with or without the prefix.