Escape raw text into JavaScript-safe string literal content or decode JavaScript escape sequences back into readable text.
Output will appear here...
Escape sequences
0
Control chars
0
Output chars
0
The parser decodes only supported string escapes and throws readable errors for malformed or unsupported sequences.
Hex escapes use two digits, while Unicode escapes use four digits or a code point inside braces. The brace form can represent emoji in a single escape.
Escape mode can emit compact code point escapes or classic surrogate pair unicode escapes for higher code points.
Related Tools
Build and preview Valorant crosshair settings.
Search common Vim commands.
Turn JSON rows into bar, line, or pie charts.
Convert WebP files and Base64 data in both directions.
Convert GIF files into Base64 text or data URLs.
Convert the first GIF frame into a JPG image.