A hex to text example is 48 69 20 63 61 66 C3 A9, which decodes as UTF-8 to Hi café.

Each pair of hexadecimal digits represents one byte. In this example, the early bytes contain one-byte ASCII characters, while C3 A9 is the two-byte UTF-8 representation of é. Hexadecimal describes the bytes; UTF-8 determines how those bytes become characters.

hex to text example
Hex to Text Example: Decode UTF-8 Bytes

Decode the Example in the Converter

The Hex to Text Converter parses the hexadecimal and validates the complete byte sequence in your current browser tab.

  1. Paste 48 69 20 63 61 66 C3 A9 into the hexadecimal input field.
  2. Use plain hexadecimal mode. If your copied input contains spaces, enable the option for ASCII whitespace separators.
  3. Start the decode. The converter parses the even-length groups into bytes, then validates the entire sequence as UTF-8.
  4. Review the decoded text and reported byte count. Copy the result if your browser grants clipboard access, or select it for manual copying.

The successful output is Hi café. The final pair, C3 A9, must be interpreted as one complete multibyte UTF-8 character. Removing either half would leave an invalid sequence, so the converter would reject the entire input rather than return the earlier letters as partial text.

Choose the Correct Hex Format

The accepted syntax is deliberately narrower than a general-purpose programming expression. Choose one of these forms and configure the converter to match it:

Input style Example shape Requirement
Continuous plain hex 48656C6C Contains only hexadecimal digits and has an even number of digits.
ASCII-separated plain hex 48 65 6C 6C ASCII whitespace is enabled, and every group still has an even number of digits.
Explicit prefixed bytes 0x48 0x65 0x6C 0x6C Every token is exactly 0xNN, meaning one prefix and two hexadecimal digits.
Single prefixed byte 0x48 Valid when whitespace separators are disabled and only one prefixed token is present.

In plain mode, one group can contain several bytes. For example, 4869 and 48 69 are both accepted when whitespace separators are enabled. Uppercase and lowercase hexadecimal digits represent the same byte values.

The 0x option uses a separate, unambiguous mode. If any case-insensitive 0x prefix appears, every token must be exactly 0xNN and tokens must be separated by enabled ASCII whitespace. Plain and prefixed forms cannot be mixed, so 0x41 42 fails. Concatenated prefixes such as 0x410x42, three-digit tokens such as 0x041, one-nibble tokens, and a bare 0x are also invalid.

Enabled separators are limited to ASCII space, horizontal tab, line feed, form feed, and carriage return. Other Unicode spacing characters, including a non-breaking space, are rejected instead of being invisibly normalized. Leading or trailing ASCII whitespace can surround valid content when separators are enabled, but whitespace-only input is an error. If whitespace is disabled, any ASCII whitespace is rejected.

Read the Result as UTF-8, Not Guesswork

After hexadecimal parsing, the converter uses the browser’s fatal UTF-8 decoder. The TextDecoder constructor documentation describes the fatal option, while RFC 3629 defines the valid UTF-8 sequence ranges and Unicode scalar-value ceiling.

Strict validation matters because a permissive decoder can replace malformed bytes with U+FFFD and make damaged data look like a successful conversion. This converter instead rejects stray continuation bytes, truncated multibyte sequences, overlong encodings, encoded surrogate code points, and values above U+10FFFF. It never drops a bad suffix, returns an earlier valid prefix, or inserts a replacement character.

Two UTF-8 details can otherwise look surprising. A byte order mark at the beginning of the input is consumed by the standard decoder wrapper, while the same byte sequence in the middle remains the actual U+FEFF character. A BOM by itself is valid and produces empty visible output. Byte 00 is also valid UTF-8 data: it becomes U+0000 rather than acting as a C-style string terminator.

Repair the Input the Error Identifies

Different failures require different corrections. The converter reports syntax and UTF-8 errors separately so you can fix the source representation rather than guessing at the intended characters.

  • Odd nibble: Each plain group needs an even number of digits. A space between two one-digit halves does not make them a byte, so 4 8 is rejected rather than silently repaired as 48.
  • Mixed syntax: The presence of any 0x prefix activates prefixed mode. Convert every token to the same style instead of combining prefixed and plain groups.
  • Unsupported separator: Commas, dashes, colons, brackets, escapes, comments, and unit labels are errors. Use a permitted ASCII separator only when it accurately represents the source bytes.
  • Invalid UTF-8 sequence: Correct the malformed bytes using a trusted source. The converter cannot safely infer whether the intended character was Latin-1, UTF-16, or another encoding.
  • Unicode whitespace: A non-breaking space is not an enabled separator. Replace it with an ASCII space only if it was added merely for formatting.
  • Budget error: Reduce the input or decoded content. The tool does not sample, slice, or silently truncate oversized data.

Respect the Independent Size Limits

Hex input, parsed bytes, and decoded text have separate limits:

Resource Exact maximum When it is checked
Raw hexadecimal input 2,000,000 UTF-16 code units Before hexadecimal parsing begins.
Parsed byte output 1,000,000 bytes After parsing, before the output byte array is allocated.
Decoded text 1,000,000 UTF-16 code units After strict UTF-8 decoding.

Each exact limit is accepted, while one unit beyond a limit is rejected with wording that nothing was decoded, returned, or truncated. These budgets are independent: prefixed notation uses more source characters per decoded byte, so 0x-prefixed input can reach the raw-input limit before it reaches the parsed-byte limit. The raw input is not trimmed before that check, which keeps accepted and rejected sizes predictable.

Confirm the Source Is Hexadecimal UTF-8

This converter decodes UTF-8 only. It does not guess Windows-1252, ISO-8859-1, UTF-16, Shift_JIS, or another legacy encoding because silent guessing can change the meaning of the bytes. It also does not interpret integer literals, reverse byte order, remove nulls, evaluate escapes, decrypt data, or execute decoded content.

A formatted memory dump is a different input type. Its addresses, offsets, and columns are not part of the encoded text, so first extract only its byte column with an appropriate trusted workflow. If the source actually contains binary digits rather than hexadecimal, use Binary to Text. For Base64 transport data, use Base64 Encode / Decode instead.

Review and Copy the Valid Result

A successful decode appears in a read-only field with its byte count. Editing the hexadecimal or changing either syntax option immediately clears the previous result, error, and copied state, preventing an outdated result from being mistaken for the current input.

Clipboard access depends on browser permissions and secure-context policy. If copying fails, the decoded text remains selectable and the interface provides a manual-copy instruction. Hex parsing, byte allocation, fatal UTF-8 decoding, display, and clipboard preparation happen locally. Your source bytes, decoded characters, and clipboard content are not uploaded to Lizely.

Related reading: How to Choose the Right Approach to Hide a Message in Text.

Related reading: Text to Binary UTF-8: Format Rules, Errors, and Limits.