IP address converter (hex/dec/binary)
Convert an IPv4 address between dotted, decimal (DWORD), hexadecimal and binary.
Related tools
IP address converter (hex/dec/binary)
An IPv4 address is just a 32-bit number wearing four dots. 192.168.0.1 is also the integer 3232235521, the hex value 0xC0A80001 and the binary string 11000000.10101000.00000000.00000001 — the same thirty-two bits, written four ways. This tool converts freely between all of them: paste any form and get the other three, instantly.
The DWORD (decimal integer) form is the one you meet in surprising places — a shortened URL like http://3232235521/ resolves to 192.168.0.1, log formats sometimes store addresses as integers, and databases often keep them as a single number for fast range queries. The hexadecimal form turns up in packet dumps, router configs and firmware. The binary form is how subnetting actually works, one bit at a time. Being able to flip between them is a routine part of network debugging and a recurring puzzle-hunt and CTF trick.
The input format is auto-detected — a dotted string, a plain integer, an 0x-prefixed or bare hex value, or a 32-bit binary run — with a manual override for the ambiguous cases, since a short number like "10" could be read as decimal or binary. Every conversion validates: octets must be 0–255, the integer must fit in 32 bits, hex must be at most eight digits. Junk input returns a calm explanation rather than a wrong answer.
Everything runs locally in your browser — the addresses you convert never leave your device.