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.
Decimal 192.168.1.1
Binary 11000000.10101000.00000001.00000001
Hex 0xC0A80101
Octal 030052000401
Integer 3232235777
Dotted decimal
—
—
Integer (uint32)
—
a·16777216 + b·65536 + c·256 + d
Hexadecimal
—
8 digits · 0x…
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.