The quick answer

Flip the toggle to JSONL → CSV, paste your lines, and every record becomes a row: the header is the union of keys across all objects (first-seen order), missing values arrive as empty cells, and fields containing commas, quotes or newlines are RFC 4180-quoted. A 12,000-line file converts in about 2 seconds — nothing uploads.

The export that opens as a wall of curly braces

The engineer hands you a file called events.jsonl and says it's the data you asked for. You double-click it. Excel squints, decides everything is one column, and renders a screen-length of braces, quotes, and escaped characters — twelve thousand rows of "what is this" with the actual information buried inside like raisins in concrete.

This converter is the translator between those two worlds. Drop in the .jsonl and every record becomes a row: the header is built from the union of keys across all your objects, mismatched keys from different lines reconcile into that one full header row, missing values arrive as empty cells, and any field containing commas, quotes or newlines is quoted correctly under RFC 4180. What comes out is a clean CSV that opens in Excel, Sheets, or your analytics tool as an honest table — with the whole operation running on your machine and never on a server.

From curly braces to clean columns

  1. Load the JSONL

    Drag the file in or paste raw lines. Every non-blank line must be one complete JSON object — the union of their keys becomes your header.

  2. Confirm the direction

    The JSONL → CSV toggle is the one control that matters. Conversion happens live as you paste, and the note under the output states the typing policy.

  3. Watch the header build

    Keys appear in first-seen order across all records. A key that exists in only 3 lines of 12,000 still gets its column — mostly empty, never dropped.

  4. Check the shape

    Top-level keys become columns; nested objects print as [object Object]. Flatten deep trees first with the Nested JSON to CSV tool when the nesting is the story.

  5. Download the CSV

    One click writes data.csv with RFC 4180 quoting — commas, quotes and newlines inside values survive the trip into Excel and Sheets.

What JSON Lines actually is

The format has two documented ancestries worth citing precisely. The community spec lives at jsonlines.org and ndjson.org, which codified the conventions — UTF-8, one object per line, \n line terminator, blank lines ignored. On the standards track, the IETF's RFC 7464 defines JSON Text Sequences, the closely related newline-delimited framing for streaming JSON documents; each line's payload is an ordinary JSON text as defined by RFC 8259. Logging frameworks, Kafka pipelines, database export tools, and LLM training-data pipelines all converged on some dialect of this — which is why the file in your downloads folder has an .jsonl extension and no explanation.

The reasons for the convergence are practical. You can process a JSONL file line by line with constant memory instead of loading a monolithic document. You can append records forever without rewriting the file. One malformed line can be skipped while the rest of the file survives. None of those virtues matter to a spreadsheet — which is exactly why the two formats keep meeting in converters.

{"ts":"2026-04-03T09:14:22Z","user":{"id":8123,"name":"Ana Ruiz"},"event":"login"}
{"ts":"2026-04-03T09:15:40Z","user":{"id":9051,"name":"Ben Okafor"},"event":"search","query":"sourdough starter"}
{"ts":"2026-04-03T09:16:03Z","user":{"id":8123,"name":"Ana Ruiz"},"event":"view","page":"/recipes/419"}

Top-level keys become columns

Notice what happened to user in the sample above: the whole object prints as [object Object], because this converter flattens at the top level only — each key in your records becomes exactly one column, and anything nested inside a value is not unpacked. When the nesting is the whole story, flatten it first: the Nested JSON to CSV tool produces dot-path columns such as user.id and user.name from trees, and its output rides straight into a spreadsheet.

ts,user,event,query,page
2026-04-03T09:14:22Z,[object Object],login,,
2026-04-03T09:15:40Z,[object Object],search,sourdough starter,
2026-04-03T09:16:03Z,[object Object],view,,/recipes/419

The union-of-headers problem

