Online JSON viewer
Open a JSON file in your browser and read it as a collapsible tree, a sortable table, an interactive graph or formatted code — the file is parsed on your own machine and never uploaded anywhere.
Open the JSON viewerNo signup. Nothing uploaded.
Why a viewer rather than a text editor
Most JSON arrives as one unreadable line: an API response pasted from a terminal, a config file a tool generated, a log line from production. A text editor will show it to you, but it will not tell you which bracket is unbalanced on line 400, or let you collapse the part you do not care about.
Ways to read a JSON file
- Tree
- Every object and array becomes a branch you can collapse. Child counts and value types are shown inline, so the shape of a large document is visible without scrolling through it. Arrow keys move between nodes, and any node’s path can be copied as dot notation, bracket notation or JSONPath.
- Table
- An array of objects becomes a spreadsheet with inferred column types. Sort on any column, filter globally or per column, resize what you need to read and copy the result back out as CSV.
- Graph
- The document is drawn as a node-link diagram on a canvas. Objects and arrays become hubs, values become leaves, and the key that reached each child labels its edge. Force-directed, tree, radial and circular layouts; click a node to inspect it, or focus on its subgraph to hide everything else.
- Code
- The full Monaco editor — the one from VS Code — with folding, find and replace, and errors underlined where they occur rather than reported as a line number at the bottom.
- Query
- A JSONPath builder with filters, sorting and field projection, plus a live expression explorer that evaluates as you type. Results export as JSON or CSV.
- Chart
- Any array of records can be plotted as bars, lines, areas, a scatter plot or a pie, with the axis and series chosen for you and summary statistics for each column.
What people use it for
- Reading an API response
- Paste the response body and switch to the tree. Collapse the envelope, expand the one field you are debugging, and copy its JSONPath straight into your test.
- Checking a config file
- Duplicate keys are legal JSON and silently take the last value. The viewer flags them, scope-aware, so a key repeated in two sibling objects is not reported while a genuine duplicate is.
- Making sense of exported data
- An export that is an array of records opens as a table you can sort and filter, and as a chart if the numbers are what you are after.
- Comparing two versions
- Open both files and use the structural diff, which compares the parsed data rather than the text — so a reformatted file reads as unchanged instead of as every line rewritten.
What it checks in your JSON
- Syntax errors underlined at the exact character, with the reason in a hover
- Duplicate keys, detected per object scope rather than by a naive text search
- Optional JSON Schema validation, draft-06 through draft 2020-12
- Automatic repair of trailing commas and unquoted keys, always labelled as a repair rather than applied silently
Privacy
The file is read by your browser and parsed on your own machine. No request carries its contents — you can confirm that in your browser's network panel, or by disconnecting from the network and using the app anyway. There is no account, and nothing is stored on a server because there is no server.
File types it opens
.json, .jsonc, .json5, .geojson, .ndjson — and any file you paste, whatever its name. Up to 50 MB by default, adjustable to 500 MB in Settings.
Questions
How do I view a JSON file online for free?
Open fileviewer.dev, then drag a .json file onto the page or paste JSON text into the editor. The file is parsed by your browser and shown as a tree, a table, a graph or formatted code. There is no signup and nothing to install.
Is it safe to open a JSON file in an online viewer?
It depends entirely on whether the tool uploads your file. fileviewer.dev does not: the file is read by your browser with the File API and parsed in a Web Worker on your own machine. No request carries your file content, which you can confirm in your browser’s network panel, or by switching off the network and using the app anyway.
What is the largest JSON file I can open?
The default ceiling is 50 MB, adjustable in Settings up to 500 MB. Above roughly 2 MB the editor progressively drops features it cannot afford — the minimap first, then syntax highlighting — so a large file still scrolls smoothly instead of freezing the tab.
Can I convert JSON to another format?
Yes. JSON converts to YAML, XML, CSV and Markdown, and each conversion reports what it could not carry across — for example that CSV has no way to express a nested object, so nested values are serialised as JSON text in the cell.
Does it work offline?
Yes. fileviewer.dev installs as a progressive web app and works with no network connection, because nothing it does requires a server.