IP to Decimal Converter
Convert IPv4 and IPv6 addresses to decimal, hex and binary numbers, and back.
Enter IPv4 or IPv6 addresses to get their decimal, hex and binary values, or enter a decimal number to get the IP address back.
Continue your work
- Number Base Converter — Convert numbers between other bases.
- IPv4 Subnet Calculator — Work with IPv4 ranges and masks.
Share this tool
Found it useful? Send it to a friend or teammate.
Rate this tool
0.0
0 ratings
- 5 stars 0
- 4 stars 0
- 3 stars 0
- 2 stars 0
- 1 star 0
Clear instructions
Find steps, examples and limitations below.
Use online
Open the tool in a supported web browser.
Free to use
No sign-up required. Tool-specific limits may apply.
How to use the IP to Decimal Converter
Convert IPv4 and IPv6 addresses to decimal, hex and binary numbers, and back.
- 1 Paste one IP address or decimal number per line.
- 2 The results appear instantly as you type.
- 3 Copy the output for databases, firewall rules or programming.
Example and practical tips
192.168.1.1 becomes 3232235777 in decimal and 0xC0A80101 in hex. Entering 3232235777 on its own line converts it back to 192.168.1.1.
Frequently asked questions
Why store IP addresses as numbers?
Numbers sort correctly and make range checks simple, which is why databases and GeoIP files often store IPv4 addresses as 32-bit integers.
How large are IPv6 numbers?
IPv6 addresses are 128-bit numbers of up to 39 decimal digits, so they need big-integer support in most programming languages.
Report an issue
Something broken or not quite right? Tell us and we will look into it.