⚡
JSON Escape / Unescape
Escape or unescape JSON strings removing traces of offending characters that could prevent parsing
The following characters are reserved in JSON and must be properly escaped:
•
Backspace
is replaced with
\b
•
Form feed
is replaced with
\f
•
Newline
is replaced with
\n
•
Carriage return
is replaced with
\r
•
Tab
is replaced with
\t
•
Double quote
is replaced with
\"
•
Backslash
is replaced with
\\
Copy-paste the JSON to escape or unescape here
🔒 Escape
🔓 Unescape
Result
📋 Copy
🗑️ Clear Input
🔄 Swap
💡 Pro tip:
Use Escape to prepare strings for JSON, Unescape to convert escaped JSON back to readable text