JSON Formatter
Pretty-print JSON so it is easy to read, minify it to one line, and see exactly which line and column has a syntax error.
How to format JSON
- Paste your JSON in the left box.
- Choose the indentation, or "Minify" to put it on one line.
- If the JSON is invalid, the line and column of the error are shown.
Frequently asked questions
Common causes: a trailing comma after the last item, single quotes ' instead of double quotes ", or a missing closing bracket. Check the line and column shown.
It removes all extra spaces and line breaks so the JSON is as small as possible, handy for configs or sending it on.
No. The JSON is processed on your device.
It is completely free and needs no sign-up.
Related tools
JSON RepairAutomatically fix broken JSONJSON ViewerView JSON as a tree, collapse or expand any branchSQL formatterMake SQL queries easy to readJSON CompareFind the differences between two JSON documentsJSON SorterSort JSON fields and arrays from A to ZJSONPath QueryExtract data from JSON with a JSONPath expressionJSON to YAMLConvert between JSON and YAMLJSON to TOMLConvert between JSON and TOMLJSON to CSVConvert between JSON and CSV tables