Code tool

Binary to IP Converter

Convert IPv4 text in either direction and copy the matching representation.

In-browser processingNo account requiredPrivacy details ↗

Enter one valid form.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter a dotted decimal IPv4 address or four 8-bit binary groups.
  2. Convert the value and review both representations.
  3. Copy the result you need.

Strict IPv4 forms

Decimal input must contain four octets from 0 through 255. Binary input must contain four groups separated by periods, with exactly eight 0 or 1 characters in each group.

String-safe conversion

The converter works octet by octet, preserving all eight binary positions without converting the address to a signed JavaScript integer.

Local processing

Validation, conversion, and copying happen in your browser. No address is uploaded or looked up.

GOOD TO KNOW

Common questions

Can I omit leading binary zeroes?

No. Every binary group must contain exactly eight bits.

Are decimal octets checked?

Yes. There must be exactly four whole-number octets, each from 0 through 255.

Does the tool look up the IP?

No. It only converts the text locally and makes no network request.