Split a CSV file into multiple files

Cut a large CSV or Excel file into smaller parts that an app, an e-mail attachment or Excel can handle, with the header row repeated in every file.

Choose the file to split

or drop .csv or .xlsx files here

Up to 20 files at a time. Your files stay on this device.

View history

Your files stay on this device: the conversion runs in your browser and nothing is uploaded. Learn how your files are handled

How to split a CSV file

  1. Choose the file, CSV or Excel. The number of rows and columns is shown.
  2. Choose how to split:
    • Rows per file: for example, 5,000 rows per file for an import limit.
    • Number of files: for example, 4 equal parts for four people.
    • Value in a column: one file per country, region, salesperson, status and so on, named after the value.
  3. Check the list of files and download them as a ZIP.

When you need it

  • Import limits in customer databases (CRMs), e-mail tools, online stores and accounting apps that accept only a certain number of rows or megabytes per upload.
  • Excel’s row limit of 1,048,576 rows: split a bigger export into parts that Excel can open.
  • Sharing one region’s or one person’s rows without sending everyone the whole file.
  • E-mail attachment limits on large exports.

Splitting by a column’s value: an example

Say orders.csv has a Region column. Choose Value in a column and pick Region:

OrderRegionAmount
1001North120.00
1002South75.50
1003north42.00
100418.25

This gives three files, each starting with the header row: orders - North.csv with orders 1001 and 1003 (capital letters are ignored), orders - South.csv with order 1002, and orders - (blank).csv with order 1004. Use it to give each region, salesperson or store only its own rows, or to split an export by a status or month column.

How the split works

The tool reads the file properly, so values in quotes that contain commas or line breaks stay in one piece. A row is never cut in half. Every part starts with the original header row and keeps the original column order. Rows are not sorted or changed. When splitting by a column’s value, values that differ only in capital letters go into the same file, and empty values go into a “(blank)” file.

The separator (comma, semicolon or tab) is detected automatically. The parts are saved as standard CSV files with commas (UTF-8), or as Excel workbooks.

Frequently asked questions

Is the header row kept in every file?

Yes. Each part begins with the header row, followed by its share of the data rows. If your file has no header row, untick “First row contains column names”.

Can it split files too big for Excel?

Yes. The file is read by your browser, not by Excel, so CSV files with millions of rows can be split, as long as your device has enough memory. Browsers on a computer handle files of a few hundred megabytes.

Can I split by file size instead of rows?

Not directly. Work out the average size of a row, then divide the part size you want by it. For example, a 100 MB file with 1,000,000 rows has about 100 bytes per row, so parts of 50,000 rows come to roughly 5 MB each.

Does splitting change my data?

No. Rows keep their order and values. The only change is that every part is saved as a standard CSV file with commas as separators (UTF-8), or as .xlsx if you choose that.

Can a CSV file have 2 million rows?

Yes. A CSV file has no row limit of its own. Excel, though, shows at most 1,048,576 rows per sheet and leaves out the rest when it opens a bigger file. Split the file here into parts of up to 1,000,000 rows, and each part opens in full in Excel.

How do I split a CSV file into columns?

That is a different job: dividing one column into several, such as a full name into first and last name. In Excel, select the column and use Data → Text to Columns. If the whole file shows up in one column, it uses a separator your Excel doesn’t expect, and the CSV cleaner can change it.

Can I split an Excel file into multiple files?

Yes. Choose the .xlsx file here, pick the sheet, and choose how to split it. Each part can be saved as an Excel workbook or as a CSV file, with the header row in every part. Excel has no built-in command for this, so without a tool you would copy the rows into new workbooks by hand.

Is my file uploaded?

No. Splitting happens in your browser, and the ZIP file is created on your device.