JSON Formatter & Validator
-
Free · runs in your browser
-
Nothing is uploaded or stored
Paste JSON to format, minify, and validate it instantly — and when it’s invalid, this tool tells you why, where, and how to fix it, in plain English. Everything runs in your browser; nothing is uploaded or stored.
glossary › GlossDiv › GlossList plus a tree of what parsed successfully.} or ] to add, and won’t tell you to break a bracket that’s actually needed.\u unicode — and can suggest a fix.You have more opening brackets than closing ones. The tool counts the open
{ and [ and tells you exactly which closers to add at the end.
Two values or key–value pairs sit next to each other with no comma between them,
e.g. {"a":"x""b":"y"}. JSON requires a comma between every pair.
JSON does not allow a comma after the last item, so {"a":1,} and
[1,2,] are invalid — remove the trailing comma.
JSON only allows straight double quotes. {'a':'b'} is invalid; it must be
{"a":"b"}. Curly “smart” quotes are invalid too.
A " inside a string value closes the string early. To keep a quote as text,
escape it as \", e.g. "She said \"hi\"".
Inside a string a backslash starts an escape, so "C:\Users\name" is invalid.
Double each backslash: "C:\\Users\\name".
JSON has no comments. Remove any // ... or /* ... */ before parsing.
Yes. This tool is 100% client-side — the JSON you paste never leaves your browser. There is no server call, no logging, and nothing is stored.
Once the page has loaded, the formatting and validation run entirely in your browser, so it keeps working without a connection.
There’s no hard limit, but very large files (many megabytes) may format more slowly because everything runs in the browser.
\u00e9 turn into é when I format?That’s normal. When JSON is parsed and re-serialized, a Unicode escape like
\u00e9 becomes the equivalent character é. Both are valid.