IP Address Converter
Convert IPv4 addresses between dotted-decimal, binary, hex, and integer. Paste any format and see all the others.
Why these conversions matter
An IPv4 address is just a 32-bit number. Humans write it in dotted-decimal because four numbers from 0 to 255 are easier to remember than ten-digit integers. But computers think in binary, network engineers sometimes work in hex, and ACL/route entries occasionally show up as raw integers in logs.
Quick reference for what each format looks like:
| Format | Example for 192.168.1.1 |
|---|---|
| Dotted decimal | 192.168.1.1 |
| 32-bit integer | 3232235777 |
| Hex | 0xC0A80101 |
| Binary (dotted) | 11000000.10101000.00000001.00000001 |
| Binary (flat) | 11000000101010000000000100000001 |
Where you'll actually run into these
- Hex shows up in router config files, packet captures, and some firewall rule formats.
- Integer form appears in databases that store IPs as a 4-byte BIGINT (faster range queries than text comparison).
- Binary is essential for understanding subnet masks — you can't really "get" why a /27 has 32 addresses without seeing the host bits in binary.
