Free Unicode Text Converter
Escape sequences like \u00e9 are how code represents special characters. This free two-way tool encodes text into \uXXXX escapes — for JSON, Java and JavaScript — and decodes escapes back into readable characters.
How to Use the Unicode Text Converter
- Choose the direction: encode or decode.
- Type or paste your input.
- Click “Convert”.
- Copy the escaped or decoded result.
Features
Encodes every non-ASCII character as \uXXXX (with proper surrogate pairs for astral characters like emoji), leaving plain ASCII untouched for readable output. Decodes both \uXXXX and \u{...} forms back to characters. Bidirectional in one tool.
Benefits & Use Cases
Developers prepare JSON and Java string literals with escaped Unicode. Debuggers decode \uXXXX sequences found in logs and API responses. i18n engineers verify translation files. Learners see exactly how escapes map to characters.
Tips
Astral characters (emoji) encode as surrogate pairs like \ud83d\ude00 — that is correct UTF-16 behavior. ASCII letters, digits and basic punctuation are left as-is so output stays readable. When decoding, both \u00e9 and \u{e9} forms work.
Frequently Asked Questions
Is the Unicode converter free?
Yes, free and unlimited.
What is a \uXXXX escape?
A way to write a Unicode character as backslash-u plus four hex digits, common in JSON, Java and JavaScript.
Why does emoji produce two escapes?
Emoji live outside the Basic Multilingual Plane, so UTF-16 represents them as a surrogate pair — two \uXXXX sequences.
Can it decode \u{...} form?
Yes, both \uXXXX and the braced \u{...} notation decode correctly.
Is my text uploaded?
No, conversion runs entirely in your browser.
Related Tools
ASCII Converter
Convert text to ASCII codes and decode them back free online. Two-way ASCII converter with full Unicode support — no sign-up, runs in your browser.
Open tool →Text to Base64
Encode any text to Base64 free online. Unicode-safe encoder with output length stats, copy and download — no sign-up, runs in your browser.
Open tool →Text to Hex
Encode text as hexadecimal bytes free online. UTF-8 hex output with space, colon or continuous separators — no sign-up, runs in your browser.
Open tool →Text to Binary
Convert text to 8-bit binary code free online. UTF-8 bytes with space, line or continuous separators — no sign-up, runs in your browser.
Open tool →Text to Morse Code
Translate any text into Morse code free online. Full letters, numbers and punctuation plus optional audio playback — no sign-up needed.
Open tool →