Code tool

IPv4 Address Converter

Check an IPv4 address and see its exact dotted decimal, binary, hexadecimal, and unsigned integer representations instantly.

In-browser processingNo account requiredPrivacy details ↗

A QUICK WALKTHROUGH

How to use this tool

  1. Choose an input format and enter one IPv4 value.
  2. Select Convert and review the validation message.
  3. Copy any representation you need for networking, code, or documentation.

Four exact representations

Dotted decimal uses four octets from 0 through 255. Binary uses four 8-bit groups. Hexadecimal uses an optional 0x prefix and up to eight hexadecimal digits. The integer form is an unsigned value from 0 through 4,294,967,295.

Strict validation

The converter rejects missing groups, out-of-range octets, malformed digits, signs, fractions, separators, and values outside the 32-bit IPv4 range. Leading zeroes in decimal octets are accepted.

Local browser processing

Parsing, conversion, copying, and download preparation happen in your browser. The address is not sent to a server or used to perform a network request.

GOOD TO KNOW

Common questions

Does this look up the address?

No. It only validates and converts the text you enter; it never performs DNS, geolocation, or network requests.

Can I enter hexadecimal with 0x?

Yes. The 0x prefix is optional, and the value must contain one to eight hexadecimal digits.

Is the integer signed?

No. It is an unsigned 32-bit integer from 0 to 4,294,967,295.

Are binary groups required to be eight bits?

Yes. Binary input uses four groups separated by periods, with exactly eight 0 or 1 characters per group.