Beautify, minify, escape or tree-view JSON; repair broken JSON; flatten/unflatten nested objects; generate JSON Schema; validate data against a JSON Schema; convert between JSON and YAML, XML, a query string, or a Markdown table; generate TypeScript interfaces or C# POCO classes; compare two JSON documents; query with JSONPath or JSONata expressions. Bidirectional CSV, TSV and JSONL conversion. Also includes a Package.json Inspector to analyse npm dependencies, scripts, and issues.
Beautify, minify, escape or tree-view JSON; repair broken JSON; flatten/unflatten nested objects; generate JSON Schema; validate data against a JSON Schema; convert between JSON and YAML, XML, a query string, or a Markdown table; generate TypeScript interfaces or C# POCO classes; compare two JSON documents; query with JSONPath or JSONata expressions. Bidirectional CSV, TSV and JSONL conversion. Also includes a Package.json Inspector to analyse npm dependencies, scripts, and issues.
Paste your JSON into the input and click Beautify. The tool re-indents the document with your chosen spacing and validates it at the same time, highlighting the exact line of any syntax error.
Yes. The Repair mode fixes common problems such as trailing commas, single quotes, unquoted keys, and JavaScript-style comments, then returns strict, valid JSON.
Use the conversion tabs to turn JSON into YAML, XML, CSV/TSV, a query string, a Markdown table, or generate TypeScript, C#, or Java types from a sample document — all bidirectional where it makes sense.
Use the repair option in JSON Tools. It handles problems such as trailing commas, single quotes, JavaScript-style comments and Python-style literals, then gives you valid JSON you can pretty-print.
Paste a sample document into the JSON → JSON Schema tab and the tool infers a schema from it. You can then use the Validate Schema tab to check other documents against it.
Yes. The codegen tabs turn a JSON sample into TypeScript, C#, Java, Go, Rust, Python, Kotlin, Swift, Dart, PHP or Zod definitions. It all runs in your browser.
Yes, JSON Tools has separate JSONPath and JSONata tabs where you type an expression and see the matching result from your JSON.
Pick the matching tab (JSON ↔ CSV, YAML, XML, TSV, query string or Markdown table), paste your data and the converted output appears. Most conversions work in both directions.
No. This tool runs entirely in your browser — your input is processed locally on your device and is never uploaded or stored on a server.