JSON formatter
Format, minify, sort and validate JSON in your browser without sending your data anywhere.
🔒 Everything runs in your browser. Nothing you choose or type is uploaded. How to verify
How to use it
- Paste your JSON.
- Choose an action.
- Select Run and copy the result.
Handy for
Reading API responses, checking config files and finding syntax errors.
Good to know
JSON needs double quotes around keys and strings, and no trailing commas. Sort keys makes two files easier to compare, but does not change the data.
Privacy: where the work happens
Everything you enter or choose is processed by JavaScript in your browser and never sent anywhere. Only the page code, and any library this tool needs, is downloaded from cdnjs or jsDelivr.
Questions
What does an error message mean?
It points to where the parser stopped, often a missing comma or quote just before that spot.
Is my data uploaded?
No. Parsing happens in your browser.