Import JSON Lines (JSONL / NDJSON / LDJSON) to Azure

by

Want to import data from JSON Lines (JSONL / NDJSON / LDJSON) file to Azure?

Try Withdata FileToDB, a desktop JSONL to Azure converter for Windows, MacOS, and Linux, Import JSON Lines to Azure, 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 locally and privately, avoid uploading large or private JSONL file(s) to online services.

Download Withdata FileToDB Download FileToDB

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.

Import data from JSON Lines (JSONL / NDJSON / LDJSON) file to Azure

Login to Azure -> Choose JSON Lines file -> Set Azure table -> Import JSON Lines to Azure

Choose Azure and logon.

load JSON Lines data to Azure table - Choose Azure and logon

Click “Wizard – 1 File To 1 Table” at task dialog.

import JSON Lines data to Azure table - task window

Select the “JSON” file type.

Import JSON Lines file data to Azure table - select file type

then show the wizard.

1. Open a JSON Lines (JSONL / NDJSON / LDJSON) file.

Support large ( > 4GB ) JSON Lines file.

Import Data From JSON Lines File To Azure - open JSON Lines file

Here is the file’s content.

Import Data From JSON Lines File To Azure - source JSON Lines file

FileToDB will parse JSON Lines file.

2. Select a Azure table and config fields.

Load Data From JSON Lines File To Azure - select table

3. Preview data will be in Azure table.

Transfer Data From JSON Lines File To Azure - preview

4. Import JSON Lines data to Azure.

Import Data From JSON Lines File To Azure - import data

View imported data in Azure table

Convert JSON Lines to Azure - view data

Convert JSON Lines (JSONL / NDJSON / LDJSON) to Azure in command line

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

Set scheduled tasks for converting JSON Lines (JSONL / NDJSON / LDJSON) to Azure

You can schedule and automate this “JSON Lines to Azure” conversion task by:

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

FAQ


More tools for JSONL / NDJSON / LDJSON.

JSON Lines → Azure SQL reference

Type mapping

Value kindin JSON Linesin Azure SQL
Int1234 (number)int
Bigint9007199254740993bigint
Decimal1234.56 (number)decimal(p,s)
Float1.234e10 (number)float
Text"text" (string)nvarchar(n)
Long text"multi-line\ntext"nvarchar(max)
Date"2026-09-18" (string)date
Datetime"2026-09-18T14:30:00Z" (string)datetime2
Binary"base64:..." (string)varbinary(max)
Booleantrue / false (boolean)bit
JSONnested object on the same linenvarchar(max)

Dialect differences

JSON Lines is a file format and Azure SQL is a database server, so the target has to be told the types the file never carried - the rows below are where the two sides diverge.

Propertyin JSON Linesin Azure SQL
port—1433
identifiersDouble quotes; backslash escapes (a newline inside a string...[square brackets]
row limit—SELECT TOP n
datesNo date type: dates arrive as stringsdatetime2, date, time
long text—nvarchar(max)
binaryNot supported natively - base64 inside a stringvarbinary(max)
separatorNewline between records—
encodingUTF-8 by definition—
typingSame as JSON, but records cannot nest across lines—
shapeFlat streamTables of rows and columns
ceilingStreams, so it scales past what a single JSON document can ...—

Command line

SideCommand
Azure SQLbcp
Azure SQL (load)bcp, or BULK INSERT

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.