Paste JSON, then format, minify or sort it. Nothing leaves your browser.
Your text is parsed with the browser's strict JSON parser. If it is valid, it is re-printed with your chosen indent, minified onto one line, or printed with object keys sorted. If not, the parser's error is shown.
No. Parsing and formatting happen in your browser and nothing is stored or sent.
Strict JSON needs double-quoted keys and strings, no trailing commas, no comments and no single quotes. The error message from your browser's parser points at the problem.
It alphabetically orders object keys at every level, which makes two JSON files easier to compare. Array order is kept.
JSON numbers are read as JavaScript numbers, so integers beyond 9007199254740991 may lose precision.
Free tool, provided as is, with no guarantee. Check important figures independently. Please do not enter personal information in feedback.
Free tool, provided as is, with no guarantee. Please do not enter personal information in feedback.