Skip to content
AppBox

JSON Formatter & Validator

Format, minify and validate JSON with precise error positions, sorted keys and a collapsible tree view.

Works offlineDeveloper

Input

Output

Formatted JSON will appear here.

About the json formatter & validator

Paste JSON to pretty-print it at your chosen indent width, minify it to a single line, or sort object keys for a stable diff. Invalid input reports the exact line and column of the problem rather than a bare "unexpected token". A collapsible tree view lets you walk large documents, and every node shows the path you would use to reach it in code.

This tool runs entirely in your browser. Nothing you type is uploaded, and it keeps working with no connection at all — including as an installed app.