Numbers & representations

IP Address Converter

Convert IPv4 and IPv6 to binary, hexadecimal, decimal or octal, and convert numeric representations back to addresses.

Stays in your browserFiles and text are processed in this tab.
IP Address ConverterLocal processing
Enter at least one value.

Numbers & representations

How it works

IPv4 has 32 bits; IPv6 has 128. An address is a sequence of network-order bytes. Decimal and hexadecimal output here represent that entire sequence, with the most significant byte first.

What you can do

Choose IP as the source for dotted IPv4 or colon-separated IPv6. For numeric input, choose IPv4 or IPv6 explicitly. Each line can be converted independently; the first address has a comparison panel.

How to use it

  1. Select the source and target representations. For numeric input, select the address family: IPv4 has 32 bits and IPv6 has 128.
  2. Paste one value per line or open a UTF-8 text file.
  3. Select Convert, inspect the result, then copy or download TXT. Changes clear old results. Undo restores your previous input and settings.

Errors and limits

IPv4 octets must be 0–255 with no leading zeros. CIDR suffixes and zone IDs are rejected. Binary and hex output retain the full address width. No location lookup, DNS resolution or network requests are performed.

Limits: 200,000 input characters, 500 values and 1,000,000 output characters. The entire batch stops on an invalid line.

Frequently asked questions

Why does the same decimal number give different IP addresses?

The selected family sets the width. Decimal 1 is 0.0.0.1 as IPv4 and ::1 as IPv6. Neither representation proves ownership, reachability or geographic location.

Are my values uploaded?

No. Processing and file reading happen in this browser tab. Values are not placed into URLs or sent to a conversion service. Downloaded files remain under your control.

Related tools