Hex to IP converter: Convert hexadecimal to IP address
Use this Hex to IP converter to turn a hexadecimal value into an IPv4 or IPv6 address. Enter full hex such as 0xC0A80001 or C0A80001, or dotted hex such as C0.A8.00.01. The tool detects IPv4 from 8 hex digits and IPv6 from 32, then shows the address class and special-range badges.
The Hex to IP converter turns a hexadecimal value into an IPv4 or IPv6 address. Use it to convert hexadecimal to IP online when you need a readable address for code, documentation, a ticket, or another tool. It accepts full hex such as 0xC0A80001 or C0A80001, as well as dotted hex such as C0.A8.00.01.
The converter detects the address type from the number of hexadecimal digits: 8 digits indicate IPv4, while 32 indicate IPv6. After conversion, it shows the IP address along with the address class and special-range badges. These accepted input forms make it straightforward to work with either a prefixed or unprefixed value, or a dotted hexadecimal value.
Hexadecimal is a base-16 representation, while IPv4 and IPv6 addresses are commonly written in address notation. Converting between them can help when a value is supplied in hex but a system, code example, or document needs an IP address. The automatic length-based detection helps identify which IP version the input represents.
The conversion runs entirely in your browser: no data is sent to a server, and no signup is required. Once the page has loaded, it also works offline. Developers and DevOps engineers can use this free, private, in-browser tool to check values and prepare IP addresses for their workflows. For the reverse direction, My-DevTools has a separate page that converts an IP address back to hexadecimal.
Step 1: Paste a hexadecimal value into the input. You can use full hex with or without the 0x prefix, or dotted hex such as C0.A8.00.01.
Step 2: Check that the input has the expected length for the address type: 8 hex digits for IPv4 or 32 for IPv6.
Step 3: Review the converted IP address and the displayed address class and special-range badges.
Step 4: Copy the IP address result and use it in your code, documentation, ticket, or another tool.
Use case: Move hexadecimal data into a system that accepts IP addresses. Convert the value first so it is easier to use in the required address format.
Use case: Verify that an IP address matches a hexadecimal value you were given. The conversion makes it easier to compare the two representations.
Use case: Prepare hexadecimal snippets for documentation, a ticket, or a commit message. Convert them to an IP address before sharing the example.
Use case: Sanity-check a hexadecimal-to-IP conversion before pasting the result into code.
Use case: Identify whether a hexadecimal value is detected as IPv4 or IPv6. The tool uses the input length to distinguish the two address types.
Use case: Review the address class and special-range badges when checking a converted value. These details provide additional context for the result.