Skip to content
Tezmy Tools

IP to Binary Converter

Convert a list of IPv4 addresses to binary

3 addresses converted.

Runs in your browser. Nothing is uploaded.

About the IP to Binary Converter

An IPv4 address is really a 32-bit number, written for people as four decimal parts. Network classes, subnet masks and routing rules are easiest to understand in binary, where each part becomes eight bits. This tool converts addresses to binary: paste one address per line and read the 32 bits, with or without dots between the four bytes. For example 192.168.1.1 becomes 11000000.10101000.00000001.00000001. Lines that are not valid addresses are flagged. It works in your browser and nothing is uploaded.

Updated October 2026

How to use the IP to Binary Converter

  1. 1Paste your IPv4 addresses into the left box, one per line.
  2. 2Choose whether to show dots between the four bytes.
  3. 3Read the binary on the right.
  4. 4Check the note for any lines that could not be read.
  5. 5Copy the result or download it.

Why binary helps with IP addresses

Subnetting is done on bits. A mask of 255.255.255.0 is 24 ones followed by eight zeros, and an address is in a network when its first 24 bits match. Seeing the addresses in binary makes these rules visible instead of abstract.

The list mode is useful for checking a whole block of addresses at once.

    Reading the output

    Each group of eight digits is a byte, from 00000000 for 0 to 11111111 for 255. The dotted form keeps the four bytes apart for easy reading; the plain form is the full 32-bit string.

    • 0.0.0.0 → all zeros
    • 255.255.255.255 → all ones
    • 10.0.0.255 → 00001010.00000000.00000000.11111111

    Related conversions

    For decimal, hex and octal forms of one address, use the IP Address Converter. To sort a list of addresses in numeric order, use the Sort IP Addresses tool.

      Examples

      The address 10.0.0.255 becomes 00001010.00000000.00000000.11111111, which shows that the last byte is all ones. The address 255.255.255.0, often used as a subnet mask, becomes three bytes of ones followed by a byte of zeros. A list of addresses is converted line by line.

      Addresses may also be typed as a decimal number or in hex; the tool reads them first and then writes binary.

        Phone and computer

        On a phone, paste into the box, adjust the dots option, and tap Copy to carry the result into another app. On a computer you can also download it as a file. The two boxes sit side by side on a wide screen and one above the other on a narrow one, so you can compare input and result without zooming. Nothing you paste is uploaded or stored.

          Good to know

          The binary is exactly 32 digits for every valid address, with leading zeros kept so each byte is eight digits. A line that is empty stays empty in the output, which keeps the lines aligned with your input. Addresses typed with leading zeros in a part are read as plain decimal numbers. To see how a prefix splits an address, use the IP Subnet Calculator, and the IP to Decimal Converter shows the same address as one number.

            Features

            • Many addresses at once
            • With or without dots between bytes
            • Flags invalid addresses
            • Accepts decimal, hex and binary input forms
            • Copy or download
            • Private: nothing is uploaded

            Frequently asked questions

            How do I convert an IP address to binary?

            Write each of the four numbers as eight binary digits. 192 is 11000000, 168 is 10101000, 1 is 00000001 and 1 is 00000001. The tool does this for every line.

            What is 192.168.1.1 in binary?

            11000000.10101000.00000001.00000001, or the same 32 digits without dots.

            Why convert an IP to binary?

            To work with subnet masks and network boundaries, which are defined by bits. Seeing the bits shows where the network part ends.

            Can I convert binary back to an IP?

            Yes. The IP Address Converter on this site reads binary and shows the dotted form.

            What happens with invalid addresses?

            A part above 255, or text that is not an address, is flagged with a message and the other lines are still converted.

            Is my list uploaded?

            No. The conversion happens in your browser.

            Related tools