HCODX/Hex to Text
100% browser-based · UTF-8 decoded · Forgiving input parser

Hex to Text

Convert a hex byte sequence back to text in your browser. UTF-8 decoded. Tolerates spaces, commas, dashes, colons, newlines, and 0x prefixes — paste in any reasonable hex dump format.

Hex bytes
Plain text
Decode options
Reverse (Text → Hex)
Input size
0 B
Output size
0 B
Byte count
Status
Ready
Example

Hex in, text out

Strip prefixes / separators, parse pairs, UTF-8 decode the resulting bytes.

Hex bytes
48 65 6c 6c 6f
Plain text
Hello
Use cases

What you'll use this for

When you have hex on hand and need readable text — debugging, CTFs, protocol inspection, or teaching encoding.

Decoding hex dumps

Convert a hex dump from a debugger or network capture back to readable text.

CTF / reverse engineering

Decode hex-encoded flags or strings from a binary.

Wire protocols

Inspect the text payload inside a packet.

Education

Demonstrate UTF-8 byte sequences.

Step by step

How to decode hex to text

1

Paste hex

Any separator, any case, optional 0x prefixes.

2

(Optional) toggle Strict mode

Reject anything that isn't hex.

3

Click Decode

Bytes are parsed and UTF-8 decoded.

4

Copy or download

Save as .txt.

FAQ

Frequently asked questions

Spaces, commas, dashes, colons, semicolons, newlines, and the 0x prefix. Non-hex characters are stripped by default (loose mode).

Loose mode pads with a trailing 0. Strict mode errors out.

Yes. No signup, no limits, no ads.

The output will contain replacement characters (). For lossless byte inspection use the reverse Text to Hex tool.

No. 4A, 4a, 0x4A all decode the same.

About

About this decoder

Hex is base 16 — each pair of 0-9 / a-f characters represents one byte. This decoder strips separators, parses the byte stream, then decodes it as UTF-8.

What it accepts

  • Any separator — spaces, commas, dashes, colons, newlines.
  • Optional 0x prefix on each byte.
  • Either case4A and 4a are equivalent.

Limitations

  • Bytes only. If you have Unicode code points (not UTF-8 bytes), use ASCII to Text.
  • Invalid UTF-8 yields replacement characters; the byte count still updates so you know the size.
Related

Related tools