JSON Tools
Format, validate, compare, and convert JSON data
JSON Schema Doctor
Validate JSON against a schema, locate failing fields, and share a reproducible example
JSON Formatter
Format without rounding IDs or dropping duplicate keys; validate, explore a tree, copy paths, and share
JSON Diff
Compare exact values, match arrays by ID, ignore fields, export JSON Patch, and share changes
JSON to Code
Generate TypeScript interfaces, Zod schemas, and Pydantic models from a JSON example
JSONL Viewer
Validate, filter, inspect, and export newline-delimited JSON or NDJSON records
YAML ↔ JSON
Bidirectional conversion between YAML and JSON formats
CSV ↔ JSON
Convert between CSV spreadsheets and JSON arrays
About JSON Tools
JSON (JavaScript Object Notation) is the most widely used data interchange format. Our JSON tools help you format messy JSON, compare documents to find differences, and convert between JSON and other popular formats like YAML and CSV. Processing happens in your browser. Sharing is optional: embedded links carry the example in the URL fragment, while choosing a short link stores the shared data.
Practical JSON guides
Compare JSON arrays by ID and ignore timestamps
A runnable two-change comparison, exact numeric IDs, and JSON Patch export.
Why JSON numbers change and duplicate keys disappear
An exact-number reproducer and a lossless formatting workflow.
Validate JSON against a schema: fix four common failures
Types, enums, nested rules, references, and structured-output checks.
Format a JSON API response and copy a jq path
Runnable example, syntax troubleshooting, and local command-line recipes.
Compare JSON responses with reordered arrays
Understand key order, duplicate items, and meaningful value changes.
Generate TypeScript, Zod, and Pydantic code from JSON
Use a representative response, understand optional fields and nulls, then review the generated model.
Validate JSONL and NDJSON one line at a time
Isolate bad lines, inspect valid records, and export a JSON array.