Convert any IPv4 address into its 32-bit integer, binary, hexadecimal and octal forms, or paste an integer and get the dotted address back. Useful for reading firewall logs, database fields and the occasional suspicious link.
- Dotted decimal
- —
- 32-bit integer
- —
- Hexadecimal
- —
- Dotted hexadecimal
- —
- Binary
- —
- Dotted binary
- —
- Octal
- —
- Dotted octal
- —
- Reverse DNS name
- —
- Type
- —
Why IP addresses have so many forms
Dotted decimal is for people. Under the hood an IPv4 address is a single 32-bit number, and every other form is just that number in a different base. Hexadecimal groups neatly into four bytes, which is why packet captures and firmware show it; binary is what subnet masks operate on; octal survives in a few old Unix tools. Browsers accept all of them, so http://3232235777, http://0xC0A80101 and http://192.168.1.1 all reach the same router.
For working out network boundaries from these numbers, use the subnet calculator. The special and private ranges the Type field reports are explained on the IP addresses page.