About the IP to Decimal Converter
An IPv4 address can be written as a single whole number between 0 and 4,294,967,295. Databases store addresses this way because numbers are compact and sort in the right order, and some tools and attacks use the number form in URLs. This converter turns dotted addresses into that number. Paste one address per line and read the numbers. For example 192.168.1.1 becomes 3232235777. Invalid lines are flagged, and all the work is done in your browser, so your list is not uploaded.
Updated October 2026
How to use the IP to Decimal Converter
- 1Paste your IPv4 addresses into the left box, one per line.
- 2Read the decimal numbers on the right.
- 3Check the note for lines that could not be read.
- 4Copy the numbers or download them.
- 5Use the IP Address Converter to turn a number back into dots.
Where decimal IPs are used
Databases such as geolocation tables keep address ranges as integers, so that a lookup is a simple comparison. Programmers meet the same numbers in network code that reads an address as a 32-bit value. Security people sometimes meet addresses written as one number in links.
Converting a whole list at once saves repeating the sum by hand.
The sum
The first part is worth 16,777,216, the second 65,536, the third 256 and the fourth 1. Adding the four products gives the integer. The result is always between 0 and 4,294,967,295.
- First part × 16,777,216
- Second part × 65,536
- Third part × 256
- Fourth part × 1
Related tools
To see the same address in binary, use the IP to Binary Converter. For sorting address lists in numeric order, use the Sort IP Addresses tool.
Examples
The address 10.0.0.1 is 167772161. The address 8.8.8.8 is 134744072. The address 255.255.255.255 is 4294967295, the largest possible value, and 0.0.0.0 is 0. A list with a mistake in one line still converts the other lines and flags the bad one with a message.
Because the numbers sort in the same order as the addresses, a list of decimal values can be sorted with any ordinary number sort.
Phone and computer
On a phone, paste into the box, adjust the list of addresses, and tap Copy to carry the result into another app. On a computer you can also download it as a file. The two boxes sit side by side on a wide screen and one above the other on a narrow one, so you can compare input and result without zooming. Nothing you paste is uploaded or stored.
Good to know
An input that is already a whole number between 0 and 4,294,967,295 is accepted and returned unchanged, so a mixed list is fine. Lines that are not valid, such as an address with a part above 255, are shown with a short message instead of a number, and the note counts them. The list order is preserved.
Features
- Many addresses at once
- Standard 32-bit integer result
- Flags invalid addresses
- Accepts several input forms
- Copy or download
- Private: nothing is uploaded
Frequently asked questions
How do I convert an IP address to a decimal number?
Multiply the parts by 16,777,216, 65,536, 256 and 1 and add them. For 192.168.1.1 that is 3,221,225,472 plus 11,010,048 plus 256 plus 1, which is 3232235777.
What is 8.8.8.8 as a decimal number?
134744072.
Why store IP addresses as numbers?
Numbers take less space, are fast to compare and make range checks easy: an address is in a block if its number lies between two numbers.
Can I convert the number back?
Yes. Paste the number into the IP Address Converter and it shows the dotted form.
What is the largest value?
255.255.255.255, which is 4,294,967,295.
Is my list uploaded?
No. The conversion is done in your browser.