Characters that must be escaped
| Character | Escaped |
|---|---|
Double quote " | \" |
Backslash \ | \\ |
| Line break | \n |
| Carriage return | \r |
| Tab | \t |
| Other control characters | \u0000–\u001f |
When you need it
- Putting a block of text, HTML or code into a JSON field by hand.
- Building a JSON body for
curlor Postman that contains quotes or line breaks. - Reading an escaped log message or API error — choose Unescape JSON string in the mode menu.
Forward slashes and non-ASCII characters such as é or emoji don't need escaping in JSON; they're left as they are.


