JSON Escape
Escape and unescape JSON strings including unicode, newlines, and special chars
Shortcuts: Ctrl+Enter run · Ctrl+L clear · Ctrl+D download
About JSON Escape
This tool escapes and unescapes JSON strings, handling special characters including double quotes, backslashes, newlines, tabs, and Unicode code points. It is useful when you need to embed a JSON string as a value inside another JSON document, embed JSON inside a JavaScript string literal, or debug string encoding issues.
- ✓Escapes double quotes, backslashes, newlines, tabs, carriage returns, and form feeds
- ✓Handles Unicode escape sequences (\uXXXX)
- ✓Reverse mode: unescapes a previously escaped JSON string
- ✓Useful for embedding JSON inside other JSON strings or JavaScript source code