Confusing hex with dotted decimal
'C0.A8.00.01' is hex; '192.168.0.1' is decimal. Mixing them silently changes the IP.
Fix: Always label or prefix hex IPs explicitly (e.g. 0xC0A80001).
Search tools and pages.
Convert an IPv4 address into uppercase hexadecimal octets, useful for network logs, packet dumps, and embedded configuration.
sidebar • 160x600
Written by Giorgos Kostas. Last reviewed:
IP to Hex Converter returns each octet of an IPv4 address as a zero-padded uppercase hexadecimal pair, separated by dots (e.g. C0.A8.00.01).
Hex IPs appear in packet dumps, embedded-device configs, debugger memory inspectors, and some firmware, where a byte-by-byte hex view is easier than decimal.
192.168.0.1
C0.A8.00.01
'C0.A8.00.01' is hex; '192.168.0.1' is decimal. Mixing them silently changes the IP.
Fix: Always label or prefix hex IPs explicitly (e.g. 0xC0A80001).
Some parsers are case-sensitive and reject lowercase letters.
Fix: Use uppercase hex or convert with the Hex to IP tool which accepts both cases.
Prepend 0x when feeding to C or Python parsers.
Fix: Add the 0x prefix if the consumer expects it.
Zero-padded uppercase hex pairs separated by dots.
Yes — drop the dots when copying. The Hex to IP tool accepts both forms.
Yes. Octet 1 is the high-order byte.
No. Use an IPv6 tool for 128-bit addresses.
Yes.
Use Hex to IP.
Move between IPv4 encodings and inspect adjacent tools for debugging packets. You can also browse the full Unit Converters category for more options.
Convert a hexadecimal IPv4 address (either dotted hex or contiguous 8 chars) back into dotted-decimal notation.
Convert an IPv4 address into its 32-bit unsigned decimal form for routing tables, allow-lists, and database storage.
Convert each octet of an IPv4 address into its 8-bit binary form, ideal for subnet calculations and teaching materials.
Convert an IPv4 address into zero-padded octal octets, matching inet_aton behaviour and documentation examples.
Convert IPv6 address to binary
Parse a URL into scheme, host, port, path, query parameters, fragment, and origin — fully client-side
Convert IP addresses between formats
Convert four 8-bit binary octets (separated by dots) into a standard dotted-decimal IPv4 address.
Convert a 32-bit unsigned decimal value back into a standard dotted-quad IPv4 address.
Convert a hexadecimal number into its octal representation for file permissions, legacy protocols, and bitmask debugging.
Convert an octal number into its uppercase hexadecimal form for cross-base arithmetic and register inspection.
Convert decimal numbers to hexadecimal
Use a compact field for small conversion and calculation tools.
content bottom • up to 300x250