Skip to the converter

NDJSON to CSV converter, without the upload.

Turn NDJSON data files into CSV. It is converted in your browser, so the file never leaves your device.

Drop NDJSON files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert NDJSON to CSV

  1. Add your NDJSON data files

    Drop NDJSON (JSON Lines, JSONL, LDJSON) files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. CSV is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the CSV, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The NDJSON to CSV converter is part of this page and runs inside your browser. Your data files are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

NDJSON to CSV: what to expect

NDJSON is not a single valid JSON document, so ordinary JSON tools reject it. CSV is plain text that every spreadsheet, database and script can read. NDJSON is at home in logs and large record streams that are processed line by line; CSV is the usual choice for moving tabular data between systems.

Each line must be one complete JSON value and blank lines are skipped; if a line is not valid JSON the conversion stops and the message names its line number.

NDJSON vs CSV

NDJSON

Newline-delimited JSON

NDJSON writes one complete JSON value per line, with no enclosing array or commas between records. A program can read, append or process it one line at a time without loading the whole file, which makes it popular for logs, exports and data loading. JSON Lines (.jsonl) is the same format under another name.

Opens in Text editors, jq, pandas, BigQuery and most data tools

NDJSON converter
CSV

CSV spreadsheet

CSV is a table written as text: one row per line, values separated by commas. Every spreadsheet and database can import and export it, but it holds one sheet only and no formatting, formulas or data types.

Opens in Excel, Google Sheets, Numbers, databases and any text editor

CSV converter
NDJSON compared with CSV
NDJSONNewline-delimited JSONCSVCSV spreadsheet
Stands forNewline-Delimited JSONComma-Separated Values
TypePlain-text recordsPlain-text table
CompressionNoneNone
IntroducedThe early 2010s, by no single standards body (a community convention)The 1970s, by no single author (described in RFC 4180)
Opens inText editors, jq, pandas, BigQuery and most data toolsExcel, Google Sheets, Numbers, databases and any text editor
Best forLogs and large record streams that are processed line by lineMoving tabular data between systems
File extension.ndjson, .ldjson.csv

Questions

Are my data files uploaded anywhere?

No. The NDJSON to CSV conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting NDJSON to CSV?

The values are kept. Anything CSV has no way to express, such as formatting, formulas or nesting, is simplified or left out.

Can I convert several NDJSON files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert NDJSON to CSV on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the NDJSON file, press Convert and save the CSV. There is nothing to install.

Is there a file size limit?

Yes. Data files up to 300 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.