JSON Escape and Unescape

undefined


What this tool does

undefined

How it works

Escape wraps your text as a valid JSON string literal (quoting, backslashes, control characters and Unicode all handled via JSON.stringify). Unescape parses a JSON string literal back to its raw text, adding surrounding quotes automatically if you paste one without them.

Frequently asked questions

Does this handle Unicode characters?
Yes, both directions fully support Unicode, since they rely on the browser's native JSON parser and serializer.