JSON Formatter & Validator
Format, minify and validate JSON with clear error messages.
About this tool
Paste JSON to pretty-print, minify or find syntax errors. All processing is local.
What is JSON?
JSON (JavaScript Object Notation) is a text format for structured data, used by most web APIs and configuration files. It uses objects in curly braces, arrays in square brackets, and double-quoted keys and strings.
Common JSON errors
- Trailing commas after the last item
- Single quotes instead of double quotes
- Unquoted keys
- Comments, which JSON does not allow
Format vs minify
Format adds indentation so humans can read it. Minify removes whitespace to make the payload smaller for sending over a network.
FAQ
Is my data uploaded? No. Parsing is done by your browser, so API keys or private data in your JSON stay on your device.
More tools: Word Counter · Case Converter · Password Generator · Base64 Encoder & Decoder