Validate, format, repair, compare and convert JSON, the way a ledger keeps books.
Paste JSON, drop a file, or upload one. JSONValidated checks brackets and quotes, auto-repairs common mistakes, diffs two documents, and converts to and from CSV, YAML, JSON Schema and JWT — all in your browser, nothing uploaded.
Output will appear here.
What JSONValidated checks
eleven tools, one paste
Validate
Parses against strict JSON syntax and reports the exact line and column of the first error, with the line printed and a caret under the problem.
Format
Re-indents at two spaces and applies token colouring, so keys, strings, numbers and literals are visually distinct.
Repair
Fixes trailing commas, single-quoted strings, unquoted keys, and stripped comments — then reports exactly what it changed.
Minify
Strips whitespace for a compact, wire-ready payload — useful before pasting into a request body or config file.
Sort keys
Reorders object keys alphabetically at every depth, handy for diffing two documents that should be equivalent.
Tree view
Collapse and expand nested objects and arrays to explore a large document without scrolling past what you don't need.
Compare
Diffs two JSON documents key by key, colour-coding what was added, removed, or changed at any depth.
CSV
Converts a flat JSON array of objects to CSV and back, handling quoting, commas and embedded newlines correctly.
YAML
Converts JSON to readable block-style YAML and back, including nested objects, arrays and empty collections.
Schema
Infers a draft-07 JSON Schema from a sample document — types, required properties, and array item shapes.
JWT
Decodes a JSON Web Token's header and payload, and reads out expiry, issued-at and not-before as plain dates.
House rules
what counts as valid
Objects & arrays
Objects sit inside { }, arrays inside [ ]. Every key is a double-quoted string, and every entry but the last ends in a comma.
Values
Strings use double quotes, numbers skip leading zeroes, booleans are lowercase true/false, and empty values are lowercase null.