Developer / Network
IP Address Converter: IPv4 to Decimal, Hex, Binary, and IPv6
Convert an IPv4 address between dotted decimal, a single integer, hexadecimal, binary, and octal, see its IPv4-mapped IPv6 form and reverse DNS name, and find out whether it is private, public, or reserved.
IP Address Converter: IPv4 to Decimal, Hex, Binary, and IPv6: An IPv4 address is a 32-bit number: 192.168.1.10 is 192 × 256³ + 168 × 256² + 1 × 256 + 10 = 3,232,235,786, or 0xC0A8010A. The tool writes it in each notation, as ::ffff:192.168.1.10 for IPv6 systems, and as 10.1.168.192.in-addr.arpa for reverse DNS, and names its range: private, loopback, link-local, carrier-grade NAT, multicast, documentation, or public. Runs 100% locally in your browser with zero server file uploads.
- Category
- Developer tools
- Runs
- In your browser
- Cost
- Free · no sign-up
- Availability
- Ready to use
Runs entirely in your browser
| Dotted decimal | 192.168.1.10 | |
|---|---|---|
| Decimal integer | 3232235786 | |
| Hexadecimal | 0xC0A8010A | |
| Binary | 11000000.10101000.00000001.00001010 | |
| Octal (dotted) | 0300.0250.01.012 | |
| IPv4-mapped IPv6 | ::ffff:192.168.1.10 | |
| IPv4-mapped IPv6, hex | ::ffff:c0a8:010a | |
| Reverse DNS name | 10.1.168.192.in-addr.arpa |
An IPv4 address is one 32-bit number; the dotted form writes its four bytes in decimal. 192.168.1.10 is 192 × 256³ + 168 × 256² + 1 × 256 + 10 = 3,232,235,786. The IPv4-mapped IPv6 form, ::ffff:192.168.1.10, is how dual-stack systems show IPv4 clients. Leading zeros are risky: some software reads 010 as octal 8, which is why the octal form is shown with them.
Special ranges
127.0.0.0/8 is loopback, 169.254.0.0/16 link-local, 100.64.0.0/10 carrier-grade NAT, 224.0.0.0/4 multicast, and 192.0.2.0/24, 198.51.100.0/24, and 203.0.113.0/24 are for documentation, so examples never point at real hosts.
Leading zeros
Some programs read 010.001.001.010 as octal, which is a different address, and others reject it. Write addresses without leading zeros; to work out network ranges, use the subnet calculator.
How to use it
- Type the address in any form: 192.168.1.10, 3232235786, 0xC0A8010A, or binary.
- Read every other form.
- Copy the one you need.
Privacy & limitations
Converted in your browser.
Related tools
Frequently asked questions
Why would an IP be stored as one number?
A 32-bit integer takes less space than text and sorts and compares correctly, so databases often store addresses that way.
Which addresses are private?
10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16, set aside by RFC 1918 for home and office networks.
Does it handle IPv6?
It shows the IPv4-mapped IPv6 form; to expand or compress IPv6 addresses, use the IPv6 tools.
Free tool · runs in your browser · no account required