Paste JSON. Read it, search it, compare it.

A private toolkit for the JSON you copy every day: a fast tree with copyable paths, a diff that ignores key order, readable text and tables, and TypeScript, Zod or Go types. Nothing is uploaded.

Paste JSON

Nothing is uploaded. Parsing happens in your browser.

Tree

The tree of your JSON appears here.

One paste box, every view

Developers copy JSON all day: an API response from the network tab, a line from a log, a config file, a webhook payload. pastejson takes any of them and gives you the view you need next without pasting again. The tree shows the structure with types and sizes and lets you search keys and values. Selecting a value gives you its path as JavaScript, JSONPath or jq. The same input becomes readable text, a table for a spreadsheet, or types for your code.

Accepts JSON as you really find it

Strict parsers stop at the first comment or trailing comma. pastejson reads JSON with comments, trailing commas, single quotes and unquoted keys, one object per line, Python-style literals, and JSON in the middle of other text, and it lists every repair it made. When the input is truly broken, the error says what is wrong and where.

Compare without the noise

The Compare tab finds what actually changed between two documents. Key order and spacing never count, numbers compare by value, and lists of records can be matched by an identifier so a reordered list is not a change. Every difference has a path, and the whole result copies as text for a ticket or a review.

Private by design, fast on big files

All processing happens in your browser; large inputs are parsed and converted in background workers so the page stays responsive. There is no account and no upload, and the counts we keep never contain your data — see the privacy page for exactly what is counted.

Questions

Is my JSON uploaded or stored?

No. Everything — parsing, the tree, search, comparison and type generation — runs in your browser. Nothing you paste leaves your device.

Do I need an account?

No. There is no sign-up, no login and no paid tier.

What if my JSON is not quite valid?

Comments, trailing commas, single quotes, unquoted keys, JSON Lines, Python True/False/None and JSON inside a log line are accepted, and each repair is listed. Real errors show the line and column.

How large can the JSON be?

Files up to 50 MB can be opened; a 6 MB document becomes an interactive tree in about half a second on a laptop.

Which languages can it generate types for?

TypeScript (interfaces or types), Zod schemas and Go structs.