Format, beautify and validate JSON instantly in your browser with custom indentation.
JSON & Data Tools
JSON is the format almost every API speaks, and most of the time you meet it minified, malformed or several thousand lines long. The tools in this category clean it up, tell you exactly where a syntax error is, and let you explore, compare and reshape it without leaving the browser.
Everything here runs locally: nothing you paste is uploaded or logged, so it is safe to use with real API responses. Converters cover the formats JSON usually has to travel to and from — CSV for spreadsheets, YAML for configuration, XML for legacy systems and SQL for databases.
Tools in this category
Validate JSON syntax and get precise error locations with helpful fix suggestions.
Explore JSON as a collapsible tree with paths, types and value counts.
Compare two JSON documents semantically and highlight added, removed and changed values.
Minify JSON by removing whitespace to reduce payload size.
Sort JSON object keys alphabetically (recursively) for stable, diff-friendly output.
Escape text for safe embedding inside a JSON string, or unescape a JSON string literal.
Validate a JSON document against a JSON Schema (draft-07 / 2019-09 / 2020-12 core keywords).
Generate a JSON Schema from a sample JSON document automatically.
Evaluate JSONPath expressions ($.store.book[*].author) against JSON and see matches live.
Resolve RFC 6901 JSON Pointers (/a/b/0) against a document.
Convert JSON to clean, readable YAML.
Convert YAML documents to JSON with error reporting.
Convert JSON objects and arrays to well-formed XML.
Convert XML to JSON, preserving attributes, text nodes and repeated elements as arrays.
Convert an array of JSON objects to CSV with flattened nested keys.
Convert CSV or TSV data to a JSON array of objects.
Convert between JSON arrays and newline-delimited JSON (NDJSON / JSONL).
Validate every line of a JSON Lines file and report the exact failing lines.
Flatten nested JSON into dot-notation keys, or rebuild nested objects from flat keys.