Web & development
JSON Formatter & Validator
Format JSON · Locate syntax errors · Minify · Save as a file
Your input stays on this device.
JSON input
⌘/Ctrl + Enter to formatResult
JSON is processed on this device.
Paste JSON, then select Format JSON.
How to use this tool
- Paste JSON or load the sample.
- Choose Format JSON or Minify JSON; fix any reported syntax error.
- Copy the result or download it as a JSON file.
Before you start
- Only spacing and line breaks change. Large numbers, repeated keys and input order are preserved.
- Valid syntax does not check dates or required fields. Check the requirements of the service using the data.
Frequently asked questions
Is my JSON saved?
No. Reloading the page clears the input and result. Copy or download your output before leaving.
Does it accept comments or trailing commas?
No. Only standard JSON is supported. Remove comments and trailing commas, and use double quotes around object keys and string values.