JSON Formatter & Validator
Paste, type, or drop a file. Output updates as you type — nothing leaves your browser.
Try Repair JSON, , or .
Repaired
More free JSON tools
Same promise: fast, private, and nothing leaves your browser.
JSON Schema Validator
Check JSON against a schema — every problem listed with its path.
Open tool →JSON Diff
Compare two JSON documents — only real changes, matched by id.
Open tool →JSONPath Playground
Query JSON with standard RFC 9535 JSONPath, live.
Open tool →jq Playground
Run jq filters live — the real jq 1.8, in your browser.
Open tool →JSON to Code
TypeScript, Zod, Go, Python, Java, C# and 20+ more languages.
Open tool →JSON ⇄ CSV & Excel
JSON to CSV or .xlsx and back — nested data flattened, types kept.
Open tool →JSON ⇄ YAML, XML & TOML
Convert JSON to YAML, XML or TOML and back — exact numbers, clear errors.
Open tool →JWT Decoder
Decode JWTs, read claims and verify signatures — privately.
Open tool →Built to be the formatter you trust
A fast, clean JSON workspace without pop-up ads, sign-ups, or uploading your data anywhere.
- Private by design
- Everything runs locally in your browser. Safe for API keys, tokens and customer data.
- Precise errors
- Exact line and column with a plain-English explanation of what went wrong.
- One-click repair
- Fixes trailing commas, single quotes, comments, missing brackets and JSON pasted from AI chats, then tells you exactly what it changed.
- Big-number safe
- Keeps 64-bit IDs and number formatting exactly as written — no silent rounding.
- Tree explorer
- Browse huge documents and copy the JSONPath of any value with one click.
- Share without servers
- Links carry the data inside the URL fragment — never stored, never logged.
- Secrets stay secret
- Spots API keys, tokens and passwords, masks them in one click, and warns before you share them.
Frequently asked questions
Is my JSON uploaded to a server?+
No. Formatting, validation and repair all run in your browser. Share links store the data in the part of the URL after #, which browsers never send to servers. You can check this yourself in your browser’s Network tab; the Privacy page lists every request you’ll see.
Does it warn me about API keys and passwords?+
Yes. When your JSON contains secrets such as API keys (Stripe, AWS, GitHub, OpenAI and more), tokens, passwords, private keys or card numbers, a warning appears with a Hide button that masks them in place. Share also asks before putting secrets into a link.
Why does this formatter keep my large numbers intact?+
Most online formatters use JavaScript’s JSON.parse, which rounds integers above 9,007,199,254,740,991 — silently corrupting 64-bit IDs. This tool keeps every number exactly as written.
What can Repair fix?+
Trailing commas, single quotes, unquoted keys, comments, missing commas or brackets, Python-style True/False/None, and JSON wrapped in extra text such as an AI chat reply or a log line. After a repair it lists every kind of fix it made, and Undo puts your original text back.
Is the AI free? Does it see my data?+
In desktop Chrome, Explain and AI Fix run on Chrome’s built-in on-device model — free, unlimited, and your JSON never leaves your computer. Large arrays are shortened before the model sees them.
How do I find a value deep inside a large document?+
Switch the output to Tree view, expand nodes, and click the path shown on hover to copy a JSONPath like $.users[3].email. Press Ctrl/Cmd+F inside either editor to search.