Running on your device · 0 bytes uploaded

# Escape a JSON String

Turn raw text into a JSON string body and back — minimal or ASCII-only escapes, with the exact spot named when the input breaks.
EscapeUnescapeFlipEscape non-ASCII (\\uXXXX)Copy

Input is your raw text — exactly as pasted, never trimmed. Output is the JSON string body (no surrounding quotes): " \ and control characters escaped.
Nothing in yet

Paste, drop, or type to begin. Everything stays on this device.

## Next door in JSON

- [JSON formatter](/json/formatter)
- [Base64](/encoding/base64)
- [URL encoder](/encoding/url-encoder)
[All JSON tools](/json)

---

Canonical HTML: https://nutter.tools/json/escape
Markdown version: https://nutter.tools/json/escape/index.md
Plain-text version: https://nutter.tools/json/escape/index.txt
Agent index: https://nutter.tools/llms.txt

