Hex to IP Converter
Paste a 32-bit hexadecimal string to instantly translate it into a standard human-readable IPv4 address.
Last updated: May 30, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Hex to IP Converter?
In low-level networking, packet captures (such as Wireshark), or memory dumps, IP addresses are often represented in hexadecimal format. Because a standard IPv4 address is 32 bits, it translates perfectly to 8 hexadecimal digits (where each hex digit represents 4 bits, or a nibble).
For example, the hex address C0A80101 splits into four 2-digit hex values: - C0 (hex) = 192 (decimal) - A8 (hex) = 168 (decimal) - 01 (hex) = 1 (decimal) - 01 (hex) = 1 (decimal)
Combining these gives the dotted IPv4 address: 192.168.1.1.
How to Use Hex to IP Converter
Type or paste your hexadecimal address in the input field. The tool accepts values with or without the "0x" prefix and supports dividers like dots, spaces, or colons.
Shorter hex inputs are padded with leading zeros automatically to form a full 8-digit hexadecimal string.
The dotted decimal IP address, decimal integer, and binary values will update dynamically.
Copy any of the outputs using the copy button.
Common Use Cases
- Decoding hex IP fields found in raw network packet capture logs (e.g. PCAP files).
- Analyzing firmware binary files and router configuration files.
- Working with low-level sockets in C/C++ or assembly where IPs are manipulated as hex values.
- Learning the relationship between hex numbers, binary bits, and IP subnetting.
Example Input and Output
The hexadecimal string 7F000001 is converted to loopback IP 127.0.0.1.
7F000001127.0.0.1 (Decimal: 2130706433)Data Safety
All conversions happen in your browser via local client-side Javascript. No network requests are sent to convert your data.
Frequently Asked Questions
Why does an IPv4 hex address have exactly 8 characters?
In computing, one hexadecimal character represents 4 bits of data. Since an IPv4 address is 32 bits long, representing it in hex requires exactly 8 characters (8 * 4 = 32).
Can I use uppercase or lowercase hex letters?
Yes. The converter accepts both uppercase (e.g. C0A80101) and lowercase (e.g. c0a80101) hex inputs.
How is IPv6 hex representation different?
IPv6 addresses are 128-bit values and are represented by 32 hex characters separated by colons into 8 groups of 4 hex digits (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334). This tool is built specifically for 32-bit IPv4 addresses.
Related Tools
Binary to IP Converter
Convert 32-bit binary values into standard dot-separated IPv4 addresses. Supports visual octet breakdown, decimal, and hexadecimal output formats.
Decimal to IP Converter
Convert decimal integers (32-bit integers) into standard dotted-decimal IPv4 addresses. Ideal for network engineers and database managers.
IP to Binary Converter
Convert dotted decimal IPv4 addresses into binary strings (dotted, spaced, or continuous 32-bit). Includes octet breakdown grid, decimal, and hex outputs.
IP Address to Phone Converter
Convert IP addresses into structured 10-digit telephone number formatting using mathematical integer mapping. Ideal for puzzles, encoding, and obfuscation.
Binary to Decimal Converter
Convert binary numbers (base 2) to decimal (base 10). Also shows hexadecimal and octal equivalents. Supports large binary numbers.
IP to Hex Converter
Convert a dotted-decimal IPv4 address to its 8-digit hexadecimal value. Also shows decimal and binary outputs.

