Validate before you ship
Bad JSON in a config file or API payload breaks things in ways that are hard to trace. Paste it here and you will know in a moment. Need it pretty-printed too? Use the JSON Formatter.
FAQ
What counts as valid JSON?
Keys and strings need double quotes. No trailing commas, no comments, no single quotes. Values can be strings, numbers, true, false, null, arrays or objects.
Does it support JSON5 or comments?
No. This validator follows the strict JSON standard (RFC 8259).
More tools
JSON FormatterPaste JSON to pretty-print it, find syntax errors with line and column, or minify it. Everything runs in your browser.JSON MinifierRemove all unneeded whitespace from JSON and see how much smaller it gets.JSON to CSVPaste a JSON array of objects and get CSV. Nested objects become columns like address.city.Base64Encode text to Base64 or decode it back. Handles UTF-8, emoji and URL-safe Base64.JWT DecoderPaste a JSON Web Token to read its header and payload. The token stays in your browser.