IP to Binary Converter

Convert any IPv4 address into its dotted binary form instantly. Paste one address or many — each octet is zero-padded to 8 bits and results appear line by line.

IPv4 address(es)

Enter one IPv4 address per line in dot-decimal notation.

Example: 192.168.0.1. Everything runs locally in your browser — nothing is uploaded.

Binary outputEach IPv4 address converted to dotted 8-bit binary notation.

0 lines in0 lines outN/A runtime

Hundreds of addresses convert in under 1ms on modern browsers.

How to convert IP to binary

Convert in 3 steps

Takes ~5 seconds
  1. 1
    Paste your addresses

    Enter one or more IPv4 addresses in dot-decimal format, one per line.

  2. 2
    Click Convert to Binary

    Each address is split into four octets and each octet is converted to an 8-bit binary string.

  3. 3
    Copy the results

    Copy the dotted binary output for use in networking tools, studies, or documentation.

Invalid lines are flagged individually — valid lines on the same input still convert successfully.

Who should use this tool?

  • Network engineers analyzing subnets and routing tables
  • Students learning binary IP addressing and CIDR notation
  • Security analysts inspecting packet data and access control lists

Examples

Convert a common private network address to binary.

Input
192.168.0.1
Output
11000000.10101000.00000000.00000001

Convert a subnet mask with all 255 octets and a zero octet.

Input
255.255.255.0
Output
11111111.11111111.11111111.00000000

Convert a loopback address to its binary representation.

Input
127.0.0.1
Output
01111111.00000000.00000000.00000001

About IP to binary conversion

IPv4 addresses are fundamentally 32-bit numbers. Converting them to binary reveals how routers, firewalls, and operating systems actually process addressing and subnetting decisions.

This IP to binary converter transforms dot-decimal IPv4 addresses into dotted binary notation instantly. Each of the four octets is independently converted to a zero-padded 8-bit binary string and rejoined with dots, making subnet masks, network classes, and CIDR prefixes immediately visible. Use it alongside the binary to IP converter or IP to hex converter for complete IP format workflows.

Accurate 8-bit octets

Each octet is zero-padded to exactly 8 binary digits, including octet 0.

  • Zero-padded to 8 bits
  • Handles full range 0–255
  • Dotted notation preserved
Bulk conversion

Process multiple IPv4 addresses at once, one per line, in original order.

  • Multi-line input
  • Line order preserved
  • Per-line error reporting
Private by default

All conversion logic runs in your browser with no server calls.

  • No data uploaded
  • Works offline
  • Instant results
Privacy first: we never send your input to a server. Everything runs locally in your browser.

Conversion tips

Get reliable binary output every time by following these guidelines.

  • Use standard dot-decimal format (four octets separated by dots) — no CIDR prefix or port numbers.
  • Paste a list of addresses to convert in bulk and keep results in the original order.
  • Cross-check against the binary-to-IP converter to verify your results are reversible.

Frequently asked questions

Why is octet 0 shown as 00000000 instead of just 0?>
Each octet is always zero-padded to exactly 8 binary digits to preserve the full 32-bit structure of an IPv4 address. This is required for correct subnet mask calculations and CIDR analysis.
What happens if I enter an IP address with an octet outside 0–255?>
The tool reports that specific line as invalid and skips it. All other valid lines in the same input are still converted and displayed in order.
Can I convert IPv6 addresses with this tool?>
No — this tool handles IPv4 dot-decimal addresses only. IPv6 uses 128-bit hexadecimal notation and requires a separate conversion tool.
How do I use the binary output to identify the network and host portions of an address?>
Convert both the IP address and its subnet mask to binary, then align them. The bits where the subnet mask shows 1 represent the network portion; the remaining bits represent the host portion.

Related IP tools

32-Bit Binary to IP Converter

Convert 32-character binary strings to IPv4 dot-decimal addresses instantly. Paste one or more lines and get results in your browser.

Binary to IP Converter

Convert dotted binary IPv4 addresses to dot-decimal notation instantly. Paste one or more binary IPs and get results in your browser.

Count IPs in Given Range

Count how many IPv4 addresses exist between two endpoints. Paste start and end IPs to get the total. In your browser.

Hex to IP Converter

Convert hexadecimal IPv4 addresses to dot-decimal notation instantly. Accepts dotted hex like C0.A8.00.01 or a single hex value like C0A80001 / 0xC0A80001.

Integers to IPv4 Dot-Decimal IPs

Convert integer IP values to IPv4 dot-decimal format. Paste one integer per line and get IPs instantly. In your browser.

IP Address Sorter

Sort a list of IPv4 addresses from lowest to highest. Paste IPs and get sorted output instantly. Works fast in your browser.

IP to 32-Bit Binary Converter

Convert any IPv4 address to a 32-character binary string instantly. Paste one or more IPs and get the full 32-bit binary output in your browser.

IP to Hex Converter

Convert IPv4 addresses to hexadecimal instantly. Choose dotted (C0.A8.00.01), contiguous (C0A80001), or 0x-prefixed output. Fast, free, browser-based.

IPv4 Dot-Decimal IPs to Integers

Convert IPv4 dot-decimal addresses to integer format. Paste one IP per line and get numeric output instantly. In your browser.

Random IP Generator

Generate a list of random IPv4 addresses. Enter how many IPs you need and get them instantly. Works fast in your browser.