/tools/json

Format, validate, minify, and sort JSON

Paste JSON to validate it. Errors point at a line and column. Format with the indentation you want, minify for a header or a query string, or sort keys recursively so two documents diff cleanly.

Runs in your browser. Nothing you paste leaves this page.

Paste JSON to validate and format it.

Output
Output appears here.