Skip to main content
>_devtools

IPv4 Integer, Hex, Binary & Octal Converter

Convert an IPv4 address to or from a 32-bit integer, hexadecimal, binary or octal representation.

What this does

Convert an IPv4 address to decimal, hexadecimal, binary and octal, or convert one of those numeric forms back to dotted decimal. Choose an input format or use auto-detection.

Example

192.0.2.1
Decimal: 3221225985
Hex: 0xC0000201

Limits and behavior

  • Values must fit in an unsigned 32-bit integer.
  • Leading-zero dotted octets are treated as decimal unless octal input is selected.