4Internet / ip subnet

IP Address Converter

Convert one IPv4 or IPv6 address among canonical text, expanded, hexadecimal, binary, and integer forms.

Local · exact numeric value

Convert an IP address

IPv4 or IPv6

Returns canonical, expanded, hexadecimal, binary, and exact unsigned-integer representations.

A practical guide

How to use IP Address Converter

Inspect the same IP address as canonical text, expanded text, hexadecimal bytes, binary bits, and an unsigned decimal integer. This makes address storage formats and IPv6 compression easier to compare.

  1. Enter one IPv4 or IPv6 address in ordinary address notation. The input field does not accept a decimal integer, port, or CIDR.
  2. Convert the address and compare the representations. Each output preserves the same numeric value.
  3. Copy the representation expected by the receiving system, keeping the IP version and byte order explicit.

Worked example

Illustrative input and expected interpretation. This example is not a live measurement.

Input

192.0.2.1

What to expect

Family: IPv4
Canonical text: 192.0.2.1
Packed hexadecimal: c0000201
Binary: 11000000000000000000001000000001
Unsigned integer: 3221225985

What to watch for

  • A long IPv6 integer can exceed a programming language or spreadsheet number range. Preserve the returned decimal text exactly.
  • Different IPv6 spellings can identify the same address. Text equality alone is not a reliable IP comparison.

Your input: submitted to this server for processing. This tool does not send it to an AI provider. Your input is processed for this request. Temporary processing files are removed afterward. Avoid pasting secrets or personal data.

References