Text to Unicode converter
Convert your text to Unicode escape codes, in the notation you need: é as U+00E9, \u00e9, é or é.
How it works
-
Paste your text
Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.
-
Instant result
The result appears as you type. Change the options and see straight away what changes.
-
Copy or download
Copy the result with one click, save it as a file or use it as input for a next step.
Notations
| Format | Example for é | Used in |
|---|---|---|
| U+00E9 | U+00E9 | documentation, Unicode charts |
| \u00e9 | \u00e9 | JavaScript, JSON, Java |
| é | é | HTML (decimal) |
| é | é | HTML (hexadecimal) |
The \u form is UTF-16, like JavaScript: an emoji such as 😀 becomes a pair of escapes (\ud83d\ude00).
Tick Leave plain letters and digits alone to convert only the non-ASCII characters, which is what you need to make text safe for a source file or a JSON string. To read escape codes back as text, use Unicode to text. For named HTML entities like é, use the HTML entities converter.
Frequently asked questions
Is the text to Unicode free?
Yes. The text to Unicode is completely free, with no account, sign-up or usage limit.
Is my text stored?
No. Your text is processed in your browser and is not sent to a server or stored.
Is there a maximum length?
No, there is no fixed limit. Very long texts can just be a little slower.