JSON Formatter & Repair

Format and fix JSON

Layout
Paste JSON above. It is checked, repaired if needed, and formatted instantly.

Questions

  • How do I check if my JSON is valid?

    Paste it in. You will see "Valid JSON" or the first problem and where it is.

  • How do I fix a trailing comma in JSON?

    Paste it in and the repair step removes trailing commas and fixes other common slips, then shows you the repaired version.

  • Can I make big JSON easier to read?

    Yes. Pretty-print it, then use Expand all and Collapse all on the tree to move around.