Developer Tools
JSON Formatter and Validator
Your JSON stays in this browser and is never executed.
Input / Never executed
JSON input
Paste JSON to format, minify, or validate. Input is parsed as data and is never evaluated as code.
Output / Local result
JSON output
Output appears after a successful check.
How it works
- Paste a JSON document up to 1 MB.
- Choose formatted or minified output, with optional recursive key sorting.
- Review the structural summary, then copy or download the result.
Limits
- Input is limited to 1 MB and 100 levels of nesting to keep the page responsive.
- Sorting changes object-key order but preserves array order and values.
- JSON does not preserve comments, trailing commas, undefined values, or duplicate object keys.
- Very large valid documents beyond these limits need a desktop editor or streaming parser.