JSON, untangled.
JSON Formatter & Validator
- Never uploaded
- Exact big numbers
- One-click repair
- Works offline
- PRO AI Explain & AI Fix →
Try Repair JSON, PRO, or .
Repaired
AI's fix moves some data — review before applying
Example: fix invalid JSON
Text copied from a chat reply, a log or a Python print is rarely valid JSON. The validator points to the first problem with its line and column; Repair JSON fixes the common ones in one step. This is its real output for the text on the left:
Here is the config you asked for:
{
name: 'checkout-service',
"replicas": 3,
"debug": True, // from a Python print
"orderId": 12345678901234567890,
"regions": ["eu-west-1", "us-east-1",],
}{
"name": "checkout-service",
"replicas": 3,
"debug": true,
"orderId": 12345678901234567890,
"regions": [
"eu-west-1",
"us-east-1"
]
}Removed text around the JSON, quoted a key, changed a single-quoted string to double quotes, changed a Python True/False/None to JSON, removed a comment and removed 2 trailing commas. The 20-digit orderId stays exact, where formatters built on JSON.parse would round it. Read more in the formatter guide.
More free JSON tools
Same promise: fast, private, and they run entirely in your browser.
JSON Viewer
Explore JSON as a collapsible tree and copy any path.
Open tool →JSON Minify
Strip whitespace from JSON and see how much smaller it gets.
Open tool →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 →JSON Escape / Unescape
Turn JSON into an escaped string and back — layers removed for you.
Open tool →JWT Decoder
Decode JWTs, read claims and verify signatures — privately.
Open tool →PRO CurlyJSON Pro
Let AI explain and fix your JSON.
Every tool stays free. Pro adds AI that explains and fixes your JSON, and room for much bigger files. In desktop Chrome the AI runs on your computer; elsewhere, cloud AI asks before anything is sent.
AI Explain
A plain-English summary of any JSON: what it describes, its structure and the fields that matter.
AI Fix
When Repair can’t fix it, AI repairs only the broken part, and asks you to review first if any data would move.
AI diff summaries
Turn a long JSON Diff into a short, readable summary of what really changed.
10× larger files
Up to 100 MB in the formatter and 50 MB in most tools. Free stays at 10 MB.
Pro
$4/ month
or $29.99/yearSave 37%
Founding offer: $18.99/year with code FOUNDING, limited to 100 subscriptions.
- Everything in Free
- AI Explain, AI Fix, AI diff summaries
- Files up to 100 MB
- Use on up to 3 browsers
- Cancel anytime · 14-day refunds
Secure checkout by Dodo Payments
Built to be the formatter you trust
A fast, clean JSON workspace without pop-up ads, sign-ups, or uploading your data anywhere.
Don't take our word for it
- Turn off Wi-Fi and reload: every free tool keeps working.
- Open your browser's Network tab and paste some JSON: it never appears in a request.
- 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?+
Explain and AI Fix are part of Pro; Repair, which fixes common mistakes without AI, is free. In desktop Chrome the AI runs on Chrome’s built-in on-device model, so your JSON never leaves your computer. In other browsers Pro uses cloud AI, only after you approve sending the document. Large arrays are shortened before the model sees them.
What do I get with CurlyJSON Pro?+
AI Explain, AI Fix and AI summaries in JSON Diff, plus larger files: up to 100 MB in the formatter and 50 MB in most tools (free: up to 10 MB). Pro is $4 a month or $29.99 a year, and every tool stays free.
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.