✳ OMNIVIEWER.ORG
FR

Drop a JSON file. Any size.

safe · secure · no server · works offline · fast

…or paste a file you copied in Finder, or just start typing at the cursor.

Or try it now

↓ scroll for about & FAQ

Preview

Drop a CSV file, or use the file picker.

View and format JSON online — without uploading it

OmniViewer opens a JSON file right in your browser. Drop a .json file and you get a formatted, syntax‑highlighted view. Use Export for YAML or, if you have an array of objects, CSV. The toolkit also includes a stats report and raw and hex views. There is no upload and no server — the data is read directly by your browser, and the heavy work runs in a background Web Worker so the page never freezes. The raw and hex views read only the bytes needed to paint the screen, so even a multi‑gigabyte document opens instantly and privately.

What each tab does, in plain terms

Comparing two versions of the same export is the job people reach for most often, and it has two different right answers: a line diff for “which values changed”, and a byte comparison for “is this really the same file” — the one that catches a BOM, a line‑ending flip or a number rewritten in place. Both run locally, and only one of them has a size limit. For which to use when, and a benchmark that takes the byte comparison to 6.4 GB a side, read how to diff two JSON files.

A little JSON history

JSON — JavaScript Object Notation — was popularised by Douglas Crockford in the early 2000s as a lightweight alternative to XML, drawn from JavaScript’s object literal syntax but language‑independent. It is standardised twice over: as ECMA‑404 and as IETF RFC 8259, which agree on the grammar — objects, arrays, strings, numbers, and the three literals true, false and null. Its very strictness (no comments, no trailing commas) is what makes it safe to exchange between systems.

A tiny example of JSON:

{ "name": "OmniViewer", "local": true, "maxSizeGB": 20 }

How JSON compares to YAML, CSV and XML

AspectJSONYAMLCSVXML
ShapeNested objects & arraysNested, indentation-basedFlat rows & columnsNested elements & attributes
CommentsNoYes (#)NoYes
Human-friendlinessGoodBestBest for tablesVerbose
Typical useAPIs & configConfig & CISpreadsheets & exportsDocuments & legacy feeds
StandardRFC 8259 / ECMA-404YAML 1.2 specRFC 4180W3C XML

Generate a JSON test file

Need a big file to try it on? The JSON test‑file generator builds a synthetic .json document of any size — up to 50 GB — and streams it straight to a file you pick, entirely in your browser (no upload, no server). Use it to benchmark the viewer, your own parser, or any JSON tooling.

OmniViewer opens every file format; JSON is one of the formats with dedicated tooling. For deep work on huge JSON — collapsing, searching and streaming multi‑gigabyte documents — the same authors run the specialised fastjsonviewer.com, and hugecsv.com for CSV.

FAQ

Is my JSON file uploaded anywhere?

No. OmniViewer is a static page with no server-side processing: your .json file is read directly by your browser, and formatting, conversion and statistics run locally in Web Workers. The file never leaves your computer.

How large a JSON file can I open?

The raw and hex views are windowed — they read only the bytes needed to paint the screen — so they open files of effectively unlimited size, up to 20 GB and beyond; the engine behind them has been tested in-browser with a 40 GB file. The formatted view and the conversions (YAML, CSV) and stats process the document in memory, so on very large files they work on a bounded prefix and tell you when they do. The validity check above the view is skipped past a size threshold for the same reason.

Can I convert JSON to YAML or CSV?

Yes. Open Export and pick YAML or CSV. YAML uses block-style indentation and quotes strings where YAML requires it. CSV flattens an array of objects into an RFC 4180 table with a column for each key. Set Maximum size if your download must fit a limit.

Can I generate a large JSON test file?

Yes. The JSON generator at /s/json/generator builds a synthetic JSON file of any size up to 50 GB — you pick the target size — and streams it straight to disk via the File System Access API without uploading anything. On browsers without that API (Firefox, Safari) it falls back to a Blob download, which is fine for modest sizes.

What JSON can I export as CSV?

Choose CSV in Export when your JSON is an array of objects. Each object becomes one row. A single object or a list of numbers can still be exported as YAML.

Does OmniViewer tell me if my JSON is valid?

Yes. A bar above the raw and formatted views reports whether the file parses as valid JSON (and its root type — object, array, and so on) or, if it doesn’t, the parse error. Past a size threshold the check is skipped to stay fast, and it says so.

What standard defines JSON, and does it allow comments?

JSON is defined by IETF RFC 8259 and, identically, by ECMA-404. Standard JSON does not allow comments or trailing commas — that strictness is deliberate, to keep it safe to exchange between systems. Variants like JSON5 and JSONC add comments, but they are not standard JSON.

How does this relate to fastjsonviewer.com?

Same engine, same authors. OmniViewer is the universal front door for any file, with a JSON toolkit for everyday files. fastjsonviewer.com is the specialised tool for very large JSON — collapsing, searching, querying and streaming multi-gigabyte documents.