About the IP Address Converter
An IPv4 address such as 192.168.1.1 is really one 32-bit number, written as four 8-bit parts for people. This IP address converter shows that same address in every common form: dotted decimal, a single decimal number, hexadecimal (0xC0A80101), dotted hexadecimal, octal and binary, both as 32 digits and as four groups of 8. You can type an address in any of these forms and get the others. It also tells you the address class and whether it is a private, loopback, link-local, multicast or public address, which is handy for networking homework, firewall rules and debugging.
Updated October 2026
How to use the IP Address Converter
- 1Type an IPv4 address, or a number that stands for one.
- 2Use a dotted address, a decimal such as 3232235777, hex like 0xC0A80101, or 32 binary digits.
- 3Read the dotted, decimal, hex, octal and binary forms.
- 4Check the class and address type below the main result.
- 5Copy the line to paste into notes or code.
Address classes at a glance
- Class A: first part 1 to 126, for very large networks.
- Class B: first part 128 to 191.
- Class C: first part 192 to 223, common for small networks.
- Class D: 224 to 239, multicast.
- Class E: 240 to 255, reserved for experiments.
Special addresses worth knowing
127.0.0.1 is the loopback address that always means this computer. Addresses starting 169.254 are link-local and show up when a device cannot get an address from a router. 255.255.255.255 is the limited broadcast address, and 0.0.0.0 usually means an unspecified or default address. Classes are a historical idea, and modern networks use CIDR prefixes instead.
Related tools
Use the IP Subnet Calculator to work out network ranges and masks, the Number Base Converter for other binary and hexadecimal conversions, the Binary and Hex Calculator for arithmetic, and the What Is My IP tool to see your own address. This converter only changes how an address is written and does not look anything up online.
Features
- Dotted decimal, decimal integer, hex, octal and binary
- Dotted hex and dotted binary views
- Accepts any of those forms as input
- Address class A to E
- Private, loopback, link-local, multicast and public detection
- Clear errors for parts above 255
- Runs in your browser
Frequently asked questions
How do I convert an IP address to a decimal number?
Multiply each part by 256 raised to a power and add: first part times 16,777,216, second times 65,536, third times 256, plus the fourth. For 192.168.1.1 that is 192 x 16,777,216 + 168 x 65,536 + 1 x 256 + 1, which equals 3,232,235,777.
How do I convert an IP address to binary?
Convert each of the four parts to an 8-digit binary number and join them. 192 is 11000000, 168 is 10101000, 1 is 00000001 and 1 is 00000001. So 192.168.1.1 is 11000000.10101000.00000001.00000001.
Why would an address be written as a single number?
Computers store the address as one 32-bit integer, and some programs, databases and logs keep it that way because comparing and sorting numbers is quick. Browsers also accept some of these forms in the address bar, which is why attackers sometimes disguise links with them.
What are private IP addresses?
They are ranges reserved for use inside home and company networks and not routed on the public internet: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, and 192.168.0.0 to 192.168.255.255. The tool tells you when an address falls in one of them.
What is the range of an IPv4 address?
From 0.0.0.0 to 255.255.255.255, a total of 4,294,967,296 addresses. Each of the four parts is 0 to 255. Numbers outside that range, or parts above 255, are rejected with a message.
Does this work for IPv6?
No. This tool is for IPv4. IPv6 addresses are 128 bits long and use hexadecimal groups separated by colons, which need a different converter.