JSON Escape & Unescape
Escape special characters in JSON or unescape stringified payloads. Fast, free, and fully client-side.
Input source
Result / Output
How the JSON Escape & Unescape Works
Escapes and unescapes JSON string literals, converting quotes, backslashes, and newlines into safe string sequences (e.g. \", \n, \\).
Usage Example
Escapes raw JSON text so it can be embedded inside string properties of another JSON document or code literal.
Frequently Asked Questions
When is JSON string escaping required?
When embedding stringified JSON payloads inside REST API request bodies or environment variables.
Browse more
See all JSON tools.
