Skip to content
NMSnabbit.

Hex to IP Converter

Convert a hexadecimal value back into a dotted IPv4 address.

Converters Runs in your browser

How do you convert hex to an IP address?

Give this converter eight hex digits and it returns the dotted IPv4 address they encode. It strips 0x prefixes, spaces and stray punctuation first, then splits the remaining digits into four bytes: 0xC0A80001 breaks into C0 A8 00 01, which reads as 192.168.0.1. Anything other than exactly eight hex digits cannot describe a 32-bit address, so shorter or longer input is rejected.

How to use the Hex to IP

  1. 1 Paste the hex value; 0x prefixes and gaps are fine.
  2. 2 The tool reads the cleaned digits as four bytes.
  3. 3 Check the dotted address in the output field.
  4. 4 Copy it wherever the log or config needs it.

What you can use it for

  • Reading hex-encoded IPs out of logs and configs.
  • Recovering addresses stored as 32-bit integers.
  • Decoding hex firewall rules into dotted notation.
  • Double-checking an IP-to-hex conversion.

Frequently asked questions

What hex length does it expect?
Eight digits after cleaning, one byte per octet. 0xC0A80001, c0a80001 and “c0 a8 00 01” all decode to 192.168.0.1.
Why is my output empty?
Count your digits. Six or ten hex digits do not map onto four octets, and non-hex characters beyond 0x and whitespace also block the parse.
Is it the reverse of IP to hex?
Yes. The two tools implement the same octet-to-byte mapping in opposite directions, so a value round-trips without loss.

Related tools

More Converters

More tools like this:

All Converters