Skip to content
Fileora
.ndjson / .jsonl · Newline Delimited JSON (JSON Lines)

What Is an NDJSON (.ndjson) File?

An NDJSON (`.ndjson`) file is a Newline Delimited JSON (JSON Lines) used for streaming application logs, BigQuery/Snowflake bulk data imports, and machine learning training datasets (.ndjson, .jsonl). Supported by jq, Python, Node.js streams, Elasticsearch, and data warehouses.

Tap to choose files

PDF, DOCX, XLSX, PPTX, JPG, PNG, MP3, MP4, EPUB, ZIP and 100+ more

NDJSON Technical Specifications & Use Cases

Newline Delimited JSON (JSON Lines) (.ndjson, .jsonl) is classified as a structured data serialization with uncompressed storage. In everyday workflows, it is used for streaming application logs, BigQuery/Snowflake bulk data imports, and machine learning training datasets (.ndjson, .jsonl).

Full Format NameNewline Delimited JSON (JSON Lines)
File Extension(s).ndjson, .jsonl
MIME Type(s)application/x-ndjson
Format ClassificationStructured data serialization (uncompressed)
Parent Category HubData Converters & Tools (/data)
Header / Magic BytesUTF-8 / ASCII structured text header inspection
Primary Use CasesStreaming application logs, BigQuery/Snowflake bulk data imports, and machine learning training datasets (.ndjson, .jsonl).
Notable LimitationsNot a single valid JSON array until wrapped in brackets and comma-joined (which Fileora's NDJSON to JSON converter performs automatically).

How to Open an NDJSON (.ndjson) File

Supported by jq, Python, Node.js streams, Elasticsearch, and data warehouses. Below are the verified programs and built-in apps that open .ndjson files across desktop and mobile operating systems:

Microsoft Windows

VS Code, Notepad++, jq

Apple macOS

VS Code, Terminal (jq), TextEdit

Android

Text/code viewers

iPhone & iPad (iOS / iPadOS)

Text/code viewers

How NDJSON Compares to Closest Alternatives

Stores one independent JSON object per line so multi-gigabyte logs can be processed line-by-line without loading the entire file at once.

Convert from NDJSON (2 Supported Targets)

Choose a target format below to convert your .ndjson file locally in your browser without uploading:

Convert Other Files to NDJSON (1 Supported Sources)

Create .ndjson files in your browser from any of the source formats below:

Frequently Asked Questions About NDJSON (.ndjson) Files

An NDJSON (`.ndjson`) file is a Newline Delimited JSON (JSON Lines) used for streaming application logs, BigQuery/Snowflake bulk data imports, and machine learning training datasets (.ndjson, .jsonl). Supported by jq, Python, Node.js streams, Elasticsearch, and data warehouses. In practice, it is mainly used for streaming application logs, BigQuery/Snowflake bulk data imports, and machine learning training datasets (.ndjson, .jsonl).

Explore More Data Tools

Visit the Data hub or browse all 118 supported formats in the Fileora encyclopedia.