Hex to IP Converter — Free Online Hex to IPv4 Address
Convert hexadecimal values to IPv4 addresses and back — useful for reading /proc/net/tcp, Wireshark captures, and network protocol headers.
Frequently Asked Questions
Hex IP Addresses in Network Protocols and System Files
IP addresses are occasionally stored or transmitted in hexadecimal format rather than the familiar dotted-decimal notation. Network engineers, security analysts, and system programmers regularly encounter hex IPs when reading raw packet captures, kernel network tables, or binary protocol logs.
The conversion is straightforward: an IPv4 address is 4 bytes = 8 hex characters. Split into pairs and convert each from hex to decimal. C0A80101 → C0=192, A8=168, 01=1, 01=1 → 192.168.1.1. The reverse (IP to hex) is equally useful when you need to encode an IP address into a binary protocol field or lookup table.
Important caveat: Linux's /proc/net/tcp stores addresses in little-endian hex (reversed byte order). If you see 0101A8C0, read the pairs in reverse: C0, A8, 01, 01 → 192.168.1.1. This tool assumes big-endian (standard network byte order).