BinTxt

Binary IP Calculator

Instantly convert IPv4 to Binary strings or reverse Binary to IP addresses with a minimalist, 4-octet interactive visualizer.

IPv4 → BINARY BINARY → IPv4
IPv4 Input
Binary Output

The IPv4 Binary Network Guide

Understanding how IP addresses break down into 32 bits of binary data for subnetting and routing.

1. What is an IPv4 Address?

An IPv4 address is technically a single 32-bit number. To make it readable for humans, we split this massive 32-bit string into four 8-bit chunks called octets. We convert each 8-bit chunk into a decimal number, and separate them with a dot. This format is called "dotted-decimal notation."

2. How the Visualizer Works

When you input an IP address like 192.168.1.1, our script splits the string by the periods. It then converts each of those decimal numbers into an 8-bit padded binary string. For example, 192 becomes 11000000.

This layout is extremely useful for calculating subnet masks, network addresses, and broadcast addresses when learning networking (CCNA, Network+, etc).

3. Common Class Subnets

Class Subnet Mask Binary Representation
A255.0.0.011111111.00000000.00000000.00000000
B255.255.0.011111111.11111111.00000000.00000000
C255.255.255.011111111.11111111.11111111.00000000