JSON Repair Tool

Paste JSON with common errors (single quotes, unquoted keys, trailing commas, comments) and automatically repair it into valid JSON.

Local processing: your data is processed in your browser and never sent to Numelto or any external service.

What it fixes automatically

All fixes are mechanical, syntax-only changes — the value of a piece of data is never reinterpreted or changed, and the content of a string is never touched even if it looks like JSON syntax.

ProblemHow it's fixed
Single quotesConverted to double quotes
Unquoted keysQuoted
Trailing commasThe final comma in objects and arrays is removed
// and /* */ commentsRemoved (JSON doesn't allow them)

What it doesn't fix

If the JSON has an unclosed brace or bracket, text that isn't JSON at all, or any other structural error that isn't a simple syntax issue, the tool doesn't invent a fix: it shows the real error instead of forcing a result.

Privacy

The JSON is processed in your browser. It's never sent to Numelto or to any external service.

Frequently asked questions

Related tools

We use analytics cookies to understand which calculators are useful. They are never used for advertising. More information in our privacy policy.