Unicode Escape

Escape and unescape Unicode characters.

Input Text

Output

About Unicode Escape

Unicode Escape converts non-ASCII characters into their \uXXXX escape sequences (used in JavaScript strings and JSON) and decodes them back to the original characters. This is useful when you need to safely embed Unicode text in source code, compare strings with invisible characters, or debug encoding issues. The tool also displays the Unicode code point and name for each character.

Frequently Asked Questions

Is Unicode Escape free?

Yes, completely free. No signup, no account, no usage limits. Use it as much as you need.

Is my data secure?

All processing happens directly in your browser using JavaScript. Your data is never sent to any server, stored, or shared. It stays entirely on your device.

What format are the escape sequences in?

The default output uses JavaScript/JSON \uXXXX format. You can also get Python-style \uXXXX or CSS-style \XXXXXX sequences.

Does it handle emoji and characters outside the Basic Multilingual Plane?

Yes. Characters above U+FFFF are represented as surrogate pairs (\uD83D\uDE00) in JavaScript format, or as \u{1F600} in ES6+ format.