Hex Decoder
Convert hexadecimal data back to readable text — paste, decode, and copy instantly.
Decoded output will appear here...About Hex Decoder
Hex Decoder is a free online tool that converts hexadecimal (base-16) strings back into human-readable text or other representations. Each hex pair corresponds to one byte, so the string "48 65 6C 6C 6F" decodes to the word "Hello". Hexadecimal notation is ubiquitous in software development, networking, and security: packet captures, memory dumps, file headers, certificate fingerprints, and API payloads all commonly use it to express raw binary data as readable ASCII digits.
Unlike tools that only handle plain continuous hex strings, this decoder accepts four distinct input formats — plain hex, 0x-prefixed tokens, space-separated pairs, and colon-separated notation — so you can paste data directly from a debugger, Wireshark, or a terminal hex dump without manually reformatting first. Five output tabs (Text, Binary, Decimal, Base64, and ASCII Codes) let you view the same decoded bytes in whichever representation your workflow requires. Three character encoding options (UTF-8, ASCII, and ISO-8859-1 / Latin-1) ensure that multi-byte and extended-Latin characters are reconstructed correctly rather than corrupted.
The entire decoding process runs in your browser using native JavaScript. No bytes from your input are uploaded, logged, or transmitted to any server, so it is safe to use with proprietary payloads, private key material, and confidential network captures. The tool is completely free and requires no account or installation.
Key Features
Four input format modes
Accepts plain hex, 0x-prefixed tokens (e.g., 0x48 0x65), space-separated byte pairs, and colon-separated notation (e.g., 48:65:6C) — paste data straight from a debugger or hex dump without reformatting.
Five output representations
View the decoded bytes as plain text, 8-bit binary, decimal integers, a Base64 string, or annotated ASCII codes — all from the same decode operation without re-entering data.
Multi-encoding character support
Choose UTF-8, ASCII, or ISO-8859-1 (Latin-1) to correctly reconstruct multi-byte Unicode sequences or Western European extended characters that differ across encodings.
Client-side only — no uploads
Decoding happens in your browser with no network requests. Packet payloads, memory snapshots, and key material stay on your device and are never sent to a server.
Informative error reporting
If the input contains an invalid hex character or an odd-length plain hex string, a clear inline error message identifies the problem immediately rather than silently producing wrong output.
One-click copy
Copy whichever output tab is currently active to the clipboard with a single button, ready to paste into a terminal, code comment, or report.
How to Use
Enter Hex Data
Paste your hexadecimal string into the input area.
Configure Options
Select the input format and character encoding as needed.
Decode & Copy
Click "Decode" to convert the hex to readable text, then copy the result in your preferred format.
Example
Plain hex "48656c6c6f2c20576f726c6421" is decoded byte-by-byte: 0x48 = H, 0x65 = e, 0x6c = l, 0x6c = l, 0x6f = o, 0x2c = comma, 0x20 = space, then "World!". The Text tab shows the reconstructed string; switching to Binary shows each byte as an 8-bit pattern.
48656c6c6f2c20576f726c6421 Hello, World! Common Use Cases
- arrow_circle_right
Inspecting network packet payloads
Wireshark and other packet analyzers display payload bytes as hex. Paste a payload string here to see the raw text, protocol fields, or binary content without writing a custom script.
- arrow_circle_right
Reversing hex-encoded API or database values
Some APIs and databases store strings as hex blobs. Decode the value here to confirm what string it actually represents before writing a migration or fix.
- arrow_circle_right
Reading file format magic bytes and headers
The first bytes of a file identify its type (e.g., PDF starts with 25 50 44 46). Paste the hex header to confirm the file type or find embedded metadata in a binary format.
- arrow_circle_right
Debugging hex-escaped source code strings
Languages like Python, C, and Rust allow hex escape sequences in string literals. Decode a suspicious escape sequence to verify what character or control code it represents at runtime.
- arrow_circle_right
Verifying certificate fingerprints and MAC addresses
TLS certificate fingerprints and MAC addresses are conventionally written as colon-separated hex pairs. Select the Colon Separated input format and the ASCII Codes output tab to cross-check values byte by byte.