Guides/Tool Guides

Smart JSON Repair Guide

Repair common JSON-ish input into strict JSON.

Overview

Smart JSON Repair helps you repair common json-ish input into strict json. This guide focuses on practical workflows, common pitfalls, and copy/paste friendly examples.

Pro time-savers

  • Batch repair (per line)

Use cases

  • Debug API responses quickly (format/minify/repair).
  • Extract fields or convert between JSON and other formats.
  • Prepare clean snippets for issues, docs, and PR reviews.

Common pitfalls

  • Strict JSON does not allow comments, trailing commas, or single quotes.
  • Large payloads may be slow in the browser—split or sample when needed.

FAQs

What does Pro unlock here?

On this tool, Pro unlocks: Batch repair (per line).

Does this upload my data?

No. By default, tools run locally in your browser.

Why is my input invalid?

Most failures are caused by non-standard formats, hidden whitespace, or truncated strings. Simplify the input and retry.

Examples

Input

{"a":1,"b":[2,3]}

Output

{
  "a": 1,
  "b": [
    2,
    3
  ]
}