JSON Viewer with Tree, Table, and Diagram Views
Load a JSON document and read it the way the task demands: fold it into a collapsible tree, line it up as a sortable table, or map it as a connected node graph. Prettify parses everything locally in your browser, so open the viewer, paste your JSON, and start inspecting.
Three ways to read a JSON document
The tree view collapses and expands every object and array, so you can hide the branches you do not care about and drill into the one you do. Click any node to copy its dotted path, which is handy when you are writing a selector or referencing a field in code.
The table view flattens an array of objects into rows and columns you can sort by clicking a header. The node diagram draws the document as a graph of linked nodes for spotting shape and relationships; that graph view is part of Pro, while the tree and table views are free.
Search and move through big files
Type in the search bar to match keys and values across the entire document and step between hits without scrolling. Only the nodes currently in view ever get drawn, which is why a tree with hundreds of thousands of keys keeps folding and jumping between matches smoothly, however deep you scroll.
When you find the value you need, one keystroke copies it or its path, so moving from inspection to code is a single action rather than a hunt.
Your JSON stays on your machine
Parsing and rendering happen entirely in the browser, so an API response, an auth token payload, or a config file you would never paste into a random site is safe to open here. The document was never transmitted anywhere to begin with, and reloading or navigating away leaves no trace of it, unless you deliberately generate a share link yourself.
Frequently asked questions
Do I have to pay to view JSON here?
No. The tree view, the sortable table view, search across keys and values, and copy-path are all free with no sign-up. The node/graph diagram view, jq queries, and JSON Schema validation are Pro features.
Does my JSON get sent anywhere?
No. Rendering happens on your machine from start to finish. The only way a copy travels anywhere else is if you generate a share link yourself; otherwise the document stays exactly where you pasted it.
How large a JSON file can the viewer open?
Rendering draws only the branch you have expanded, so a document with hundreds of thousands of array entries still scrolls and expands smoothly. There is no hard row cap: the real limit is how much your browser tab can hold in memory.
Can I copy the path to a nested value?
Yes. Selecting a node in the tree copies its path, so referencing a deeply nested field in jq, JavaScript, or a config takes one click instead of manual counting.
Are huge numbers like Snowflake IDs shown correctly?
Yes. Numbers outside the IEEE-754 safe range are preserved byte for byte, so a 19-digit ID displays and copies exactly as it appears in the source rather than being rounded.