{ jsonzen }0 bytes uploaded

JSON Repair

Auto-fix common JSON mistakes — trailing commas, single quotes, comments, unquoted keys.

<5ms🔒client-only
Inputpaste ⌘V
Paste JSON here…
Output
Auto-runs on paste⌘↩
Tip: press Ctrl + Enter to re-run, or paste a large JSON to auto-format.
// EXAMPLES
// HOW IT WORKS

The repair uses the open-source jsonrepair library, which parses lenient JSON-ish input and outputs strict JSON. It handles trailing commas, single quotes, unquoted keys, JS-style comments, smart quotes, and more. Runs entirely in your browser — no AI, no server, no upload.

// FAQ

What can the repair tool fix?

Trailing commas, single quotes around strings, unquoted object keys, JavaScript-style line and block comments, smart quotes, and other common mistakes that LLMs and humans make.

Is this AI-powered?

No. The repair is deterministic — it runs a parser that understands lenient JSON-ish syntax and produces strict JSON. Your input never leaves your browser.

Will it always succeed?

It can fix most common mistakes. Genuinely random text (e.g., '@@@not json@@@') may be wrapped as a string. If the result still isn't what you wanted, fix the input by hand.