How to Use the IPv4 to Decimal Online
- 1Paste four decimal octets separated by dots. Use a whole number from 0 to 255 in each position.
- 2Put each additional address on its own line. Keep any prefix lengths or notes separate from the address text.
- 3Read the result as one unsigned integer for each address. Compare the order of the output lines with the source list.
- 4Copy the integers into the field or fixture that expects them. Use Decimal to IPv4 to verify that a packed value returns the original address.
Input & Output Examples
The third octet contributes 256 to the packed number.
0.0.1.0256Each line becomes an integer. The all-255 address produces the upper end of the unsigned range.
192.0.2.10
255.255.255.2553221225994
4294967295Practical Developer Workflows
- Check an exported database field that stores IPv4 addresses as unsigned integers.
- Prepare a small fixture with decimal IPv4 values for testing an address display.
- Compare numbers in a record or log with the dotted addresses shown by another part of the application.
Zero Server Uploads & Complete Privacy
Runs 100% in your browser; no data is uploaded to any server.
Let us know directly so our engineering team can fix it.