Skip to content
Calcrivo

Hex IP Converter

Convert an IPv4 address to hexadecimal, or a hex value back to dotted-decimal.

Inputs

Used when converting Decimal IP → Hex, e.g. 192.168.1.10

Hex (32-bit)

0xC0A8010A

Hex (Dotted per Octet)

C0.A8.01.0A

Decimal IP

192.168.1.10

Step by step

  1. Values used

    Conversion Direction = Decimal IP → Hex; IPv4 Address = 192.168.1.10; Hex Value = C0A8010A

  2. Decimal octet to hex

    Each decimal octet (0–255) maps to a 2-digit hex value (00–FF)

  3. Hex (32-bit)

    = 0xC0A8010A

  4. Hex (Dotted per Octet)

    = C0.A8.01.0A

  5. Decimal IP

    = 192.168.1.10

How it works

An IPv4 address's 32 bits can be represented in hexadecimal, either as one 8-digit hex number (e.g. 192.168.1.10 → 0xC0A8010A) or as four 2-digit hex octets separated by dots (C0.A8.01.0A). Hex representations appear in packet captures, DHCP client identifiers, and some legacy Windows/Unix network tools. This converter works in both directions.

Formula

Decimal octet to hex

Each decimal octet (0–255) maps to a 2-digit hex value (00–FF)

octet
One 0–255 segment of the address

Frequently Asked Questions

Where are hex IP addresses used?

Hex notation for IPs shows up in packet analyzers like Wireshark, in Windows Registry entries for network adapters, in some router/firewall logs, and when working directly with raw socket or memory-level network data.

What is 192.168.1.10 in hex?

192.168.1.10 converts to 0xC0A8010A as a single 32-bit hex value, or C0.A8.01.0A per-octet.

Can I convert hex back to a decimal IP?

Yes — switch the conversion direction to 'Hex → Decimal IP' and enter the 8-digit hex value (with or without the 0x prefix).

You might also need