IP to Hex
Convert IPv4 and IPv6 addresses into hexadecimal format and back online. Supports automatic direction detection, dot or colon delimiters, and 0x prefixes.
Interactive workspace loading...
How to Use IP to Hex
Key Features
Common Use Cases
- Network troubleshooting, firewall rule configuration, and routing table analysis.
- Decoding hex-encoded client IP addresses in server access logs and packet captures.
- Converting IP addresses for binary database storage and index optimization.
- Cybersecurity investigations and digital forensics.
Frequently Asked Questions
Each of the 4 decimal octets (0–255) is converted to a 2-digit hexadecimal number. For example, 192.168.1.1 becomes C0 (192), A8 (168), 01 (1), 01 (1) -> C0A80101.
Yes! The tool automatically expands abbreviated IPv6 addresses (like '::1' or '2001:db8::1') into their full 128-bit representations before generating the 32 hex characters.
Yes! Enter an 8-character hex string for an IPv4 address, or a 32-character hex string for an IPv6 address, and it will decode back to the dotted-decimal or colon-hex IP.