What is Unicode unescaping?
Unicode unescaping is the process of converting escape sequences in the form \uXXXX (where XXXX is a hexadecimal code point) back to the actual Unicode characters they represent. This is useful when working with text that contains escaped Unicode sequences and you want to see the actual characters.
Examples of Unicode unescaping
Text with escaped Unicode
Café au lait - French coffee with milk
Résumé - Summary of qualifications
こんにちは - Hello in Japanese
你好 - Hello in Chinese
Привет - Hello in Russian
안녕하세요 - Hello in Korean
Γειά σου - Hello in Greek
مرحبا - Hello in Arabic
שלום - Hello in Hebrew
Olá - Hello in PortugueseConverted to actual characters
Café au lait - French coffee with milk
Résumé - Summary of qualifications
こんにちは - Hello in Japanese
你好 - Hello in Chinese
Привет - Hello in Russian
안녕하세요 - Hello in Korean
Γειά σου - Hello in Greek
مرحبا - Hello in Arabic
שלום - Hello in Hebrew
Olá - Hello in PortugueseCommon Unicode escape sequences and their characters
| Unicode escape | Character | Description |
|---|---|---|
| \u00e9 | é | Latin small letter e with acute |
| \u00f1 | ñ | Latin small letter n with tilde |
| \u00f6 | ö | Latin small letter o with diaeresis |
| \u20ac | € | Euro sign |
| \u3042 | あ | Hiragana letter a |
| \u4e2d | 中 | CJK unified ideograph (middle) |
| \u0411 | Б | Cyrillic capital letter be |
| \u03b1 | α | Greek small letter alpha |
When to use Unicode unescaping
- When working with data that contains escaped Unicode sequences and you need to see the actual characters
- When debugging issues with text encoding in applications
- When processing JSON or other data formats that use Unicode escapes
- When converting code or configuration files from ASCII-only to Unicode-compatible environments
- When preparing text for display to users who need to see the actual characters rather than escape sequences
Unicode escaping in different programming languages
| Language | Unicode escape format | Example |
|---|---|---|
| JavaScript | \uXXXX | var text = "Caf\u00e9"; // Café |
| Java | \uXXXX | String text = "Caf\u00e9"; // Café |
| C# | \uXXXX | string text = "Caf\u00e9"; // Café |
| Python | \uXXXX or \UXXXXXXXX | text = "Caf\u00e9" # Café |
| Ruby | \uXXXX | text = "Caf\u00e9" # Café |
Note:
This tool only handles the \uXXXX format of Unicode escapes. Some programming languages and systems may use different formats (like \U00XXXXXX in Python for code points above U+FFFF). Make sure your input uses the \uXXXX format for proper conversion.
Related Tools
- Convert to Unicode - Convert text to Unicode escape sequences
- Convert Characters to Integer Values - Convert text to ASCII/Unicode values
- Convert Diacritics to ASCII - Remove accents and other diacritical marks
- Unicode Normalization - Normalize Unicode text
- Escape JavaScript - Escape special characters in JavaScript strings
All Tools
See all available tools