Large files are kept out of the editor so typing stays smooth. Hit the button below to process it.
Aempty
file.json
Bempty
file.json
Or press Ctrl+Enter · max 50MB
Formatted
No differences — these two documents hold the same value.
{ }
Your formatted JSON will appear here.
Two-space indent, syntax highlighted, ready to copy.
That doesn’t look like valid JSON
That wasn’t valid JSON — so it was repaired
Preview truncated for speed — the full document is intact. Use Copy or Download to get all of it.
Big API responses, made walkable
Paste JSON or drop a file and it opens as a tree: objects and arrays collapse and expand, each one showing how many keys or items it holds before you open it. The first few levels open by themselves; the rest stay closed until you want them. Arrow keys move through it like a file explorer — right to open, left to close.
Everything runs in your browser. Your JSON is parsed by a Web Worker on your own machine and never sent anywhere — there is no upload, no account, and no server-side processing. You can check: open the network tab and format a file, and you will see no requests. Here is why that matters, and how to verify it on any tool.
Search keys and values
Type in the search box and the tree narrows to just the branches that contain a match, opened down to each one, with the matching text highlighted. It searches every object key and every value, case-insensitively — find the record with a given email, or every field called id, without scrolling.
Click a value, get its path
Choosing any row shows its path at the bottom of the panel, written the way you would type it in code — users[3].address.city, or headers["content-type"] where a key needs quoting. Copy path puts that on your clipboard; Copy value copies the value itself, as JSON for objects and arrays and as plain text for a string.
Fast on large files
The tree only ever builds what is open. Children appear when their parent does, 200 at a time with a button for the next 200, and closing a node discards them again — so a 20MB document costs no more to open than a small one. Parsing and formatting happen in a Web Worker, and broken input is repaired before it is shown.
Questions
How big a file can the tree show?
Up to 25MB. The tree is built lazily, so size mostly affects the initial parse. Beyond 25MB the formatter still handles files up to 50MB as text.
What path format does Copy path use?
JavaScript-style: dots for plain keys, brackets for array indices and for keys with spaces or symbols — items[0]["unit price"]. It pastes straight into code, and reads naturally as a jq or JSONPath expression too.
Can I send someone the tree?
Yes. Share link copies a link with the JSON compressed into the part after the #, which browsers never send to a server. Whoever opens it sees the same document — and nothing was uploaded to make that work.
Does search include array indices?
No — only object keys and values. Searching for 3 would otherwise match the fourth element of every array in the document.
Found a bug? Want another tool?
This site has no accounts, no analytics and no error reporting — which also means nothing
tells me when something breaks. If a file failed to parse, a conversion came out wrong, or
you keep reaching for a tool that isn’t here yet, send it over and it gets looked at.