Eleven tools, one ledger

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.

Waiting for input
Inputor drop a file here
1
Output
 
Output will appear here.
key string number boolean null error

What JSONValidated checks

eleven tools, one paste

I

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.

II

Format

Re-indents at two spaces and applies token colouring, so keys, strings, numbers and literals are visually distinct.

III

Repair

Fixes trailing commas, single-quoted strings, unquoted keys, and stripped comments — then reports exactly what it changed.

IV

Minify

Strips whitespace for a compact, wire-ready payload — useful before pasting into a request body or config file.

V

Sort keys

Reorders object keys alphabetically at every depth, handy for diffing two documents that should be equivalent.

VI

Tree view

Collapse and expand nested objects and arrays to explore a large document without scrolling past what you don't need.

VII

Compare

Diffs two JSON documents key by key, colour-coding what was added, removed, or changed at any depth.

VIII

CSV

Converts a flat JSON array of objects to CSV and back, handling quoting, commas and embedded newlines correctly.

IX

YAML

Converts JSON to readable block-style YAML and back, including nested objects, arrays and empty collections.

X

Schema

Infers a draft-07 JSON Schema from a sample document — types, required properties, and array item shapes.

XI

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.

Copied to clipboard