JSON formatter and validator online
Paste JSON to pretty-print it, validate it with the exact error line, or minify it to one line.
About JSON formatter
Paste JSON from an API or a config file. It's checked as you type: valid JSON is indented with the spacing you choose; invalid JSON shows the line and column of the problem — a missing comma, single quotes or a trailing comma.
Press “Minify” to put it on one line, or sort keys alphabetically to compare two files easily. Nothing is uploaded, so it's safe for internal data.
FAQ
What are the most common JSON mistakes?
Trailing commas, single quotes instead of double quotes and unquoted keys.
More tools here
Base64 encode / decode Image ↔ Base64 URL encode / decode HTML entities Hash generator UUID generator JWT decoder Regex tester Cron generator Unix timestamp converter Code formatter Markdown preview Text ↔ binary Color converter Contrast checker CSS gradient JSON to CSV CSV to JSON YAML ↔ JSON JSON to TypeScript AES encryption TOTP generator Password strength checker CSS box shadow CSS border radius Tailwind colors Color palette generator Aspect ratio calculator Chmod calculator