IP to Dec / Bin / Hex
Convert an IPv4 or IPv6 address to decimal, binary, hex and octal.
No results yet
Enter a ip address above and press Run to start the check.
About the IP to Dec / Bin / Hex
IP to Dec / Bin / Hex converts an IPv4 or IPv6 address into its decimal, hexadecimal, octal, and binary representations. Seeing an address as a single integer or as raw bits is invaluable for low-level networking, scripting, database storage, and understanding how subnet masks operate at the bit level. Enter one address and view every base side by side.
How to use
- Enter an IPv4 or IPv6 address to convert.
- Submit to compute its decimal, hex, octal, and binary forms.
- Copy whichever representation your task requires.
Frequently asked questions
- Why convert an IP to a single decimal number?
- A 32-bit IPv4 address fits in one integer, which makes range comparisons, sorting, and compact database storage much easier than working with dotted notation.
- What does the binary form show?
- It shows each octet as eight bits. This makes it clear how a subnet mask divides the network and host portions of the address.
- Can it convert IPv6 too?
- Yes. IPv6 addresses are 128-bit values, so the tool returns their decimal and hexadecimal integer forms in addition to the standard notation.