Escape and unescape text for safe use inside JavaScript string literals. Handles quotes, backslashes, and control characters.
const s = "{\"quote\"}";Hello\nWorld\t!JavaScript escaping converts special characters (quotes, newlines, tabs, backslashes) so text can be safely embedded in JS string literals without breaking syntax.
This tool works locally in your browser and supports both Escape and Unescape modes.
Convert text in two steps:
Common scenarios:
Swiftly document and share bugs like never before
Free Forever. No Credit Card Required.
Use AI to reproduce and fix bugs
Screen Recording with Rewind (Upto 2-min)
Capture backend logswith every bug report
Assign bugs and share at single click