JSON formatter
Validate JSON, format indentation or produce a compact single-line result.
Processed locally. No file uploads.
How to use
- Paste strict JSON
- Choose format or minify
- Read errors or copy the valid result
What you can do
- Validate JSON, format indentation or produce a compact single-line result.
- Editable input and copyable results.
Useful answers
Are comments and trailing commas accepted?
No. This tool uses standard JSON. JavaScript comments, trailing commas and duplicate key detection are not supported.
What are the limits?
Text input is limited to 200,000 characters. Diff accepts 40,000 characters in total and stops long comparisons. JSON numbers use JavaScript precision.