About this tool
This viewer opens local JSON files and displays their name, size, and root type. Use the existing JSON Viewer for pasted JSON. This page focuses on file selection, file information, and exploring larger data in stages.
How to use
- Select or drag in a local JSON file.
- Review the file details and parsing results. Invalid JSON displays a specific error.
- Expand branches as needed in the tree, or switch to the original or formatted text.
- Search, copy, or download the formatted JSON as needed.
Features
- Open local .json files and view the file name, size, and root type.
- Expand branches on demand without displaying the entire large tree at once.
- View, copy, and download the original or formatted text.
- All keys and values appear as text. Script-like content never runs.
Files and data trees
- Expand large files one branch at a time. Expand all is available only for smaller trees with a manageable depth.
- Each expansion shows one batch of child nodes. You can load more as needed.
- If parsing fails, an error appears and the previous result is no longer available to download.
Limits
- Each JSON file can be up to 20 MiB. A memory notice appears at 10 MiB.
- Files can contain up to 200,000 nodes and 128 nesting levels. Simplify larger files first. The tree loads up to 200 children per batch and displays up to 5,000 nodes at a time. Expand all is limited to trees with up to 1,000 nodes.
Privacy
All files are processed only in your browser and are never uploaded to a server.
File names, entered text, and results are processed only in your current browser. Your input is not saved automatically. Download any results you want to keep before clearing the tool or leaving the page.
FAQ
How is this different from the existing JSON Viewer?
The existing tool is mainly for pasted or typed JSON. This page opens local JSON files and shows their name, size, root type, and an expandable data tree.
Can I open large JSON files?
Each file can be up to 20 MiB. Larger files use more memory, so their trees do not expand automatically. Reduce the file size if it exceeds the limit.
Is my JSON uploaded?
All files are processed only in your browser and are never uploaded to a server.
Why aren't large data trees expanded automatically?
Displaying many nodes at once can slow down the page. Expanding branches as needed lets you focus on the data you want. Expand all is restricted for large trees.
Will scripts inside JSON run?
No. Keys and values appear only as text and are never inserted as executable page content.