IP Converter
Paste a dotted IPv4, an integer (0–4294967295), hex (0x…) or 32-bit binary — it is auto-detected — and get every representation instantly. Nothing is sent to any server.
Per-octet breakdown
| Octet | Decimal | Binary | Hex |
|---|
How it is calculated · formats and ranges
1. An IPv4 is 4 octets of
8 bits each (a.b.c.d), i.e. a
32-bit unsigned integer.
2. Integer =
a·16777216 + b·65536 + c·256 + d. Valid range:
0 to 4294967295 (2³² − 1).
3. Each octet ranges from 0 to
255; in hex it is 2 digits and in binary
8 bits.
4. The hex of the full IP is
8 digits (0x…); the octal and
binary are derived from the same integer.
Runs locally in your browser · no sign-up · nothing leaves your browser.
How it works
The converter takes an IPv4 address in any of its forms and shows every representation at once: dotted decimal, binary grouped by octet, hexadecimal (0x…), octal and 32-bit unsigned integer, with an octet-by-octet breakdown in decimal, binary and hex. The input is auto-detected: you can paste 192.168.1.1, the integer 3232235777, the hex 0xC0A80101 or the 32 bits in binary.
The core idea is that an IPv4 address is simply a 32-bit integer: four 8-bit octets where integer = a·16777216 + b·65536 + c·256 + d, with a valid range from 0 to 4294967295 (2^32 − 1). All the other representations (8-digit hex, octal, binary) derive from that same integer by changing the numeric base.
Example: 192.168.1.1 in all its forms
- Integer:
192·16777216 + 168·65536 + 1·256 + 1 = 3,232,235,777. - Hexadecimal: each octet is 2 digits: 192 = C0, 168 = A8, 1 = 01, 1 = 01, so the full IP is
0xC0A80101. - Binary:
11000000.10101000.00000001.00000001. Pasting any of these forms into the tool returns the others instantly.
Frequently asked questions
Why does a URL like http://3232235777 open 192.168.1.1?
What is the valid integer range of an IPv4 address?
What is the difference between octal and decimal notation in an IP?
010.1.1.1 is interpreted as 8.1.1.1, because 010 in octal is 8. The tool shows the octal of the full IP integer so you can recognize that notation when it shows up.