Skip to content
AVEROPDF

JSON Formatter and Validator

Indent, validate (with the line and column of the error), minify or convert JSON to CSV.

Processed in your browserFree

About this tool

Paste JSON to validate it, format it with the indentation of your choice, sort its keys, minify it or convert it to CSV. On error, the tool pinpoints the line, the column and the cause (trailing comma, single quotes, unterminated string…), which browser messages do not always do.

How to use this tool

  1. 1Paste or import your JSON.
  2. 2Choose format, minify or convert to CSV; fix any reported errors.
  3. 3Copy or download the result.

Limits to know

  • As required by the JSON standard, comments, trailing commas and single quotes are reported as errors.
  • CSV conversion expects an array of objects; nested values are encoded as JSON inside the cell.
  • Files up to 2 MB to stay responsive.
Accepted formats
JSON, Text
Maximum size
2 MB

Privacy and file processing

Data is processed in your browser and is never sent to a server.

Read our privacy policy

Frequently asked questions

Standard JSON allows neither comments, trailing commas nor single quotes. The tool reports these errors with the line and column; remove them or use a JSON5/JSONC format with another tool.