Skip to content

JSON Viewer & Formatter

— clean syntax.

24 / 36 Local

Paste JSON and read it as a tree you can expand: syntax validation, formatting, minifying and CSV export. The data never leaves your browser.

Interactive tree viewer, syntax validator, formatter, minifier, and CSV converter.

Also searched as: json to csv · json into csv

Free · Local · works offline · JSON → TREE · FORMAT · CSV

Frequently asked questions

Why does my JSON say 'unexpected token'?
The three usual causes are a trailing comma after the last item, single quotes instead of double quotes, and an unescaped quote inside a string. The error points at the character where parsing failed, which is generally just after the real mistake.
Can I convert JSON into a CSV or spreadsheet?
Yes, for an array of flat objects — each object becomes a row and each key a column. Deeply nested structures have no single correct table shape, so flatten them first.
What does minifying JSON actually remove?
Only whitespace and line breaks. The data is byte-for-byte equivalent to a parser, which is why it is safe to minify for transport and reformat for reading.
Is it safe to paste an API response with real data?
Here, yes — parsing and formatting happen in the page and nothing is transmitted. That is worth checking before pasting a production payload into any online formatter.

Guides for this tool