jsonecho

JavaScript Unescape

Paste escaped JavaScript text and get the original characters back.

Loading the tool...

How to use JavaScript Unescape

  1. Paste the escaped text.
  2. Copy the readable result.

About JavaScript Unescape

The opposite situation: you have a string from source code or a log, full of \n, \" and \u00e9, and you want to read it as plain text. This tool converts every escape sequence back to its character.

Short escapes (\n, \t), hex (\x41), four-digit unicode (\u00e9), brace unicode (\u{1F600}) and octal sequences are all understood.

Frequently asked questions

Does it understand \u{...} escapes?

Yes, both the four-digit form and the braces form, including characters outside the Basic Multilingual Plane such as emoji.

What about unknown escapes like \q?

The backslash is dropped and the character stays, which is what JavaScript itself does in non-strict string literals.

Can I paste the surrounding quotes too?

Remove them first. The tool treats everything you paste as the string content.

More in Escape and Text

All tools →