About JSON
JSON is the default interchange format of the modern web. It represents data as nested objects and arrays of strings, numbers, booleans and null, and every mainstream language ships a parser for it. Its grammar is deliberately tiny — no comments, no dates, no trailing commas — which makes it fast to parse but strict about syntax.
How to escape a json string
Paste the text — Add the raw text or the escaped string. Pick a direction — Escape to embed, unescape to read. Copy the result — Drop it straight into your payload or editor. The whole loop is designed to be repeatable: change the input, read the new result, no re-submit step in between.
Common mistakes
The failures people hit are predictable: No comments; No native date or binary type; Strict syntax breaks on trailing commas. Each of those shows up as a specific, fixable symptom rather than a vague error, which is exactly what this tool surfaces.
Where it fits in a workflow
API request and response bodies, Configuration files, Log records (NDJSON) — these are the contexts where JSON shows up, and this page is the fast path between "I have a blob of input" and "I understand what it contains". Keep the tab open next to your editor and your terminal.