JSON Tools
Format and validate JSON with exact line and column errors, convert it to CSV, YAML or TypeScript types, compare two documents, query it with JSONPath and check it against a schema.
JSON Formatter & Validator
Pretty-print, minify and validate JSON with line and column errors, tree view and key sorting.
JSON to CSV Converter
Turn an array of JSON objects into CSV for Excel or Sheets, with nested fields flattened.
CSV to JSON Converter
Parse CSV or TSV into JSON objects with type detection and optional nesting.
JSON to YAML Converter
Convert JSON to clean, readable YAML for Kubernetes, CI and config files.
YAML to JSON Converter
Parse YAML, including anchors and multiple documents, into JSON with line-level errors.
JSON Diff & Compare
Compare two JSON documents and list added, removed and changed values by path.
JSONPath Tester
Run JSONPath queries against your JSON with filters, slices and recursive descent.
JSON Schema Generator & Validator
Generate a JSON Schema from a sample and validate documents against it.
JSON to TypeScript Types
Generate TypeScript interfaces from a JSON sample, with optional fields and unions.
About these JSON tools
Every tool on this site runs 100% in your browser. The text, files and tokens you enter are processed on your own device and are never uploaded to a server, so it is safe to try them on real-world data. Each page explains what the tool does, walks through a worked example and answers common questions.
JSON is the default format for APIs, configuration and data exchange, which also makes it the format most likely to arrive malformed, minified or in the wrong shape for the next tool in your chain. The pages above are designed to be used in sequence: format a payload to read it, query it to find a value, diff it against yesterday's response, then generate the types or schema your code needs.