String Escape / Unescape
Add or remove escape sequences for five common contexts. Choose the target language and the tool applies the correct rules for quotes, backslashes, and special characters.
Runs locally in your browser
Escape within a JSON string literal. Backslash, quote, and control characters are replaced with \n, \t, \uXXXX sequences.
Raw
98 chars · 4 lines
Escaped JSON string
She said, \"It's <magical> & fast — don't you think?\"\nPath: C:\\Users\\ada\\code.js\nNew line:\ntab\there
Input
98 chars
Output
107 chars
Context
json
Direction
escape
Related tools
About String Escape / Unescape
Add or remove escape sequences for five common contexts. Choose the target language and the tool applies the correct rules for quotes, backslashes, and special characters.
String Escape / Unescape is part of FizzKit — a collection of focused, browser-based tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.
Frequently asked questions
JSON strings, HTML content, URL components, JavaScript string literals, and SQL string literals.