JSON Viewer
Inspect JSON clearly in an interactive tree without sending your data away.
Runs locally in your browser
Validate, format and explore JSON in a clean, interactive view. Your data stays on this device.
Input JSON
Open a JSON file from your device
Drop a file here, or choose one. It is read in this browser tab and is never uploaded. Files up to 5 MB, saved as UTF-8.
Waiting for JSON
Paste JSON, open a file or choose a sample to begin.
Explore
Earlier JSON still shown. The file you chose was not opened, so this is still the JSON you had before.
- Objects
- —
- Arrays
- —
- Values
- —
- Max depth
- —
- Size (formatted)
- —
Your JSON stays on this device
It is read, checked and shown in this browser tab. It is never uploaded.
No account required
Open the page and paste. There is nothing to sign in to.
Nothing stored by Numerila
Your JSON is not kept on a server, in a cookie or in browser storage, and it never goes into the page address.
How to use the JSON Viewer
- Paste JSON into the box, open a .json file, or choose a sample.
- Select Validate JSON. Use Format to tidy it or Minify to make it compact.
- Explore it as a tree or in the Code view, search it, then copy or download it.
Only need to tidy or compact some text? The JSON Formatter does that on its own.
What the tree shows
- Every object and array opens and closes, with the number of keys or items beside it.
- Strings, numbers, booleans and null each have their own colour, symbol and label, so colour is never the only clue.
- Numbers appear exactly as you wrote them, including very large ones.
- Long strings are shortened in the tree. The Code view shows them in full.
When JSON is invalid
- The status box says what was expected and gives the line and column. Go to error puts your cursor there.
- Your text is never changed to make it fit, and nothing is repaired for you.
- Common slips are a trailing comma, single quotes, an unquoted key or a missing bracket.
- A key used twice in one object is allowed, so you get a note instead of an error.
- Input over 5 MB, over 1,000,000 values or nested more than 500 levels deep is refused with a message.
