Loading page…
Format, validate or minify JSON — and find the exact character that broke it.
Runs in your browser · nothing uploaded · free
—
Most JSON errors are one character: a trailing comma, a single quote where a double quote belongs, or a curly quote pasted in from a word processor. Finding it by eye in 400 lines is miserable, and pasting client data or an API key into a random online formatter is a genuine security risk.
This formatter runs entirely in your browser. Nothing is uploaded, nothing is logged, and it works offline once the page has loaded. It pretty-prints with your chosen indentation, minifies when you need the smallest payload, and on an error it reports the line, the column and the character it tripped on.
It is also handy for schema work: paste the JSON-LD from a page, format it, and the structure becomes readable enough to check by eye.
An API response, a config file, a JSON-LD block — anything.
Format for reading and editing, minify for shipping. Indentation is adjustable.
If it is invalid you get the line and column. Nine times out of ten it is a trailing comma or a smart quote.
Copy the formatted or minified output straight back into your editor.
No. Parsing and formatting happen in your browser, so the content never leaves your device.
Almost always a trailing comma, a single quote instead of a double quote, or a curly quote pasted from a document.
No. Comments are valid in JavaScript and in JSON5, but not in standard JSON.
Formatting adds indentation and line breaks so humans can read it. Minifying removes all of them so machines transfer less data.
Our tool does the calculation; these extensions pull the live data for web development tools while you browse. Tap one to open it on the Chrome Web Store, then press Add to Chrome.
These are other companies' extensions — we are not affiliated with any of them and earn nothing from these links. Read the permissions before you install: an extension that can “read and change all your data on all websites” can see whatever you are logged into. Install one at a time, keep only what you use, and remember that Free tier usually means the useful numbers need a paid plan.
Admission is open at OEC Tech Institute, Chunian. Free career counselling, and you can sit in on a class before you enrol.