The honest answer to sparse columns is: keep them all. Every key that appears in any record becomes a column, however rare — the 7 rows with referral codes might be exactly what an audit is hunting, and a converter that prunes them silently is making your judgment calls for you. There is no pruning here: the union is complete, rare columns arrive mostly empty, and if analysis wants them gone, deleting a column in the spreadsheet is a decision you make, visibly, yourself.

The quoting rules that keep CSV alive

id,name,note
7,"Ruiz, Ana","replied ""yes"" by email"
8,Okafor,searched "sourdough starter"

Two Excel rituals deserve their own paragraph, because they account for most "your converter broke my file" reports that are actually Excel being Excel. First, the locale delimiter: the output is comma-delimited RFC 4180, and a double-click open in Germany or Brazil (semicolon locales) lands everything in one column — use Excel's Data → From Text/CSV import, which respects the quoting properly. Second, the leading-zeros trap: a value of 007 survives conversion as text, but Excel's default open turns the cell into 7 — import with the column formatted as text, or format it afterward, whenever IDs and codes matter.

A real log, end to end

Twelve thousand events become a spreadsheet

Input

File: events.jsonl · 12,000 lines, 2.4 MB · 19 core keys across all records · 12 rare keys present in 0.03% to 1.4% of lines · longest single line 3,940 bytes (an error-stack record)

Output

Union of headers: 31 columns · Full CSV: 1.9 MB, opens as a clean table in Excel and Sheets · Nothing pruned — the 12 rare keys survive as mostly-empty columns, ready for the audit that needs them · Runtime: about 2 seconds in-browser, zero network activity

The census is where the story is. Those twelve rare keys included a debug_mode flag (on 14 lines), two versions of an A/B experiment field (v2 won, 168 lines vs 9), and a payment_method remnant from a deleted checkout path (3 lines). All twelve survive as columns — mostly empty, exactly as rare as reality — and in the spreadsheet those are five empty columns and three interesting questions. That is the honest division of labor: the converter shapes the data; the analyst decides what it means.

The cases that need judgment

  • Mixed types in one column: one line can carry "user_id": 8123 and another "user_id": "8123" — both land in the same column, and Excel may then read the whole column as text. Decide the column's type once, in the spreadsheet, after converting.
  • Nested objects and arrays: values print as [object Object] or comma-joined text, because this converter flattens at the top level only. Keep the interesting fields at the top level of each record, or flatten deep trees first with the Nested JSON to CSV tool.
  • Arrays that eat the row: a messages array serialized into one cell makes a monster row. Keep arrays out of records meant for spreadsheets, or accept the wide cell and split it later.
  • One bad line stops the job: every line must parse as JSON — a stray footer or truncated final line surfaces as a parse error. Fix or delete that line in the source and re-convert; the rest of the file is untouched.
  • Encoding stowaways: the reader expects UTF-8; Latin-1 bytes surface as mojibake that passes straight through to the CSV. Fix the source encoding — no converter can guess the original bytes.
  • Trailing debris: blank lines are absorbed silently, and CRLF and LF line endings both parse. That is the extent of the tolerance — anything that is not blank and not JSON is an error.

Who drops files on this page

  • Data analysts handed .jsonl exports from product event pipelines and needing the familiar grid for pivots, filters, and pivot-chart arguments with marketing.
  • ML engineers inspecting fine-tuning and evaluation datasets — question/answer pairs, prompt logs, scored outputs — before a training run consumes them.
  • Support and operations leads converting ticket, chat, and call logs into spreadsheets for quarterly reporting.
  • Developers sanity-checking their own logging output: the preview grid doubles as a fast eyeball pass over what the code is actually emitting.
  • Students and researchers converting collected data for R, SPSS, or whatever their methods course requires — one less Python environment to install tonight.

The surrounding bench covers the rest of the format's relatives: plain JSON to CSV conversion for document-shaped files, Nested JSON to CSV when the nesting is the whole story, and the JSONLines to JSON tool when you want the whole array pretty-printed instead of tabulated. Round-tripping back to JSONL — common after spreadsheet edits — is the CSV to JSONL Converter, which handles the reverse direction including type inference.

