๐ Runs in your browser โ nothing is uploadedโ Free, no signup
IP Address Converter
Convert an IPv4 address between dotted, decimal, hex, binary and octal, see its class and whether it's private or public โ or expand and compress an IPv6 address.
IPv4 formats
| Dotted decimal | 192.168.1.1 | |
|---|---|---|
| Decimal (integer) | 3232235777 | |
| Hexadecimal | 0xC0A80101 | |
| Dotted hex | C0.A8.01.01 | |
| Binary | 11000000.10101000.00000001.00000001 | |
| Octal | 0300.0250.01.01 | |
| IPv4-mapped IPv6 | ::ffff:192.168.1.1 | |
| Class | C | |
| Type | Private (RFC 1918) | |
| Reverse DNS | 1.1.168.192.in-addr.arpa |
When should you use the IP Address Converter?
- Converting an IP stored as an integer in a database back to a readable address
- Checking whether an address is private, loopback or public
- Expanding a shortened IPv6 address for firewall rules or logs
How to use the IP Address Converter
- 1
Enter an address
Type an IPv4 address, a decimal number, hex like 0xC0A80101, 32-bit binary or an IPv6 address.
- 2
See every format
All representations update instantly.
- 3
Check the type
See the class and whether the address is private, public, loopback, multicast or reserved.
- 4
Copy
Copy any format with one click.
Examples
192.168.1.1 in other formats
Input
192.168.1.1
Formats
Decimal 3232235777 Hex 0xC0A80101 Binary 11000000.10101000.00000001.00000001 Type Private (RFC 1918)
Common errors and how to fix them
Each part must be 0โ255- Every number in a dotted IPv4 address is one byte, so 256 or higher isn't valid.
IPv6 can contain :: only once- :: replaces one run of zero groups. Using it twice makes the address ambiguous.
More from Web & Network
Free tools that run in your browser โ no signup, nothing uploaded.
URL Parser & Query String Parser
Break a URL into protocol, host, path, query parameters and hash.
HTTP Status Codes List
Every HTTP status code explained in plain English โ searchable.
User Agent Parser & Checker
See your user agent and parse any UA string into browser, OS and device.
IP Subnet / CIDR Calculator
Calculate network, broadcast, host range and mask for any IPv4 CIDR.
Meta Tag & Open Graph Generator
Generate SEO meta tags, Open Graph and X card tags with live previews.
Cookie & Set-Cookie Parser
Parse Cookie and Set-Cookie headers into a readable table with security checks.
CORS & Security Headers Generator
Generate CORS and security headers for Nginx, Apache, Express, Next.js and more.
What Is My Screen Resolution?
See your screen resolution, viewport size and device pixel ratio instantly.
JavaScript Keycode Finder
Press any key to see its event.key, event.code and keyCode.
IP Address Converter FAQ
Each of the four parts is a byte: a ร 256ยณ + b ร 256ยฒ + c ร 256 + d. So 192.168.1.1 is 3232235777. Type the address and the decimal value appears instantly.
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918). 127.0.0.0/8 is loopback and 169.254.0.0/16 is link-local.
An older scheme based on the first byte: A (1โ126), B (128โ191), C (192โ223), D (multicast) and E (reserved). Modern networks use CIDR, but classes are still used as shorthand.
Leading zeros in each group are dropped and the longest run of zero groups becomes ::, following RFC 5952 โ so 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1.
An IPv6 address of the form ::ffff:192.168.1.1 that represents an IPv4 address, used by dual-stack systems.
No. Everything runs in your browser, so your data never leaves your device.
