JSON Repair and Formatter
Fix common JSON issues such as trailing commas, single quotes, broken escaping, and malformed structures. Then pretty-print, minify, sort keys, or escape JSON for string literals.
Repair malformed JSON, format and minify documents, compare diffs, run JSONPath queries, validate against JSON Schema, inspect tree structures, and decode JWTs in one browser-based workspace. These tools are designed to help you clean and inspect structured data before you send it to an API or convert it to TOON or TONL.
The latest workspace update added practical JSON utilities that developers usually piece together from separate sites or scripts. This page consolidates that surface into a clear, crawlable hub.
Fix common JSON issues such as trailing commas, single quotes, broken escaping, and malformed structures. Then pretty-print, minify, sort keys, or escape JSON for string literals.
Compare original and transformed JSON side by side so you can review changes before sharing, copying, or converting data to TOON or TONL.
Run JSONPath expressions against nested payloads to extract values, filter arrays, and inspect the exact fields you need without writing one-off scripts.
Validate documents against JSON Schema Draft-07 in the browser with Ajv-powered error output and line-aware validation messages.
Inspect large or deeply nested payloads in a structured tree view when raw text becomes difficult to scan or debug.
Decode JWT header and payload claims locally, inspect expiry information, and review standard token fields without sending secrets to a server.
No. The JSON tools on json2toon.co run in the browser, so your JSON documents and JWTs stay on your device while you inspect, repair, or validate them.
Yes. The tools are useful for cleaning malformed JSON, validating schemas, querying nested data, and reviewing diffs before you convert structured payloads for LLM workflows.
This page covers JSON repair, formatting, minification, key sorting, JSONPath queries, JSON Schema validation, tree inspection, document diffing, and JWT decoding.
Start with JSON repair, queries, schema validation, and JWT inspection, then move into TOON or TONL conversion when you want a more compact format for LLM workflows.