Unicode to ASCII Converter
Encode Unicode text to \uXXXX ASCII-safe escape sequences, live as you type.
Encodes text into standard \uXXXX escape sequences — an ASCII-only representation useful for serialization formats, config files, and systems that can't handle raw Unicode. Characters beyond the Basic Multilingual Plane use the \u{XXXXX} form instead. Converts live as you type, entirely in your browser.
Need the opposite? ASCII to Unicode Converter
What is Unicode to ASCII Converter?
Type or paste Unicode text and get its \uXXXX escape sequence form instantly, an ASCII-only representation useful for serialization formats, config files, and systems that can't handle raw Unicode bytes. Every character in the input is escaped, including plain ASCII letters, so the output is a fully ASCII-safe string you can drop into a `.properties` file or any format that only tolerates the 0-127 range. Characters outside the Basic Multilingual Plane, most emoji included, can't fit in a single 4-digit escape, so those use the \u{XXXXX} form instead. Conversion happens live as you type, entirely in your browser; nothing you enter is sent to a server.
Common Unicode to ASCII Escape Examples
| Character | Escape Sequence |
|---|---|
| A (U+0041) | \u0041 |
| é (U+00E9) | \u00e9 |
| © (U+00A9) | \u00a9 |
| € (U+20AC) | \u20ac |
| Em dash (U+2014) | \u2014 |
| 中 (U+4E2D) | \u4e2d |
| 😀 (U+1F600) | \u{1f600} |
How to Use the Unicode to ASCII Converter
- 1
Type or Paste Unicode Text: Enter any text, including accented letters, symbols, or emoji.
- 2
Read the Escaped Result Instantly: The \uXXXX / \u{XXXXX} escape sequence form appears automatically as you type.
- 3
Copy the Result: Use the copy button to copy the ASCII-safe escaped text for use in a config file or serialization format.
How the Escaping Works
Every character has a Unicode code point, a number identifying it. For characters within the Basic Multilingual Plane (code points up to U+FFFF, which covers the vast majority of letters, symbols, and CJK characters), the escape is \u followed by that code point in 4-digit hexadecimal, zero-padded. Characters above U+FFFF, mostly emoji and some rarer scripts, can't fit in 4 hex digits, so they use the \u{XXXXX} form instead, with the hex digits inside braces.
How to Convert Unicode to ASCII Escapes
Look up each character's Unicode code point, convert it to hexadecimal, and format it as \uXXXX (padding to 4 digits) or \u{XXXXX} if the code point exceeds U+FFFF. For example, é has code point U+00E9. In hex that's already e9, so it becomes \u00e9 after zero-padding to 4 digits. For an emoji like 😀 (U+1F600), the code point 1f600 already has 5 hex digits, so it's written as \u{1f600} rather than the fixed 4-digit form.
Unicode to ASCII Examples
The word "café" becomes \u0063\u0061\u0066\u00e9: every character escaped, including the plain ASCII c, a, and f, not just the accented é. A copyright symbol © (U+00A9) becomes \u00a9. The em dash character, U+2014, becomes \u2014.
Frequently Asked Questions
Common questions about Unicode to ASCII Converter.