JSON formatter and validator

Format, validate and minify JSON. Errors point to the exact line, and a tree view helps you explore.

Mode
Indent
Show
JSON
Formatted
Paste JSON to start. Errors show the line and column.
  1. 1Paste JSON or open a file.
  2. 2Pick an indent, or minify it. Errors show the line and column.
  3. 3Copy or download the result.
Does my data leave my device?
No. Everything you paste or open is processed in your browser and stays on your device.
Does it work offline?
Yes. Once this page has loaded, it keeps working without an internet connection.
Is there a size limit?
No limits from us. Very large inputs can be slow because the work uses your device's memory.

Related tasks

Ready-made settings for common jobs.

Other tools

More tools for everyday coding.