IP Address Converter
Convert an IP between dotted, integer, hex and binary forms, expand or compress IPv6, see IPv4-mapped forms, PTR names and its special range.
An IP address is just a number: 32 bits for IPv4, 128 for IPv6. Databases, logs, firewalls and threat feeds write it in different ways (192.168.1.1, 3232235777, 0xC0A80101, ::ffff:192.168.1.1), and IPv6 has a short and a long form of every address. Paste any of them to see all the others, the reverse-DNS (PTR) name, and which special range the address belongs to. Legacy forms like 127.1 or 0300.0250.1.1 are decoded the way ping and browsers read them.
Examples: 192.168.1.10/24, 3232235777, 0xC0A80101, 2001:db8::1, ::ffff:10.0.0.1
192.168.1.10/24
Private (RFC 1918, 192.168.0.0/16)
| Dotted decimal | 192.168.1.10 | |
|---|---|---|
| 32-bit integer | 3232235786Databases and some firewalls store addresses this way. | |
| Hex | 0xC0A8010A | |
| Dotted hex | 0xC0.0xA8.0x01.0x0A | |
| Dotted octal | 0300.0250.01.012 | |
| Binary | 11000000.10101000.00000001.00001010 | |
| IPv4-mapped IPv6 | ::ffff:192.168.1.10Compressed hex form: ::ffff:192.168.1.10. How dual-stack servers log IPv4 clients. | |
| 6to4 prefix | 2002:c0a8:010a::/48 | |
| NAT64 (64:ff9b::/96) | 64:ff9b::192.168.1.10 | |
| Reverse DNS (PTR) name | 10.1.168.192.in-addr.arpa |