JSON Escape / Unescape
Escape a string for use inside a JSON value, or unescape a JSON-escaped string.
JSON Escape wraps a raw string in JSON encoding rules: backslashes, quotes, newlines, tabs, and control characters are escaped with backslash sequences. Unescape reverses this — useful for reading escaped JSON string values.
Frequently Asked Questions
- Double quotes (" → \"), backslashes (\ → \\), newlines (→ \n), carriage returns (→ \r), tabs (→ \t), and other control characters.