UK’s trusted IT infrastructure partner since 2003
Servnet
ToolsConfiguratorGet in Touch

IP address converter

Convert an IPv4 address between dotted decimal, integer, hexadecimal and binary — edit any field and the rest update live, with public/private scope detection.

The familiar form — four octets, e.g. 192.168.1.1

32-bit unsigned, 0–4,294,967,295

0x + 8 hex digits

32 bits, grouped by octet

Private network · RFC 1918

Type into any box — the others convert instantly. Subnet calculator →

Network bits vs host bits1100000010101000000000010000000119216811Network (24 bits)Host (8 bits)
Address scopePrivate10/8 · 172.16/12 · 192.168/16CGNAT100.64/10Specialloopback · link-local · docPublicglobal unicast
Subnet CalculatorCIDR CalculatorSubnet Cheat SheetAll networking tools

IP conversion — common questions

How do I convert an IP address to binary?

Each of the four octets becomes 8 bits. 192.168.1.1 → 11000000.10101000.00000001.00000001. Type any form (dotted, integer, hex or binary) above and the others update instantly.

What is the integer form of an IP address?

An IPv4 address is really a single 32-bit number; the dotted form is just a readable way to write it. 192.168.1.1 = 3,232,235,777. Databases, firewalls and APIs often store and compare IPs as integers because range checks are simple arithmetic.

How do I convert an IP to hexadecimal?

Convert the 32-bit value to hex: 192.168.1.1 → 0xC0A80101. Hex appears in packet captures, IPv6 mappings and some configuration files. The converter shows the 0x form for any address.

Is the address public or private?

The converter flags it: private (RFC 1918), CGNAT (RFC 6598), loopback, link-local, documentation or public global unicast — so you instantly know whether an address is internet-routable.