Hex to IP Converter - Convert Hexadecimal to IP Address
Convert hexadecimal values to IP addresses online for free. Transform hex strings back to standard IPv4 dotted notation.
What is Hex to IP?
How to Use Hex to IP
Enter a hexadecimal value (e.g., C0A80101 or 0xC0A80101) in the input field. Click "Convert" to get the corresponding IPv4 address in dotted-decimal notation. The tool accepts hex values with or without the 0x prefix and shows the breakdown of each octet. Copy the result with one click.
How Hex to IP Works
Common Use Cases
- Decoding IP addresses from Wireshark packet captures or tcpdump output
- Interpreting hex addresses found in firewall logs, ACL rules, or security alerts
- Converting hex values from memory dumps or debugger output to readable IP addresses
- Working with network programming code that stores addresses as 32-bit hex integers
- Reading embedded systems firmware that references network addresses in hexadecimal
- Studying for networking certifications that test hex-to-IP conversion skills
Frequently Asked Questions
What hex format is accepted?▼
You can enter hex values with or without the 0x prefix. The input should be exactly 8 hex digits for a valid IPv4 address (e.g., C0A80101 or 0xC0A80101). Both uppercase and lowercase hex digits are accepted.
How does hex to IP conversion work?▼
The 8-digit hex string is split into 4 pairs of 2 digits. Each pair is converted from hexadecimal to decimal to form the four octets of the IP address. For example, C0A80101 → C0=192, A8=168, 01=1, 01=1 → 192.168.1.1.
What if my hex value is less than 8 digits?▼
The tool pads shorter hex values with leading zeros to reach 8 digits. For example, "1" becomes "00000001" which converts to 0.0.0.1. However, for accurate results, always provide the full 8-digit hex value.
Can I identify the network class from the hex value?▼
Yes. The first hex digit pair determines the IP class: 00-7F = Class A, 80-BF = Class B, C0-DF = Class C. For example, C0A80101 starts with C0 (192), which is a Class C address.
What byte order does this tool use?▼
This tool uses network byte order (big-endian), which is the standard for TCP/IP. The most significant byte comes first. If your hex value is in little-endian format (from a memory dump), you will need to reverse the byte pairs before converting.
Does this work with IPv6 hex values?▼
This tool is specifically for IPv4 (32-bit, 8 hex digits). IPv6 addresses are 128-bit and already use hexadecimal notation (like 2001:db8::1). They do not need hex-to-IP conversion.