Convert CSV to NDJSON

Add your CSV data and automatically convert it to NDJSON.

CSV input options
NDJSON output options
This format does not have any output options.

CSV

Comma-separated values (CSV) is a simple and widely used format for storing tabular data. It is human-readable and easy to generate and parse.

Row delimiter

The row delimiter is the character used to separate each row in the CSV data. This is usually a new line character (LF), or a carriage return plus a new line character (CRLF).

We will automatically detect this and parse the rows correctly.

Value separator

The value separator is the character used to separate each value inside a row.

For CSV files, as the name implies it is usually a comma, but it can be different depending on the software used to generate the CSV file, we support the following separators:

  • Comma ,
  • Tab \t
  • Pipe |
  • Hash #
  • Semicolon ;

Character encoding

Depending on what software you used to generate the CSV file, it might have a different character encoding

If no character encoding is specified we will automatically try to guess it, so you don't have to worry about it if you're unsure.

NDJSON

NDJSON (Newline Delimited JSON) is a convenient format for storing or streaming structured data that may be processed one record at a time. Each line in an NDJSON file is a valid JSON object, separated by a newline character.

This format is particularly useful for handling large datasets, as it allows for easy parsing and processing of data line by line without loading the entire file into memory.

Key Features

  • Each line is a self-contained JSON object
  • Simple to read and write sequentially
  • Ideal for streaming and logging applications
  • Supports partial processing of large datasets

NDJSON is commonly used in data pipelines, log processing, and scenarios where you need to append new data to existing files without modifying the entire structure.

Convert CSV