Hex to IPv4 Converter — Big-Endian and /proc/net/tcp
Decode hex bytes from packet dumps, /proc/net/tcp or DHCP logs back into IPv4.
| Input | IPv4 | 32-bit hex |
|---|---|---|
0xC0A80101 | 192.168.1.1 | 0xC0A80101 |
c0.a8.01.01 | 192.168.1.1 | 0xC0A80101 |
0A0000FE | 10.0.0.254 | 0x0A0000FE |
08:08:08:08 | 8.8.8.8 | 0x08080808 |
When to use the Hexadecimal (0x) to Dotted-Decimal IPv4 Converter
From logs and packet dumps
Hex addresses often appear in packet dumps, kernel logs and /proc files. Paste the values to see readable IPv4 addresses at once.
Two byte orders
Choose big-endian for values from network protocols or little-endian for /proc/net/tcp on x86 Linux, so addresses are not read backwards.
Flexible formats
A 0x prefix, dots, colons, hyphens or eight digits in a row are all accepted, in upper or lower case.
Bad lines do not stop the rest
Values that are not 8 hex digits are flagged on their line, while correct lines are still converted and included.
Frequently asked questions
How do I know the right byte order?
If the result looks reversed, such as 1.1.168.192, try the other order. Values from the Linux kernel on x86 are almost always little-endian.
What does the 0x prefix mean?
It is a programming-language marker that the number is hexadecimal. With or without it, the value is the same.
Can it read IPv6 hex?
No; this tool reads 4-byte IPv4. IPv6 is already written in hex and can be tidied with the IPv6 Address Compressor.
What about the reverse?
Use the IPv4 to Hex Converter, which also shows the little-endian form, handy for finding a given address inside /proc/net/tcp with grep.
Is my data sent to a server?
No. The logs you paste are processed in the browser and not stored, so production server data stays safe.
Similar tools
- IPv4 Address to Hexadecimal (0x) ConverterConvert IPv4 octets into dotted hex and 32-bit hex (for DHCP Options & /proc).
- 32-Bit Binary Octets to Dotted-Decimal IPv4 ConverterConvert 32-bit binary bitstreams or dotted binary octets back into IPv4.
- IPv4 Address to 32-Bit Unsigned Integer ConverterConvert dotted IPv4 addresses into a single 32-bit unsigned decimal integer.
- 32-Bit Unsigned Integer to IPv4 Address ConverterConvert a 32-bit integer (e.g. 3232235777) back into standard IPv4 notation.