Worked example
Escaping First line↵Second line produces \n. Quoted text becomes \"text\", suitable for inclusion in a JSON string value.
Understanding settings and results
- Escaping operates on string content; it does not wrap the text in an object.
- Unescaping requires valid backslash sequences.
Scope and limitations
- Repeated escaping produces doubled backslashes. Confirm how many encoding layers the target requires.
- URL encoding and JSON escaping are different operations.
Troubleshooting
- Many remaining backslashes can mean the text was escaped twice. Unescape one layer at a time and verify.
- An invalid \u sequence needs four hexadecimal digits.
Privacy and processing
All string operations run locally in the browser.