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.