Skip to main content
KalkuNet

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.

Runs in your browserNetwork · IPv6, MAC, Binary & Address Converters
Byte order:
InputIPv432-bit hex
0xC0A80101192.168.1.10xC0A80101
c0.a8.01.01192.168.1.10xC0A80101
0A0000FE10.0.0.2540x0A0000FE
08:08:08:088.8.8.80x08080808

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.

Learn more