Convert Hex to IP
Convert 8-digit hex to IPv4 addresses. Supports . : _ space separators, endianness toggle, IPv4 classification (private/public/loopback/multicast). Free, client-side.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Convert an 8-digit hexadecimal value (32 bits) into standard IPv4 dotted-decimal form. Accepts ., :, _, and space separators, with or without 0x prefix. Classifies the result as loopback / private / link-local / multicast / broadcast / public.
How to Use Convert Hex to IP
- Paste your hex values, one per line. Each must be 8 hex digits (32 bits = 4 octets). Leading
0x/0Xprefix is optional. Common IP separators (.,:,_, space) are stripped automatically, soC0.A8.01.01and0xC0A80101both work. - Pick a byte order: Big-endian is the default (network byte order - the normal hex representation of an IPv4 address). Switch to Little-endian if your hex comes from a little-endian memory dump where the octets are byte-reversed.
- Press Convert (or Ctrl+Enter / Cmd+Enter). Auto-convert runs 200 ms after each keystroke so results appear as you type.
- Read the stats line: total lines, successes, failures, plus a count of private-vs-public IPs in the batch.
- Inspect the breakdown: each row shows the hex, the decoded dotted-decimal IP, its classification (private RFC 1918, loopback, link-local, multicast, broadcast, reserved, or public), plus decimal and binary representations.
- Handle errors per line: wrong-length or non-hex input flags one row in red while every other line still decodes.
- Copy or Download. Copy places the dotted-decimal IPs on your clipboard; Download saves a
.txtfile.
Frequently Asked Questions
How does hex-to-IPv4 conversion work?
An IPv4 address is 32 bits = 4 octets (bytes). The hex representation packs those 4 octets into 8 hex digits – each octet becomes 2 hex digits. So 0xC0A80001 splits into C0, A8, 00, 01 → 192, 168, 0, 1 → 192.168.0.1. The tool just does this split and decimal conversion.
Why is there a byte-order option?
Because IPv4 addresses are stored differently in different memory contexts. Network byte order (big-endian) is how they appear in packets and most tooling – the leftmost octet is the most significant. But if you dump the same address from a little-endian CPU register or struct, the bytes appear reversed. 0xC0A80001 as little-endian bytes decodes to 1.0.168.192 (same physical bytes, different octet order).
What separators can I use in the input?
All the common ones: period (C0.A8.01.01), colon (C0:A8:01:01), underscore (C0_A8_01_01), space (C0 A8 01 01), or none (C0A80001). Leading 0x is also stripped. Case-insensitive – Ab and AB and aB all work.
What classifications does the tool recognize?
All the standard IPv4 categories: Loopback (127.0.0.0/8), Private (RFC 1918: 10/8, 172.16/12, 192.168/16), Link-local (169.254.0.0/16), Shared (RFC 6598 CGN: 100.64/10), Multicast (224.0.0.0/4), Limited broadcast (255.255.255.255), Reserved (0/8 and 240/4), and Public for everything else.
Does this support IPv6?
No – IPv6 addresses are 128 bits (32 hex digits) and use a different format (2001:db8::1). This tool is IPv4-only. Use a dedicated hex-to-IPv6 tool if you’re working with 32-digit hex values representing IPv6 addresses.
What happens if my hex isn’t exactly 8 digits?
You get an error: “hex must be exactly 8 digits for IPv4 (got N)”. Unlike hex numbers in general, an IPv4 address has a fixed 32-bit width – there’s no such thing as a “6-bit IP” or a “10-bit IP”. The tool enforces the 8-digit (32-bit) requirement strictly.
What does the batch stats “N private · M public” mean?
After processing, the stats row tells you how many of the converted IPs fall into non-public ranges (private RFC 1918, loopback, link-local, shared CGN) versus how many are public. Useful when you’re scanning a hex dump for suspicious external addresses versus internal traffic.
Is my data uploaded anywhere?
No. All conversion happens in your browser’s JavaScript engine – no network requests fire during processing, and no server stores or logs your hex values. You can verify with your browser’s Network tab. The tool works offline after the initial page load.
How do I go from IPv4 back to hex?
Use our “IP to Hex” converter. Each octet becomes 2 hex digits: 192 → C0, 168 → A8, 0 → 00, 1 → 01 → concatenated to 0xC0A80001. The round trip is lossless in either byte order.
Why would I convert hex to IP in practice?
Common use cases: reading IP addresses from binary packet captures in a hex editor, decoding IP values stored in 32-bit integer columns in databases, reverse-engineering proprietary network protocols, parsing firewall log hex dumps, or converting values from embedded-system APIs that expose IPv4 as raw hex rather than dotted form.
Related Tools
Convert IP to Hex →
Convert IPv4 to hexadecimal with 4 formats, class detection, CIDR support. Free, offline, client-side,…
Add Hex Numbers →
Add Hex Numbers instantly. Free, offline, client-side tool that outputs results in both hex…
ASCII to Hex Converter →
Convert ASCII to Hex - code points or UTF-8 bytes, space/comma/0x-prefixed, uppercase or lowercase.…
Base32 to Hex Converter →
Base32 to Hex Converter - pick separator, case, and prefix. Free, client-side, instant, offline,…
Base58 to Hex Converter →
Decode Bitcoin, Ripple, or Flickr Base58 strings to hex - with separator, case, and…
Base64 to Hex Decoder →
Decode Base64 to hex bytes - URL-safe variant, separator options, uppercase toggle, UTF-8 aware.…
BCD to Hex Converter →
Convert packed BCD to hexadecimal - decimal-value or nibble mode, BigInt precision, COMP-3 sign.…
Convert Decimal to Hex →
Convert decimal numbers to hexadecimal instantly, individually or in bulk. Free, client-side converter with…
Convert Gray Code to Hex →
Decode Gray code (reflected binary) to hex, decimal, or binary. Accepts binary or hex-packed…
Convert Hex to ASCII →
Decode hexadecimal bytes to ASCII text. Auto-detect separators, handle non-printable bytes four ways, batch…
Convert Hex to BCD →
Convert hex to Binary Coded Decimal - packed, unpacked, or COMP-3 with sign nibble.…
Convert Hex to Binary →
Convert hex to binary with nibble-accurate bit widths. 5 grouping modes, 0b prefix toggle,…