Networking
IPv4 Address Converter
Transform IPv4 addresses into raw 32-bit decimal, binary octets, and hex notation.
Dotted Decimal Is Just One Encoding of the Same 32 Bits
The address 192.168.1.1, the integer 3232235777, and the hex 0xC0A80101 are the same value — the converter proves it by re-encoding the identical 32 bits. That integer form is not a curiosity: ACL entries, some databases and logs, and a few configuration formats store IPv4 as a 32-bit number, and being unable to recognize it wastes a debugging session. Note that these forms carry no subnet mask; a bare integer like 3232235777 says nothing about whether it is /24 or /32.
One Address, Four Representations
The dotted form 192.168.1.1 is four 8-bit values. The same address is the single decimal number 3232235777, the hexadecimal C0A80101 and the binary 11000000.10101000.00000001.00000001. All four are the same value written differently.
The decimal form shows up in databases that store addresses as integers, which makes range lookups simple comparisons. It is also used in obfuscated links, so converting an unfamiliar number back to dotted form is a quick way to see where it points.
How the Network Math Works
- Computes: (A << 24) + (B << 16) + (C << 8) + D.
Worked Network Example
Common Questions
Can I ping a decimal IP?
Yes, network stacks accept 32-bit integers directly (e.g. ping 2130706433 for 127.0.0.1).
Where is the hexadecimal form used?
IPv4 hex form appears in packet captures, firewall rule logs, and configuration files. It is also handy when comparing addresses arithmetically without converting octets.
Related Networking
IPv4 Subnet Calculator
Bitwise IPv4 subnetting calculations with full network, broadcast, wildcard, and binary breakdowns.
IPv6 Validator & Notation Tool
Validate IPv6 syntax, expand collapsed colons, and inspect address scopes.
CIDR to Subnet Mask Calculator
Bidirectional converter between CIDR prefix notation (/24) and dotted-decimal subnet masks.