← All JSON tools

Format tool

Fix Broken JSON

Repair common broken JSON syntax such as trailing commas, missing quotes and incomplete structures in your browser.

✓ Free to use✓ No signup✓ Runs locally
48 bytes · local only
Waiting
Processed entirely in this tab

Your input and result are not sent to JSON Hearth or stored on a server.

When to use it

What JSON Repair helps you do

The repair tool attempts to recover common machine-generated and hand-edited JSON mistakes. Always inspect the result because malformed input can be ambiguous.

1

Recover copied output

Repair JSON copied from logs, chat messages or documentation where quotes and commas were damaged.

2

Clean generated payloads

Fix common syntax defects in model output or partially generated examples before validation.

3

Diagnose manual edits

Create a readable candidate when a hand-edited configuration no longer parses.

Important limitations

What to check before using the result

Common questions

About JSON Repair

Will JSON repair always preserve the intended data?

No. It applies reasonable corrections, but severely malformed text may have more than one possible interpretation.

Should repaired JSON be trusted automatically?

No. Compare it with the source, run validation and review important values before use.