Unicode Escape / Unescape
Convert non-English characters to \uXXXX codes and back.
Also called: Unicode converter, \u escape decoder.
Unicode Escape / Unescape
Convert non-English characters to \uXXXX codes and back.
Watch: how to use the Unicode Escape / Unescape (14 seconds)
Recorded on a phone, steps written on screen, no sound.
About the Unicode Escape / Unescape
Convert non-English characters to \uXXXX escape codes (used in JSON, Java and JavaScript) and back. Example: é → \u00e9.
How the codes look
Escaping turns every character outside basic English (ASCII) into a \uXXXX code: é becomes \u00e9. Characters outside the basic range, such as emoji, become two codes, so 😀 becomes \ud83d\ude00, the form that JavaScript and JSON use.
Unescaping reads both \u00e9 and the longer \u{1F600} form and turns them back into the characters. English letters, numbers and line breaks are not changed in either direction.
How to use the Unicode Escape / Unescape
- Enter your textType or paste your text.
- Pick the optionsaction (the defaults suit most uses).
- Press Run toolThe result appears right under the button.
- Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.
This tool works inside your browser: what you enter stays on your device.
Example
The result the Unicode Escape / Unescape gives for a short sample note that contains a date, an e-mail address, a web address, a phone number and prices (produced by the tool itself).
- Action
- Escape
Result:
Caf\u00e9 Ol\u00e9 opened on 12 March 2025 in Lahore. Email hello@example.com or visit https://example.com/menu for the menu. Call +92 300 1234567 to order; delivery is free over 1500 rupees. The caf\u00e9 serves 3 kinds of coffee and 2 kinds of tea.
Good to know
- What you need
- You type or choose: Input text
- Where it runs
- In your browser, on your device.
- Cost
- Free, no sign-up.
Questions
What about emoji?
They become two \u codes (a surrogate pair).
Is this the same as URL encoding?
No; use URL Encode / Decode for links.