Unicode Escaper
Convert characters to \uXXXX escape sequences.
Runs locally · Nothing uploaded
Plain text
Escaped text
Result will appear here…Advertisement
About Unicode Escaper
Escapes non-ASCII characters as \uXXXX sequences (with surrogate pairs for characters outside the BMP), leaving plain ASCII readable. This is the form used in JSON, Java properties files, and many source files that must stay ASCII-only. Useful for making invisible or ambiguous characters explicit.
Related tools
EncodingRuns locally in your browser.Unicode UnescaperConvert \uXXXX and \u{...} escape sequences back to characters.EncodingRuns locally in your browser.UTF-8 InspectorSee the code points and UTF-8 bytes behind every character.EncodingRuns locally in your browser.JS String EscaperEscape text for safe use inside JavaScript or JSON string literals.