JavaScript String Escape / Unescape
Escape string contents or decode standard JavaScript escapes without evaluation.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: Unescape accepts common, hex, and Unicode escapes; it never evaluates JavaScript.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use JavaScript String Escape / Unescape
Fill in the fields:
- Operation: Escape string contents, Unescape string contents.
- String contents.
Press “Convert”.
Copy the result, or download it as javascript-string.txt.

