BTC $62,327.00 −2.20% ETH $1,738.55 −2.04% USDT $0.9992 −0.01% BNB $576.41 −1.45% USDC $0.9996 +0.00% XRP $0.9654 +0.84% SOL $72.33 +0.26% TRX $0.3085 +0.28% FIGR_HELOC $1.01 −2.03% STETH $1,796.44 −1.86% ZEC $917.53 −1.16% HYPE $65.78 −3.01% XMR $489.01 −2.24% BSC-USD $0.9993 −0.02% BTC $62,327.00 −2.20% ETH $1,738.55 −2.04% USDT $0.9992 −0.01% BNB $576.41 −1.45% USDC $0.9996 +0.00% XRP $0.9654 +0.84% SOL $72.33 +0.26% TRX $0.3085 +0.28% FIGR_HELOC $1.01 −2.03% STETH $1,796.44 −1.86% ZEC $917.53 −1.16% HYPE $65.78 −3.01% XMR $489.01 −2.24% BSC-USD $0.9993 −0.02%

Unicode Escape and Unescape

Write emoji and non-English letters as \u00e9, \u{1F600}, ☺ or U+2764, or turn those codes back into readable text.

  • 100% Free
  • No sign-up
  • Runs in your browser

What is the Unicode Escape and Unescape?

Sometimes a file or a program can only hold plain ASCII. Then letters like é, ü or ع and every emoji have to be written as escape codes. JavaScript and JSON write é as é. Python writes 😀 as \U0001F600. CSS writes \e9 and HTML writes é. They all say the same thing, just in a different form.

Paste text and pick the style your code needs. Paste escaped text and press Unescape, and you get readable letters back. Unescape reads every style at once, so a log line that mixes \u codes, &#x entities and \x bytes still comes out clean.

Emoji outside the basic range are handled the right way for each style. JavaScript gets a surrogate pair (😀), modern JavaScript gets \u{1f600}, and Python gets the 8-digit \U form.

Features

Seven styles

JavaScript, ES6, Python and Java, CSS, HTML, U+ and UTF-8 bytes.

Emoji done right

Surrogate pairs where the language needs them.

Reads mixed input

Unescape handles every style in the same text.

Private

Runs in your browser. Nothing is sent anywhere.

How to use the Unicode Escape and Unescape

  1. 1

    Paste your text or the escaped codes.

  2. 2

    Pick the direction and the style.

  3. 3

    Copy the result.

Who it is for

Developers

Put Arabic, Chinese or emoji text in a source file that must stay ASCII.

Translators

Read .properties and JSON language files full of \u codes.

Support teams

Make sense of API responses and logs that show ال instead of words.

Web designers

Write the CSS code for an icon or special symbol in content: "\2713".

Tips for better results

  • JSON allows real UTF-8 letters, so escaping is only needed when the receiving system is old or strict.
  • Pick "Every character" to escape plain English letters too. It is handy for puzzles or for hiding a word from search.
  • If decoded text looks like é, the text was decoded twice with the wrong charset. Try the UTF-8 bytes style on the original.

Questions people ask

What is a Unicode escape?

A way to write any character with plain ASCII. You use its code number, like é for é. The program that reads it turns the code back into the letter.

Why does one emoji become two \u codes?

JavaScript and JSON strings use 16-bit units. Characters above U+FFFF, like most emoji, need two of them, called a surrogate pair. Modern JavaScript can use \u{1f600} instead.

Do I need to pick a style to decode?

No. Unescape finds \u, \u{}, \U, \x, &#x, &#, U+ and CSS codes in the same text.

Is the converter free?

Yes. There is no sign-up and no limit.

Is my text uploaded?

No. The conversion runs in your browser, so your text never leaves your device.

Does decoding need the right style?

No. Unescape reads all the styles at once, even mixed in one text.

Trustpilot

What our customers say

4.8 / 5Trustpilot rating
FREE BITCOIN TOOLS

Stuck Bitcoin transaction?

Paste your TXID, see where it stands, and give it a free push. No signup, no wallet access.

Try the free accelerator
  • Free
  • No signup
  • Live status