✳ OMNIVIEWER.ORG
FR

Export JSONL

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.

Choose a format, its options, and the maximum size of the download.

It’s one lens on OmniViewer’s JSON Lines Viewer — Validate .jsonl & NDJSON: drop a file and every tab is one click away. OmniViewer opens every file format, entirely in your browser — no upload, no server.

FAQ

Is my .jsonl file uploaded anywhere?

No. OmniViewer is a static page with no server-side processing: your .jsonl or .ndjson file is read directly by your browser, and record validation, schema inference, conversion and statistics run locally in Web Workers. The file never leaves your computer.

What is a .jsonl file, and how is it different from .json?

A .jsonl file is JSON Lines: one complete JSON value per line, separated by newlines, with no wrapping array and no commas between records. A .json file is a single document. That is why JSON.parse on a whole .jsonl file fails at the start of the second record — it finished a complete value and then found more content. Each individual line, however, is perfectly valid JSON.

Are .jsonl and .ndjson the same thing?

Yes. JSON Lines (.jsonl), NDJSON (newline-delimited JSON, .ndjson) and LDJSON (line-delimited JSON, .ldjson) all describe the same bytes: one JSON value per line. OmniViewer treats them as one toolkit, so a .ndjson file opens on the same route with the same tabs. JSON Text Sequences (RFC 7464) is genuinely different — it separates records with a 0x1E byte, not a newline.

How large a JSON Lines file can I open?

Effectively unlimited, up to 20 GB and beyond; the engine behind the raw and hex views has been tested in-browser with a 40 GB file. The record scan is the same: because a record boundary in JSON Lines is a single newline byte, the whole file is streamed in 4 MB blocks and only the partial trailing record is carried across a block edge, so the record count, the broken-record list and the schema cover every byte. The CSV and JSON-array conversions produce one document, so those work on a bounded prefix and tell you when they do.

Can OmniViewer find the broken record in a large export?

Yes — that is the point of the route. Every record in the file is parsed, and each one that fails is listed with its record number, the byte offset it starts at and the parse error, wherever it sits in the file. Click it to open the record itself. If the whole file turns out to be a pretty-printed JSON document saved with a .jsonl extension, the viewer says so by name instead of reporting one error per line.

Can I convert JSON Lines to CSV or to a JSON array?

Yes. In Export, choose CSV to flatten each record to one row or JSON array to wrap the records in one document. CSV uses dotted column names for nested objects and leaves a cell empty if a record lacks that field. Large files that exceed the conversion budget can still be inspected in Records.

What does the schema tab tell me that the records tab does not?

JSON Lines has no schema, so nothing in the file guarantees that every record has the same fields or the same types. The schema tab walks every record and reports each field path with the share of records that carry it and the mix of types it was seen with. That is where you discover that user.email is in a quarter of your records, or that qty is a number in most of them and a string in a few — the reason a strict load into BigQuery, a typed struct or a Parquet writer rejects an export that parsed perfectly.

Does it handle CRLF line endings, blank lines and a byte-order mark?

Yes. A trailing carriage return is whitespace as far as JSON is concerned, so CRLF files read the same as LF ones. Blank lines are not records: they are skipped and counted separately in stats. A UTF-8 byte-order mark is treated as belonging to the file rather than to the first record, so it never turns record 1 into a parse error.