Convert an IPv4 address to binary and hex
An IPv4 address like 192.168.0.1 is really four bytes, and seeing it in binary, decimal, or hexadecimal helps when you're working with subnet masks, writing low-level code, or learning how addressing works. This converter shows an IPv4 address across those representations at once.
How to use it
- Enter an IPv4 address.
- Read it in binary, decimal, and hexadecimal.
- Copy the form you need.
Where it helps
- Understanding how subnet masks line up in binary.
- Working with addresses in low-level code.
- Learning the structure behind an IP address.
Questions people ask
Why is each part at most 255? Each of the four parts is one byte — eight bits — which tops out at 255.
Is my input stored? No — conversion runs in your browser.