Four ways to turn JSONL into a table

This convertercsvkit (in2csv)Python + pandasCloud converters
SetupNone — a browser tabpip install and a terminalAn environment and a notebookAn account, usually
Your dataStays on your machineStays on your machineStays on your machineUploaded to their servers
Header from mixed keysUnion of all keys, automaticjq gymnasticsA few lines of code you writeRarely offered
Bad linesA clear parse error — fix the line, re-runDepends on flagsYour try/except disciplineA failed job email
CSV dialectRFC 4180 comma outputFlags to memorizeOptions to memorizeSometimes
Best forGetting to analysis in secondsScripted, repeatable pipelinesAnalysis as the destinationOne-off desperation
Scripts win on repeatability; the browser wins on the first, second, and fifth time you need this and never wanted a pipeline.

If you're converting the same export every Monday, write the script — automation is the right answer to routine. For the other ninety percent of occasions, the ones where a file lands on your desk at 4:55 p.m. and someone wants numbers by standup, a tab that unions, quotes and never uploads is the tool that fits the tempo of the actual work.

Log files are personal files

It's worth pausing on what JSONL usually contains: not abstract data, but records of what humans did — searches, purchases, locations, support conversations, health hints. Uploading a user-behavior log to a free converter website means handing a stranger the most sensitive artifact most companies produce, for a conversion you can do in a browser tab in two seconds.

So the architecture is the privacy policy here, stated in wiring rather than in a document: the file is read by local JavaScript, flattened in memory, and written back out by your own browser's download machinery. No upload endpoint exists on this page — not for members, not for large files, not for premium. For teams under GDPR or HIPAA scrutiny, that's not a feature; it's the difference between a tool you can use and one you legally shouldn't.

Frequently asked questions

What's the difference between JSONL, NDJSON, and JSON Lines?

Nothing but the name — all three describe the same format: one complete JSON object per line, with lines separated by ordinary newline characters. JSON Lines is the fuller name, NDJSON (newline-delimited JSON) is the engineering slang, and .jsonl is the file extension. The tool accepts all of them, along with the \n-delimited exports of most logging and ML pipelines.

Can it convert a regular .json file that's just one big array?

Not directly — this converter speaks line-delimited JSON, where every line must be a complete object; a pretty-printed array fails on line 1 with a parse error that says so. Turn the array into lines first (the JSON to NDJSON tool does exactly that), then bring the lines here.

Is there a file size limit?

Nothing server-side, because nothing uploads. The file is read and parsed in your browser, so the ceiling is your tab's memory: tens of megabytes convert comfortably on a normal laptop, and a 12,000-line log takes about 2 seconds. One pass, no quota, no queue.

Does my data get uploaded anywhere?

No. Parsing, flattening, and CSV writing all run locally in JavaScript, and the download is generated in your browser from memory. Log files and model datasets tend to contain personal data, which is precisely why this tool was built to never transmit them.

The format-family workbench

Every direction of the JSON-family traffic is covered nearby: JSON to CSV for document files, Nested JSON to CSV for deep trees, JSONLines to JSON to pretty-print the whole array, and CSV to JSONL for the ride back when a spreadsheet edit has to rejoin a pipeline. One bookmark, no uploads, and the curly-brace wall stops being a wall.

Sources and further reading

  • JSON Lines — the official format specification — https://jsonlines.org/
  • NDJSON — newline-delimited JSON specification — http://ndjson.org/
  • IETF — RFC 7464: JSON Text Sequences — https://www.rfc-editor.org/rfc/rfc7464.html
  • IETF — RFC 4180: CSV format and quoting rules — https://www.rfc-editor.org/rfc/rfc4180.html
  • MDN Web Docs — JSON.parse() — https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.