Online JSON Lint
A modern JSON Lint that flags every syntax issue with the exact line and a snippet of the broken fragment. Strict by default, runs in your browser.
or
Features of JSON Lint
Built to catch the issues that production parsers reject — long before your code reaches them.
Strict RFC 8259
No silent corrections. The linter holds the document to the same bar production JSON parsers do — what passes here, passes everywhere.
Line + column precision
Every issue points at the exact line and column where the parser bailed, with a snippet of the broken fragment for context.
Pitfall detection
Trailing commas, single quotes, unquoted keys, unescaped characters, hidden BOMs — the linter knows every classic JSON pitfall by name.
Real-time linting
The linter runs as you paste and as you type. No "Lint" button to remember — green means valid, red means look at the line above.
Big-file performance
Linting runs off the main thread so multi-megabyte JSON files lint without freezing the tab or pegging the CPU.
Stays in your browser
All linting happens locally. Your JSON never reaches a server, never gets logged, never leaves your machine.
How JSON Lint works in three steps
From suspicious input to a spec-compliant document — without shipping it through anyone’s server first.
Paste suspicious JSON
Drop the document into the field, or upload a .json file. The linter runs the moment input lands.
See every issue flagged
Every deviation from strict JSON is surfaced with a line number and a snippet of the broken fragment.
Patch and re-lint
Fix offending lines in the editor. The linter re-runs as you type, so the all-clear shows up immediately.
Look at our other JSON tools
Convert, transform, and reshape JSON across formats — all in your browser.
JSON to JSON Schema
Generate a Draft 2020-12 JSON Schema from a sample document for validators and code generators.
YAML to JSON
Parse YAML configs into clean indented JSON ready for APIs and code.
JSON to YAML
Convert JSON into clean YAML ready for Kubernetes, Docker Compose or CI configs.
JSON to XML
Convert JSON into a well-formed XML 1.0 document with attributes preserved.
All tools
Try all our modern JSON tools to make your workflow easy.
What developers say about JSON Lint
"Shows JSON formatted directly from a URL without config, and its syntax is colored too. Peeerfect."
"Most underrated extension, really helpful extension :)"
"Great tool. Easy to use, very convenient."
FAQ about our JSON Lint
JSON Lint is a strict JSON linter — it parses your input under RFC 8259 rules and reports every place the document deviates from spec. Unlike a forgiving parser, it does not auto-correct anything. The point is to surface mistakes that real production parsers would also reject.
In practice they overlap heavily. A validator answers "is this valid?" with a yes/no plus an error location. A linter goes further: it points out every issue in one pass, gives a snippet around each one, and stays out of your way for valid input. JSON Pretty acts as both.
Trailing commas, single quotes instead of double, unquoted property keys, missing commas between items, unescaped characters inside strings, hidden byte-order marks at the start of files, and stray control characters that strict parsers reject.
No — and that is intentional. JSON Lint enforces strict JSON (RFC 8259). If you need a relaxed dialect, strip comments and trailing commas before linting, or use a different parser for storage and lint the canonical output before sending it to APIs.
No. The entire lint pipeline runs in your browser. JSON Pretty does not upload, log, or store your input. Sensitive payloads stay on your machine.
Yes. Linting runs off the main thread, so even multi-megabyte JSON files lint without freezing the page. You can paste raw text or upload a .json file directly.
Get JSON Pretty in your browser
Format any JSON response and explore it in a clean tree view — right where you open it, no copy-paste.