Four notations for one address
192.168.1.1 is dotted decimal: four octets from high to low. As an integer it is 192 times 16,777,216 plus 168 times 65,536 plus 1 times 256 plus 1, giving 3,232,235,777. In hex it is C0A80101, since 192 is C0, 168 is A8 and the ones are 01. In binary it is 11000000 10101000 00000001 00000001. All four describe one address; conversion loses nothing, it only changes notation.
Steps
- The input accepts 192.168.1.1, 3232235777 or C0A80101, detecting the type automatically.
- Click Convert for all four forms at once.
- Example loads a standard value, Download saves the result, Clear resets.
When the integer form matters
First, legacy access: early browsers accepted http://3232235777/, mostly disabled now but still met on old systems. Second, storage: integers save space and compare cheaply in ranges, which is exactly how IP geolocation databases are built and why their indexes beat string columns. Third, bit operations: masks, same-subnet tests and bulk filtering all work better on integers. Fourth, firewalls and routing configs occasionally ask for decimal or hex.
Byte order is the usual mistake
Networks are big-endian, high byte first, so C0 in C0A80101 is the first octet 192. A library parsing little-endian yields 16,885,952 instead of 3,232,235,777, and that difference is exactly the byte order. When results disagree, check this before blaming the tool. Also pad hex to eight digits: 1.1.1.1 is 01010101, and writing 1010101 invites misreading.
Common misuses
Pasting IPv6 fails here because it is 128 bits, outside this tool's scope. Re-parsing an already-integer value as dotted decimal produces nonsense. Sorting IPs numerically ranks 10.0.0.9 before 10.0.0.10 correctly, yet puts 9.0.0.1 after 10.0.0.1, since integer order is not octet order; sort by octets when that is what you mean.