
Network developers use it when an IPv4 address must be stored, compared or exchanged as a 32-bit integer.
Convert an IPv4 address into a 32-bit integer. Everything runs in your browser, so the values you enter are never uploaded, shared, or stored.
The sample input holds 192.0.2.1, an address kept for documentation and tests. After converting, feed the number back into the input to check that you get the same dotted address again: that round trip is the quickest way to confirm the result is correct.
Input
192.0.2.1Output
3221225985The whole conversion happens inside your browser, using the value you type or the file you import. Nothing leaves your device, nothing is kept once the page is closed, and you can therefore work with internal addresses you would rather not send anywhere.
The tool tells you the input cannot be used instead of returning a number. Fix the value, checking that each of the four parts stays within a single byte, then start the conversion again.
Integers sort, compare and index more easily, and they take a predictable amount of space. APIs and network routines often exchange addresses in that form when they need to order or filter large sets of them quickly.
The field is designed around a single value. If you have many addresses, automating the conversion in your own script will save you from pasting them one after another and running the step each time.