JSON Formatter & Validator
Paste JSON, validate it, and format or minify it. All validation happens in your browser - nothing is sent to a server.
- Validate JSON and show errors quickly.
- Prettify or minify for readability or transport.
- Sort keys for stable diffs and reviews.
Works best with JSON objects and arrays - perfect for API responses, configs, and test data.
Quick help (examples & shortcuts)
- Prettify: Validate + pretty-print using the selected indentation.
- Minify: Validate + compact output (useful before sending over the wire).
- Shortcuts: Ctrl + Enter prettify, Ctrl + Shift + Enter minify.
- Sort keys: Optional deep sort for stable diffs and reviews.
- Open in tools: Send output directly to JSON <-> CSV or JSONPath Tester.
Formatter
JSON Input
Status: Not validated
Stats: --
Output
Output: --
Size: --