How to use Unicode Escape and Unescape
Represent text with JavaScript-style Unicode escapes or turn those escapes into readable characters. Choose code point style or UTF-16 code units when encoding.
- Paste the text, select Encode or Decode and choose the escape style you need.
- Verify an example containing accent marks or emoji in the resulting text.
Example input
Field notes from Tallinn. Tere! ☀
Example use
Create an escaped test fixture from multilingual sample text and confirm that the decoded result matches the originals.
Output and compatibility
An emoji can be one Unicode code point above the basic plane or appear as two UTF-16 code units in escaped text. Receiving languages support different conventions for braces and surrogate pairs.
Troubleshooting
If a target parser rejects brace syntax, try UTF-16 code units where it supports them. Confirm whether the source includes an extra layer of backslash escaping.
Use Unicode Inspector to identify character code points before escaping them.
Frequently asked questions
Is this percent encoding?
Unicode escapes represent character values with a backslash form. See URL Encode or Decode for percent encoding.
Can it decode surrogate pairs?
It decodes UTF-16 escapes as code units; a valid pair renders as its combined character.