JSON Formatter & Validator

Beautify, minify, validate and sort JSON, with precise line-and-column error reporting and a lenient repair mode that fixes trailing commas, comments and unquoted keys.

Input
Paste JSON below. It's validated as you type - strict JSON first, then a lenient pass that tolerates trailing commas, comments, single quotes and unquoted keys.
Output
Formatted, standards-compliant JSON.
Output appears here.
NEXINVATE

Runs entirely in your browser. Nothing is uploaded.