Free Tools

JSON Formatter and Validator: Format, Minify, Sort Keys, Repair and Tree View

Paste JSON on the left; it is checked at once and errors point to the exact spot. If it is JavaScript-style JSON (comments, trailing commas) press "Repair to JSON". Nothing is uploaded.

Part of the suite: Developer tools

Tree view

FAQ

Why does my JSON fail when it looks right?

The usual causes are single quotes (') instead of double ("), a comma after the last item, unquoted keys, or comments. Standard JSON allows none of them. Press "Repair to JSON" to fix them automatically.

Do big numbers get corrupted?

JSON.parse stores numbers as 64-bit floats, so integers beyond 15 to 16 digits can change. The tool warns when it sees one.

Is my data uploaded?

No. Everything runs in your browser.