Convert Text to Unicode Escape Sequences
Convert text to Unicode escape sequences (\uXXXX) and back.
🔒 100% client-side — no data sent
Turn text into Unicode escape sequences (\uXXXX) and back in one click. Handy for JSON and JavaScript strings or to inspect special characters and emojis. Processing is 100% local in your browser, so your data stays private.
What is it for?
- ▸ Escape accents or emojis for JavaScript code
- ▸ Decode a \uXXXX string found in a JSON file
- ▸ Inspect the code points of a special character
- ▸ Make text ASCII-safe for a legacy system
FAQ
What does \uXXXX mean?
It is the notation of a character by its Unicode code point in hexadecimal, used in JavaScript, Java and JSON.
Does it handle emojis and characters beyond the BMP?
Yes, they are represented by a surrogate pair as two \uXXXX sequences.
Is my text sent anywhere?
No, the conversion happens entirely in your browser.
Related tools
ASCII table Searchable ASCII reference table (decimal, hex, octal, character), in your browser. ASCII text art Turn text into large ASCII letters (figlet banner style), right in your browser. Bionic reading Bold the start of each word to read faster (bionic reading), in your browser. Case · converter Convert text to camelCase, snake_case, kebab-case, CONSTANT_CASE, and more. Character and word counter Count characters, words, sentences, lines and paragraphs of pasted text in real time, in your browser. Slug → text Turn a slug (my-url-title) into readable text (My Url Title), right in your browser.