JSON Viewer & Formatter
guide · what is json? · share json with a url · json test suite · test suite explained · json document generator · url #hash length tester · scale mode write-up · wasm vs javascript write-up · fastest json viewer benchmark
Fast JSON Viewer is a free online JSON viewer and formatter built for large files. Drop in a .json file and it is parsed, formatted and validated instantly — directly in your browser.
Your file never leaves your computer. There is no upload and no server-side parsing, so even huge, sensitive JSON files stay completely private. A streaming parser and virtual scrolling keep things fast on big, large and multi-gigabyte JSON files — tested with 20GB JSON files.
What you can do
- Open large JSON files — view huge and big JSON files that crash other tools and text editors.
- Format & beautify JSON — pretty-print minified JSON with clean, readable indentation.
- Validate JSON — catch syntax errors with byte-accurate position reporting.
- Search JSON — find keys and values fast, with regex support.
- Convert JSON to YAML — view any JSON file as YAML and download it as a
.yamlfile, even for multi-gigabyte inputs. - Export to CSV — view a JSON array of records as a table and download it as a
.csvfile (comma, semicolon or tab), even for multi-gigabyte inputs. - View JSON online for free — no install, no signup, works in any modern browser.
Frequently asked questions
Does Fast JSON Viewer work on Windows, macOS, Linux, iPhone and Android?
How do I open a large JSON file?
What is the largest JSON file I can open?
Is my JSON file uploaded to a server?
How do I format or beautify JSON?
Can I view JSON online for free?
Does Fast JSON Viewer validate JSON?
Can I convert JSON to YAML?
Can I export JSON to CSV?
address.city) and arrays are kept as JSON in a cell. Click Download .csv to save it, and pick a comma, semicolon or tab delimiter. The export streams locally in your browser with no upload, so it works even on huge multi-gigabyte files.Can I see my JSON as a diagram?
Are there keyboard shortcuts?
Can I share JSON via a URL?
#jsonString= followed by your URL-encoded JSON, e.g. #jsonString=%7B%22I%22%3A%22love%20json%22%7D, optionally with &encoding=base64 for base64url-encoded JSON and &view=graphical to land on a tab. The JSON travels in the URL fragment (after #), so it never reaches our server. Links are capped at 1 MB of decoded JSON; for larger files, open the file locally. To shrink a long link, run it through a shortener like Bitly. See the share-with-a-URL write-up and the guide for more.Is there a JSON test suite I can run?
pass-*) and 74 intentionally invalid (fail-*) fixtures covering RFC 8259 edge cases — number formats, string escapes, surrogate pairs, multi-byte UTF-8, deep nesting, duplicate keys, trailing garbage, commas and comments. Each fixture is the exact input used by npm run test, encoded into the page URL so a click opens it in the viewer with no upload. Use it as a reference set for building or stress-testing your own JSON parser.How do I create a huge 20GB JSON test file?
Why is some deeply nested data shown as plain text, or Collapse all labelled “(partial)”, on very large files?
- Deep nesting shown as plain text. The viewer indexes the outer structure first, so the whole file stays collapsible at its top levels. When the budget gets tight it stops indexing the deepest levels — anything nested past that point is shown expanded, as plain text. The top-level-items stat then notes “deep nesting past level N shown as text”. This is the usual case for big, deeply nested files.
- Collapse all / Expand all “(partial)”. Only when a file has an enormous number of top-level items — beyond about 25 million — does even the outer structure exceed the budget. Then the viewer indexes just the beginning of the file, and Collapse all / Expand all are labelled “(partial)”: they fold the indexed top while the rest stays plain text.