CSV Splitter (Split Large CSV Files)

Data Tools

Split a large CSV into smaller files by rows, number of parts, size or a column's values.

Options

Read as a stream in your browser; the file is never uploaded. Only the file size and row and part counts are saved to your past runs. Privacy

About

What the CSV Splitter does

The CSV Splitter breaks a large CSV into smaller files on your device. Split by rows per file, for example into Excel-sized parts of a million rows; into a set number of files; by maximum file size; or into one file per value of a column, such as one per region or customer. The header can repeat in every part, quoted line breaks are respected, and the parts download one by one or as a ZIP.

Steps

How to use it

  1. 1Drop a CSV file, up to 2 GB.
  2. 2Choose how to split and the number, size or column.
  3. 3Press Split, then download each part or all of them as a ZIP.

Example

A real run

Input

orders.csv: 2,500,000 data rows (37 MB)
Split by: rows per file = 1,000,000 · repeat the header

Output

orders-part-001.csv  1,000,000 rows
orders-part-002.csv  1,000,000 rows
orders-part-003.csv  500,000 rows

Each part opens in Excel (limit 1,048,576 rows per sheet).

A 2.5-million-row export becomes three files of at most a million rows each, every one starting with the header row.

Options

Every setting, and when to use it

Rows per file
The usual choice for Excel, which opens at most 1,048,576 rows: 1,000,000 rows per file leaves room for the header. Smaller values suit email attachments and import tools with row limits.
Number of files and Size per file
Number of files divides the file into parts of about equal size. Size per file keeps each part under a limit, such as an upload form's 25 MB.
Values of a column
Creates one file per distinct value, such as region or account manager, named after the value. Up to 1,000 distinct values.
Repeat the header
On, every part starts with the column names, so each opens correctly on its own. Off, only the first part has the header, which suits joining the parts again later.

Good to know

Common problems and limits

Files up to 2 GB, read as a stream so the whole file is never held in memory as text. Very large files take about a second per 100 MB.

Rows are never cut in half: a quoted field with a line break stays in one row. Splitting by size keeps parts at or under the limit except for a single row that is larger on its own.

To combine files instead, use the CSV Merger; to read one part without Excel, use the CSV Viewer.

Audience

Who uses it

  • Analysts and finance teamsOpen an export that is too big for Excel by splitting it into parts of a million rows.
  • Operations and sales teamsSend each region, store or account manager only their own rows by splitting on that column.
  • Developers and data engineersCut a large file into batches for an import API or a tool with a row or file-size limit.

FAQ

Frequently asked

How do I split a CSV file that is too big for Excel?

Drop it here, choose Rows per file and enter 1,000,000, and keep Repeat the header on. Each part then opens in Excel, which shows at most 1,048,576 rows per sheet.

How do I split a CSV by the values in a column?

Choose Values of a column and enter the column's header name or number. You get one file per distinct value, each with the header, named after the value, such as orders-TX.csv.

Is the header kept in each file?

Yes, with Repeat the header in every file on, which is the default. Turn it off if you plan to concatenate the parts again later.

How do I split a CSV on the command line?

On macOS and Linux, tail -n +2 big.csv | split -l 1000000 - part_ splits the rows without the header, which you then add back to each part. In Python with pandas, read_csv with chunksize=1000000 and write each chunk with to_csv.

Will a row with a line break inside quotes be cut?

No. The splitter reads records the way CSV defines them, so a quoted field containing a line break stays inside its row and never starts a new file in the middle.

Is my file uploaded?

No. The file is read as a stream in your browser and the parts and ZIP are built on your device. Only the file size and the number of rows and parts are saved to your past runs.

Automation: an MCP tool split_csv(file, mode, n) → files and an n8n node are planned for this tool.

All data tools →
GuideWorking with big CSV files in and out of Excel →Excel stops at 1,048,576 rows and quietly changes ZIP codes, long IDs and dates. How to split, merge and convert big CSV files without losing data.
Built and maintained by Radhika SinghLast updated Questions: hello@operativez.ai