BYTETOOLS

IP to Binary Converter

Convert IPv4 and IPv6 addresses to binary with a per-octet bit table, and turn 32-bit binary back into an IP. Free, instant and fully in your browser.

Binary form

11000000.10101000.00000001.00000001

Per-octet breakdown

OctetDecimal1286432168421
#119211000000
#216810101000
#3100000001
#4100000001

What is the IP to Binary Converter?

The IP to Binary Converter shows any IP address as raw bits. IPv4 addresses become four 8-bit octets with a positional table (128, 64, 32, 16, 8, 4, 2, 1) so you can see exactly how 192 = 11000000.

  • IPv4 to dotted binary with a positional bit-value table
  • IPv6 support: per-hextet binary plus expanded and compressed forms
  • Reverse mode converts 32-bit binary back to dotted-quad IPv4
  • Accepts binary with dots, spaces or no separators
  • Validates every octet and hextet with specific error messages
  • 100% local conversion — works offline

How to use the IP to Binary Converter

  1. 1

    Choose the direction: IP address to binary, or binary to IPv4.

  2. 2

    Type an IPv4 address, an IPv6 address, or a 32-bit binary string.

  3. 3

    Read the dotted binary form and the per-octet or per-hextet breakdown table.

  4. 4

    Copy the binary or converted address with one click.

About the IP to Binary Converter

The IP to Binary Converter shows any IP address as raw bits. IPv4 addresses become four 8-bit octets with a positional table (128, 64, 32, 16, 8, 4, 2, 1) so you can see exactly how 192 = 11000000. IPv6 addresses are broken into eight 16-bit hextets, each shown in hex, decimal and binary alongside the expanded and compressed forms.

It also works in reverse: paste 32 bits of binary — dotted, spaced or continuous — and get the dotted-quad IPv4 address back. That makes it a handy study companion for subnetting, where reading addresses in binary is the skill everything else builds on.

The conversion is instant, needs no button press, and happens entirely in your browser. Nothing is uploaded, so you can use real infrastructure addresses freely.

Frequently asked questions

How do I convert an IP address to binary?

Convert each octet to 8 bits by checking which powers of two (128, 64, 32, 16, 8, 4, 2, 1) fit into it. 192 is 128+64, so 11000000. Doing this for all four octets of 192.168.1.1 gives 11000000.10101000.00000001.00000001 — the tool shows this table for any address.

What is 192.168.1.1 in binary?

192.168.1.1 is 11000000.10101000.00000001.00000001. Each dotted group is one octet: 192 = 11000000, 168 = 10101000 and 1 = 00000001.

Why does binary matter for subnetting?

Subnet masks, network addresses and broadcast addresses are all defined by bit boundaries, not decimal digits. A /26 boundary falls in the middle of the last octet, which only makes sense once you see the address in binary — that is why every subnetting course starts here.

Can this tool convert IPv6 addresses to binary too?

Yes. An IPv6 address is parsed into its eight 16-bit hextets — including :: compression and IPv4-mapped forms — and each hextet is shown in hex, decimal and 16-bit binary, along with the fully expanded address.

How do I convert binary back to an IP address?

Switch the direction to "Binary → IPv4", paste 32 bits (dots and spaces are fine), and the tool reads them as four 8-bit octets and prints the dotted-quad address. It will tell you exactly how many bits you are over or under if the count is wrong.

Related tools