JSON Escape / Unescape
Convert special characters in JSON strings to escaped sequences or remove escaping. Useful for embedding JSON in code or preparing data for transmission.
Input
Output
sponsor AD
300×250
Ad Space
💡 Quick Tips
- Escaping converts special characters like quotes, newlines, and backslashes to escape sequences.
- Unescaping converts escape sequences like \" and \n back to their original characters.
- Useful for embedding JSON in code strings or preparing data for URLs and APIs.
- Escaped JSON can be safely included within quoted strings in most programming languages.