How it works
- Paste JSON or an escaped JSON string.
- Choose pretty print, minify, sort, escape or unescape.
- Copy or download the processed output.
Paste JSON, choose a processing mode and get readable or minified output without sending the content to a backend.
Result
The processed output appears here after you run the tool.
The browser parses the input and reports syntax errors without requiring a server request.
Pretty print improves readability, minify reduces size, sort keys helps comparisons, and escape modes help when JSON must be embedded as a string.
If parsing fails, reduce the payload to the smallest failing sample and check quotes, commas and trailing characters.
No. JSON comments are not part of the JSON standard.
No. The formatting runs in your browser.
Yes. Use the sort keys mode when you need a stable order for review.
Generate TypeScript interfaces from a JSON example directly in your browser.
EnglishDecode JWT header and payload locally in your browser. Signature is not validated.
EnglishPrepare text samples and test regular expression patterns carefully before using them in code.