JSON Escape & Unescape

Escape JSON strings for embedding in other JSON or code, or unescape previously escaped JSON strings back to their original format.

Input

Output

What is JSON Escape & Unescape?

JSON escaping converts special characters in strings (like quotes, backslashes, and newlines) into escape sequences so they can be safely embedded in JSON or source code. Unescaping reverses this process. JSONKit handles both directions instantly, useful when working with nested JSON strings or embedding JSON in code.