Network Tools
Convert IP addresses and MAC addresses to and from hexadecimal — the compact format routers, firewalls, and packet captures use.
- Hex to IPConvert a hex value into a dotted IPv4 address.
- IP to HexConvert an IPv4 address into its hexadecimal form.
- Hex to MAC AddressFormat a hex string as a MAC address.
- Hex to IPv4 ConverterConvert an 8-digit hex value into a dotted IPv4 address
- IPv4 to Hex ConverterConvert a dotted IPv4 address into its 8-digit hexadecimal form
- Hex to IPv6 ConverterConvert a 32-digit hex value into a standard, compressed IPv6 address
- IPv6 to Hex ConverterConvert a standard IPv6 address, including compressed :: notation, into its full 32-digit hex form.
- MAC Address to Hex ConverterStrip the separators from a MAC address and get its raw 12-digit hex form
- MAC Address to Decimal ConverterConvert a MAC address into a single 48-bit decimal number
- MAC Address to Binary ConverterConvert a MAC address into its 48-bit binary representation, shown byte by byte
- Hex Network Byte Order ConverterConvert a hex value from host byte order to network byte order (big-endian)
- Hex Little Endian IP ConverterConvert a dotted IPv4 address into hex, then reverse the byte order to little-endian
- IPv4 Hex ConverterConvert a dotted IPv4 address into its 8-digit hex form
About Network Tools
Networking formats routinely use hexadecimal for compactness. This category converts IP addresses and MAC addresses to and from hex — the representations you'll see in routing tables, firewall rules, and packet captures.
Further reading: IPv4 — Wikipedia
Frequently Asked Questions
Why do routers show IP addresses in hex?
Hex is a compact, fixed-width way to represent the 32-bit IPv4 address space, which is easier to scan in logs and configuration files than four separate decimal octets.
How is a MAC address related to hex?
A MAC address is just 6 bytes, conventionally written as 12 hex digits separated by colons or hyphens.
Why does a hex IP address matter when reading firewall rules?
Some firewall and routing configuration formats store addresses and subnet masks in hex for compactness — converting to and from dotted-decimal is often needed to cross-reference a rule against a familiar IP address.
Does byte order (endianness) affect these conversions?
Yes, for some binary formats — a 32-bit IP address can be stored big-endian or little-endian depending on the system, so if a hex-to-IP conversion looks reversed, check the Endianness Tools category for a byte-order swap first.