Encoding accented text
"Café" encoded as \uXXXX becomes \u0043\u0061\u0066\u00E9 — every character, including the accented é, becomes its 4-digit hex code point.
Convert text to Unicode escape sequences and decode them back to text — free online.
About
Converts text into Unicode escape sequences in four common formats, and decodes them back into readable text.
Developers use it to encode a string with special characters into the exact escape format a JSON payload or source file needs, while anyone decoding a mysterious \uXXXX sequence from code or a log uses it to see what character it actually represents. It's one of many free converters on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.
Examples
3 worked examples
"Café" encoded as \uXXXX becomes \u0043\u0061\u0066\u00E9 — every character, including the accented é, becomes its 4-digit hex code point.
😀 encoded as \uXXXX becomes \uD83D\uDE00 — since it's outside the basic multilingual plane, it's represented as a UTF-16 surrogate pair rather than a single unit.
★ decoded back to text gives ★, since U+2605 is the black star character.
FAQ
Quick answers to common questions about the Unicode Converter.
It converts text into Unicode escape sequences — in \uXXXX, U+XXXX, HTML entity or %uXXXX format — and decodes escapes back into text.
Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.
Yes. The text or escapes you enter are processed entirely on your own device — nothing is sent to a server.
\uXXXX is the format JavaScript and JSON use; U+XXXX is how the Unicode standard itself refers to code points; HTML numeric entities (&#xXXXX;) are used in HTML markup; %uXXXX is a legacy URL-encoding scheme some older systems use.
Yes. Characters outside the Unicode basic multilingual plane, including many emoji, are handled using their correct surrogate-pair or full code-point representation depending on the format chosen.
Yes. Paste them into the Unicode escapes box with the matching format selected, and click "Unicode to text".
Yes. The page is fully responsive and works on mobile, tablet and desktop browsers alike.
Decoding expects well-formed escapes in the selected format; malformed or mixed-format input may not decode into valid text.
Did Unicode Converter work for you?