How to split a CSV file
- Open or drop your CSV file (or paste it). The file stays on your device.
- Choose how to split: a fixed number of rows per file, a number of equal files, or one file per value in a column.
- Check the list of output files and their row counts.
- Download everything as one ZIP, or download individual parts.
Example
Splitting a 7-row orders file by the region column gives three files:
| File | Rows |
|---|---|
data-North.csv | 3 |
data-South.csv | 2 |
data-East.csv | 2 |
Each file starts with order_id,region,product,amount. The order whose product name contains a line break stays one row.
When to split a CSV
- Import limits. CRMs, email platforms and ad tools often cap uploads at a number of rows or megabytes.
- Spreadsheet limits. Excel stops at 1,048,576 rows per sheet; Google Sheets at 10 million cells per spreadsheet.
- Sharing by segment. Send each region, team or client only their own rows.
- Parallel processing. Equal parts can be processed or reviewed side by side.
File names
Parts are numbered with leading zeros so they sort correctly (part-01 … part-12). When splitting by column, characters that are not allowed in file names (such as / \ : * ? " < > |) are replaced with underscores, empty values go to (empty).csv, and if two values produce the same name a number is added.
Limitations
- Maximum input size is 50 MB and at most 1,000 output files.
- Values are written back with standard quoting; the original file's quoting style is not preserved, but every value is.
- Column-value matching is exact and case-sensitive. Use the CSV Cleaner first to trim stray spaces.
Frequently asked questions
Is the header row copied into every file?
Yes, when "First row contains headers" is ticked. Each part starts with the same header row, so every file can be opened or imported on its own.
Can a row be cut in half between two files?
No. The file is parsed as CSV first, so a row is always kept whole — including rows whose quoted values contain commas or line breaks. Tools that split by line count or by bytes can break such rows; this one cannot.
How do I split by a column such as country or month?
Choose "One file per value in a column" and pick the column. Every distinct value gets its own file, named after the value, in the order values first appear. Values are matched exactly, so "UK" and "uk" go to different files.
Why do I get a ZIP file?
Browsers handle one download much better than dozens of separate ones. The ZIP contains every part as a normal CSV file. You can also download any single part from the list.
How large a file can I split?
Up to 50 MB in the browser, and up to 1,000 output files. To split larger files, use a command-line tool or split the file in stages.
Last updated .