JSON Escape/Unescape
Escapes text for safe inclusion in JSON, or unescapes a JSON string.
Lilu Baba's JSON Escape/Unescape tool safely converts text with quotes, newlines and special characters into a valid JSON string literal, or reverses the process.
How to use this tool
- Choose Escape or Unescape.
- Paste your text or JSON string.
- The result updates instantly.
FAQ
JSON Escape/Unescape — frequently asked questions
It converts special characters like quotes and newlines into their JSON-safe escape sequences (e.g. " becomes \").
An error message is shown instead of a result.