Convert Excel to JSON lines (JSONL / NDJSON / LDJSON)

Want to convert Excel to JSON lines (JSONL / NDJSON / LDJSON)?

Try Withdata Data File Converter, a desktop Excel to JSON converter for Windows, MacOS, and Linux, Convert Excel to JSON lines, Easy and Fast.

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Convert files locally and privately, avoid uploading large Excel file(s) to online services.

Download DataFileConverter Download DataFileConverter

JSON Lines text format (JSONL), also called Newline-delimited JSON (NDJSON), or Line-delimited JSON (LDJSON). JSON Lines files may be saved with the file extension .jsonl, *.ndjson, *.ldjson.

Convert Excel to JSON lines (JSONL / NDJSON / LDJSON)

Choose Excel file -> Set target JSON Lines (JSONL / NDJSON / LDJSON) file -> Convert Excel to JSON lines (JSONL / NDJSON / LDJSON)

Click “Start a New Convert” at task dialog.

Convert Excel to JSONL - task window

then show the wizard.

Select source/target file type.

Convert Excel to JSONL - select type

1. Open a Excel file.

Convert Excel to NDExcel - open JSON lines file

The Excel content:

Convert Excel to NDExcel - JSON lines content

2. Config target JSON Lines (JSONL / NDJSON / LDJSON) file.

Convert Excel to LDExcel - config Excel file

3. Set rows options.

Convert Excel to JSONL - summary

4. Convert Excel to JSON lines (JSONL / NDJSON / LDJSON).

Convert Excel to NDJSON - convert

See JSON lines file

Convert Excel to LDJSON - view JSON lines file

Convert Excel to JSON lines (JSONL / NDJSON / LDJSON) in command line

Save “Excel to JSON Lines” session, then you can:

Set scheduled tasks for converting Excel to JSON lines (JSONL / NDJSON / LDJSON)

You can schedule and automate this converting task by:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for “Excel to JSON lines” conversion.
  2. Set scheduled task for “Excel to JSON lines” conversion.

FAQ

What is Withdata DataFileConverter?
How long does it take to convert Excel to JSON lines?
Is it safe to convert Excel to JSON lines using DataFileConverter?
Can I convert Excel to JSON lines on Linux, Mac OS?
Can I convert Excel to JSON lines in command line?

More tools for JSONL / NDJSON / LDJSON.

EXCEL → JSON Lines reference

Type mapping

Value kindin EXCELin JSON Lines
Int1234 (a real numeric cell)1234 (number)
Bigint9007199254740993 (exact only while the cell stays text)9007199254740993
Decimal1234.56 (numeric cell, format controls the displayed decimals)1234.56 (number)
Float1.234E+10 (numeric cell)1.234e10 (number)
Texttext cell; leading zeros survive only if the column is text"text" (string)
Long texttext cell; wraps inside the cell rather than the row"multi-line\ntext"
Datea serial number plus a date cell format"2026-09-18" (string)
Datetimea serial number plus a date-time cell format"2026-09-18T14:30:00Z" (string)
Binarynot representable as data"base64:..." (string)
BooleanTRUE / FALSE (a real boolean cell)true / false (boolean)
JSONa text cell; the quotes are part of the valuenested object on the same line

Dialect differences

Both EXCEL and JSON Lines are file formats, so what differs below is how each one chooses to represent a value.

Propertyin EXCELin JSON Lines
identifiersNot applicable; a cell holds exactly one valueDouble quotes; backslash escapes (a newline inside a string...
datesStored as a serial number; only the cell format makes it lo...No date type: dates arrive as strings
binaryOnly as text or an embedded object, not as a data columnNot supported natively - base64 inside a string
separatorCells, not delimitersNewline between records
encodingUTF-8 internally, declared in the packageUTF-8 by definition
typingReal cell types: text, number, date, boolean, errorSame as JSON, but records cannot nest across lines
shapeMultiple sheets, each a flat gridFlat stream
ceiling1,048,576 rows x 16,384 columns per sheet; 255 sheets per w...Streams, so it scales past what a single JSON document can ...

Data File Converter without the manual work

For batch jobs, large files and scheduling use the Data File Converter converter — an offline desktop app for Windows, Linux and macOS. Free trial.


Posted

in

by