Skip to main content

IP Address Converter

Convert IPv4 addresses between dotted-decimal, binary, hexadecimal, and integer formats.

Octet Breakdown

OctetDecimalBinaryHexadecimal
119211000000C0
216810101000A8
310000000101
410000000101

About IP Address Formats

Every device connected to the internet has an IPv4 address, a 32-bit number split into four octets ranging from 0 to 255. The most common representation is dotted-decimal (e.g. 192.168.1.1), but the same address can be expressed as a single integer, a binary string, or a hexadecimal value. Each format serves a different purpose in networking.

Binary notation is essential for understanding subnetting and network masks, where individual bits determine network vs. host boundaries. Hexadecimal is commonly used in packet captures, firewall logs, and low-level programming. The integer form appears in databases, access control lists, and certain programming APIs that store addresses as a single 32-bit unsigned value.

This tool converts between all four formats instantly. Enter an address in any field and the other three update automatically. The octet breakdown table shows each position's value across all representations, color-coded for quick reference.

Frequently Asked Questions

What is an IPv4 address?

An IPv4 address is a 32-bit number that uniquely identifies a device on a network. It is written as four octets separated by dots, where each octet ranges from 0 to 255. The full address space runs from 0.0.0.0 to 255.255.255.255, providing roughly 4.3 billion unique addresses.

Why convert an IP address to binary?

Binary representation reveals the individual bits of each octet, which is essential for understanding subnetting, network masks, and bitwise operations. When you need to determine which bits belong to the network portion versus the host portion, binary makes the boundary visible at a glance.

What is the decimal (integer) form of an IP address?

The decimal form represents the entire IPv4 address as a single 32-bit unsigned integer, ranging from 0 to 4294967295. This compact format is used in databases, programming APIs, access control lists, and anywhere a single numeric value is more convenient than four separate octets.

How does hexadecimal IP notation work?

In hexadecimal notation, each octet is represented as two hex digits (00 to FF). For example, 192 becomes C0 and 168 becomes A8. This format is commonly used in network packet analysis, firewall logs, and low-level programming because it maps directly to the underlying binary with fewer characters.

What is the difference from the Number Base Converter?

The Number Base Converter handles arbitrary numbers in any base (binary, octal, decimal, hex). This IP Address Converter is purpose-built for IPv4: it understands octet structure, validates addresses against the 0-255 range per octet, formats output with octet separators, and provides a per-octet breakdown table.