Free Unicode to Text Converter
The Unicode to Text Converter turns Unicode escape sequences back into readable characters. It understands JavaScript \uXXXX and \u{XXXXX} notation, HTML numeric entities, and mixed input.
The encode direction is Text to Unicode Converter, and the same transformation in another base is Text to Octal Converter. For stripping markup that arrived alongside the escapes, Strip HTML Tags handles it.
How to use the Unicode to Text
- 1 Paste the escaped, entity-encoded, or code-point-listed string into the input area.
- 2 The tool detects the notation; use the format selector if the input mixes conventions.
- 3 Check the preview, which shows the decoded characters.
- 4 Copy the plain text output.
Where an escape decoder is needed
The most common case is a string copied out of source code or a log where non-ASCII characters were escaped for safety. The escapes are correct and the data is intact, but the text is unreadable until they are expanded. Doing that by hand across a long line is slow and error-prone; a decoder does it in one paste.
The second is tracking down a rendering bug. A page that shows a box character where a symbol should be may be receiving the right code point and failing to find a glyph for it, or may be receiving the wrong one. Decoding the raw value tells you which, and that distinction determines whether you fix the font stack or the data.
Sanity checks after decoding
- Confirm the character count matches what you expected; a shortfall means an escape failed to decode.
- Look for replacement characters, which indicate an unassigned or invalid code point rather than a decoding error.
- Check that multi-byte characters came back whole, particularly accented letters and symbols.
- If the output mixes scripts unexpectedly, the input was probably a byte string decoded with the wrong charset rather than escaped text.
Frequently asked questions
Which input formats are recognised?
JavaScript and JSON escapes, Python and Java escapes, HTML numeric entities, CSS escapes, U+ notation with various separators, and plain decimal runs. Detection is by pattern, so clearly formatted input is handled automatically. Genuinely ambiguous input — a bare sequence of digits with no markers — needs you to say which convention it uses.
Why does the decoded output look wrong for some characters?
Usually because the input was not what it appeared to be. An escape sequence for a code point that has no assigned character decodes to a replacement glyph or is left as-is, and a surrogate pair that is missing one of its halves cannot be decoded at all. Both cases mean the source string was truncated rather than that the decoding is mistaken.
Can it undo the output of a text-to-unicode conversion?
Yes, and that round trip is a useful sanity check when you are not sure whether a string is genuinely corrupted or merely displayed oddly. Encode it, look at the values, decode it back, and compare with the original. If the round trip is clean, the underlying string is fine and the problem is in whatever is rendering it.
Related Text Tools
You might also need
Tools from other categories that people pair with the Unicode to Text: