IP Address Converter: Decimal, Hex, Binary and Octal

Convert an IPv4 address to decimal, hex, binary and octal, or turn an integer back into a dotted IP address.

About IP Address Converter: Decimal, Hex, Binary and Octal

Convert an IPv4 address to its integer, hexadecimal, binary and octal forms, or turn an integer back into dotted notation. Useful when reading firewall rules, IP range math, log formats and network configuration written in different bases.

Each dotted octet is 0 to 255, and the integer form is the same 32-bit value.

How to use it

  1. Enter a dotted IPv4 address, or a decimal or 0x hex number.
  2. Read the converted forms.
  3. Copy the value you need.

Questions

Is my text uploaded?

No. Everything runs in your browser; nothing you type or generate is sent to a server.

Does this support IPv6?

Not yet. It converts IPv4 addresses and 32-bit integers.

How is the integer calculated?

Each octet is multiplied by its place value: first octet × 16777216 + second × 65536 + third × 256 + fourth.

More Network & Internet tools

Home · All Tools · Blog