Split a CSV file into multiple files
Drop a CSV file and choose how to cut it: so many rows per file, a set number of files, or one file per value of a column (one per city, per month…). Free, and quoted cells and line breaks inside cells stay intact.
Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.
Split a CSV file
Drop your .csv file here.
The file is split in your browser: nothing is uploaded.
How to use it
- Drop your .csv file or choose it on your device.
- Pick the split method: rows per file, number of files, or by the value of a column.
- Check the options: header row repeated in every file, file names numbered or taken from the value.
- Download all the files at once as a .zip, or each file from the list.
Example
Input
customers.csv (5 rows), split by the “City” column
Output
3 files: customers-london.csv (2 rows), customers-leeds.csv (2 rows), customers-york.csv (1 row)
Good to know
- Up to 1,000 files per split. The list shows the first 50; the .zip always contains them all.
- Values of a column are compared exactly, after removing spaces at both ends: “Paris” and “paris” give two files.
- Each file keeps the separator of the original file. Blank rows are skipped.
- Everything happens in your browser: the file is never uploaded.
Frequently asked questions
How do I split a CSV file into multiple files?
Drop the file, choose “Rows per file” (1,000 by default), “Number of files” or “By column value”, then download all the files in one .zip, or each file from the list. Up to 1,000 files per split.
How do I split a large CSV file without opening it in Excel?
Drop it here: the file is read by your browser, not by Excel, so it does not matter that Excel stops at 1,048,576 rows. Choose a number of rows per file below that limit, and each part opens normally in Excel.
How do I split a CSV file into 2 files?
Choose “Number of files” and keep 2: the data rows are shared out evenly, and both files get the header row. With 7 data rows, for example, you get files of 4 and 3 rows.
Is the header row kept in every file?
Yes, “Repeat the title row in every file” is ticked by default, so each part opens with its column names. Untick “The first row holds the column titles” if your file has no header, so that its first row is treated as data.
Can I split a CSV by the value of a column?
Yes: choose “By column value” and the column, for example City. You get one file per value, named after it (customers-london.csv…). Values are compared exactly after trimming spaces, so “Paris” and “paris” give two files.
How do I split a CSV file into columns in Excel?
That is a different problem: everything is in column A because the separator does not match Excel’s. Use Data > From Text/CSV and choose the delimiter, or Data > Text to Columns. This tool splits a file into several files, not cells into columns.