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.JSON to YAMLTurn JSON into clean YAML for config files like Kubernetes, Docker Compose and GitHub Actions.CSV to JSONPaste CSV or TSV and get a JSON array of objects. Quoted fields and commas inside values are handled.Base64Encode text to Base64 or decode it back. Handles UTF-8, emoji and URL-safe Base64.URL Encode/DecodePercent-encode text for a URL or decode it back. Handles UTF-8 and full URLs.Timestamp ConverterConvert Unix timestamps to dates and dates to Unix time, in seconds or milliseconds.JWT DecoderPaste a JSON Web Token to read its header and payload. The token stays in your browser.