About the Unicode Escape Converter
Convert text to Unicode escape sequences and back. Choose classic JavaScript/JSON escapes (\uXXXX, with surrogate pairs for emoji), ES6 code point escapes (\u{1F680}) or U+ code point notation.
Decoding accepts all three forms, which is useful for reading escaped strings in logs, JSON files and source code.
How to use it
- Choose Encode or Decode and the escape style.
- Paste your text.
- Copy the result.
Features
- \uXXXX, \u{…} and U+ formats
- Correct surrogate-pair handling for emoji
- ASCII characters left readable
Frequently asked questions
Why does an emoji become two \u sequences?
JavaScript and JSON strings are UTF-16. Characters outside the Basic Multilingual Plane, such as most emoji, are stored as a surrogate pair of two code units.
Is my data uploaded anywhere?
No. All processing happens in JavaScript inside your browser tab. Your input is never sent to a server, logged or stored, so it is safe to use with internal or sensitive data.