JSON Formatter & Validator
Developer · Text & Unicode
Result
How to use
Enter JSON
Enter JSON in the textarea, or select or drop a JSON file.
Choose an operation
Choose Validate, Pretty, or Minify. Invalid input shows the parse error reported by your browser.
Copy the result
Review and copy the Pretty or Minify result.
Scope of the result
Standard JSON only, with a 5 MiB input limit and a 20 MiB Pretty output limit. Files are decoded as strict UTF-8 with only an initial BOM removed. JSON Schema validation is not included.
Frequently asked questions
- Can it validate JSONC or JSON5?
- No. JSONC and JSON5 comments or trailing commas are not standard JSON and are reported as invalid.
- Will large integers or escapes change?
- No. Only JSON whitespace changes, so number notation, string escapes, property order, and duplicate keys are preserved.
- Is my JSON uploaded?
- No. Validation and formatting run entirely in your browser.