Skip to content

Unicode Escape / Unescape

Embed

Paste this where you want Unicode Escape / Unescape on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/unicode-escape-unescape/" width="100%" height="500" frameborder="0" loading="lazy" title="Unicode Escape / Unescape"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/unicode-escape-unescape/">Unicode Escape / Unescape</a> by BrowserUtils</p>

Escape and unescape Unicode sequences.Runs in this tab.

Next step

About Unicode Escape / Unescape

Free online Unicode escape and unescape tool. Convert characters to \uXXXX escape sequences or decode escape sequences back to text. It runs in your browser. Nothing is sent to a server.

Questions

What are Unicode escape sequences?
Unicode escape sequences represent characters as \uXXXX where XXXX is the hexadecimal code point. They are commonly used in JavaScript, JSON, and Java source code.
Does this support characters outside the BMP?
Yes. Characters outside the Basic Multilingual Plane are represented as surrogate pairs (\uXXXX\uXXXX) or \u{XXXXX} notation.
When should I use Unicode escapes?
Use Unicode escapes when your source file encoding cannot represent certain characters, or when you need to include special characters in JSON strings or JavaScript without encoding issues.
Can I unescape sequences from a JSON file?
Yes, paste Unicode escape sequences like \u00E9 and the tool will convert them to their readable characters (e.g., e with accent).
How do I type emoji using Unicode escape codes?
Emoji are typically outside the Basic Multilingual Plane and require surrogate pairs (e.g., \uD83D\uDE00 for a grinning face) or the extended notation \u{1F600}.
Does this Unicode tool work offline?
Yes, all escaping and unescaping runs in your browser with no server calls. You can use it without an internet connection after the page loads.

More in Encoding & Decoding

All 20 encoding & decoding