IP to Decimal / Hex / Binary

Convert an IPv4 address to its integer, hex and binary forms, and back.

What you provide

Result

192.168.0.1 = 3232235521

The integer is the address read as one 32-bit number. It is how addresses are stored and compared internally, and what appears in some log formats and database columns.

The same address, one bit at a time

Binary

11000000101010000000000000000001

192.168.0.1

  • 32 bits = 3,232,235,521 as one number
Diagnostic telemetry
Dotted decimal
192.168.0.1
Integer
3232235521
Hexadecimal
0xC0A80001
Binary
11000000.10101000.00000000.00000001

What this cannot tell you

  • Arithmetic on the value you enter. It does not check whether the address is valid, routable or in use.
  • IPv4 only. IPv6 uses 128-bit addresses and is handled by the IPv6 tools.

Take this with you

IP to Decimal / Hex / Binary on RunTheTests — free browser-based netmath tools, no sign-up.