Skip to main content

Find your next tool

Prepare, check, then export

Hex to Text & Text to Hex Converter

Encode text as hexadecimal UTF-8 bytes or decode hex to text. Validate byte pairs, preserve controls and convert TXT batches with ZIP export.

Loading text workspace…

Benefits

  • Choose UTF-8 for multilingual text or strict ASCII for a 0–127 character requirement.
  • Get explicit errors for incomplete groups and invalid UTF-8 instead of silently damaged text.
  • Convert up to 20 TXT files with numbered outputs and a per-file failure report.

When this helps

  • Read a text field encoded in a diagnostic log.
  • Check the UTF-8 bytes of accented names and emoji.
  • Prepare decoded text for comparison and document export.

How to use this tool

  1. Choose Text to hex or hex to text, then select the character encoding.
  2. Paste input, import a UTF-8 TXT file or load the example.
  3. Review the live result. Select an output byte separator when encoding.
  4. Copy, download, reverse the result or continue with readable text.

Hexadecimal bytes are not Unicode code points

Hexadecimal is a compact way to display bytes. Two hex digits represent one byte, from 00 to FF. A plain English letter often occupies one byte in UTF-8, which makes a short example look like a character-by-character substitution. That shortcut stops working for much of the text people actually write. An accented letter can take two bytes; an emoji can take four or form a longer sequence.

The code point U+00E9 identifies the character é. Its UTF-8 bytes are C3 A9, not E9. Feeding the single byte E9 into a strict UTF-8 decoder is therefore an error, even though the hex itself is valid. If a log was produced using a legacy encoding, establish that encoding at the source rather than guessing until the output looks plausible.

This converter checks hexadecimal syntax before attempting character decoding. A compact run such as 4869 is accepted. So are complete groups such as 48 69, 48:69 and 0x48,0x69. An odd number of digits in a group is rejected. Address columns, escaped programming-language strings and the printable side column of a full hexdump are outside this parser; paste only the byte data.

Keep the numeric and text tasks separate. Hex FF represents the integer 255, but it is not a valid standalone UTF-8 text byte. Use the number-base converter to calculate that value, and this tool when the bytes encode a message. Successful text can continue into the existing document tools. NULL characters remain in downloads, although the document handoff rejects them.

Formats, limits and privacy

  • Source and decoded text: 20,000 UTF-16 code units. Encoded input: 720,000 characters and up to 80,000 bytes.
  • UTF-8 TXT files: 1 MiB each. Batch: 20 files, at most 5 MiB combined.
  • NULL and a leading BOM are preserved. Document handoff is unavailable for NULL-containing text.
  • No UTF-16, Windows-1252, full hexdump address columns or programming-language escape parsing.

These tools process text locally. There is no draft autosave. Download important work before leaving; temporary file handoffs expire after 30 minutes.

Frequently asked questions

Can I reverse the hex conversion?

Yes. Use the reverse action after a successful conversion. The output becomes the new input and the direction changes.

Why does decoding fail?

Check complete byte groups and the original character encoding. Valid byte syntax does not guarantee valid UTF-8 text.

Does encoding protect confidential text?

No. Binary and hexadecimal representations are reversible, not encryption. These conversions run locally in the browser.

Continue your document workflow

Use a Continue button inside the workspace to carry your text; these links open a fresh tool.