# CSV splitter

> Split large CSV and Excel files online by rows, number of files, file size or column value. Header in every part, ZIP or Excel download. Free and private.

Canonical: https://cromagnon.app/tools/csv-splitter
Last updated: 2026-10-26

- Category: Data
- Formats: CSV · TSV · XLSX · XLS
- Use it: https://cromagnon.app/tools/csv-splitter (free, runs in the browser)

## What it does

Split a large CSV file into smaller ones that open quickly, fit under upload limits or go to different people. Choose how: a fixed number of rows per file, a set number of files with the rows shared evenly, a largest file size in kilobytes, or one file for each value in a column, such as one file per city, sales rep, customer or month. Every part keeps the header row, rows are never cut in half, and quoted cells with commas or line breaks stay intact. Download all parts as a ZIP of CSV files, or as one Excel workbook with a sheet per part. Excel, ODS and TSV files can be split too.

## How to use it

1. Drop a CSV, TSV or Excel file on the box, paste rows, or try the sample orders.
2. Choose Split by: Rows, Files, Size or Column, and set the number or the column.
3. Check the list of parts, with the rows and file size of each; click one to preview it.
4. Set the file names, separator, header row, UTF-8 BOM and formula protection.
5. Download every part as a ZIP, as one Excel file, or a single part with its own button.

Tip: Uploading to a form that says "maximum 5 MB"? Split by size with a limit a little under it, such as 4,900 KB, so each part passes even if the site counts sizes differently.

## Four ways to split

- **By rows**: Every file gets the same number of data rows, for example 1,000 contacts per file for an email tool that imports in batches. The last file holds whatever is left.
- **By number of files**: Rows are shared out as evenly as possible: 10,001 rows into 4 files gives 2,501, 2,500, 2,500 and 2,500. Useful for splitting work between people.
- **By size**: Files stay under the size you set, counting the header, separators and the BOM exactly as they will be saved.
- **By column value**: One file per distinct value in the column you choose, named after the value: orders-Lahore.csv, orders-Karachi.csv. Rows with a blank value go to a file ending in blank.

## Why split a CSV file at all?

Excel stops at 1,048,576 rows and becomes slow long before that. Many web apps, CRMs and email platforms cap imports at a number of rows or megabytes. Some teams need one file per region or per client before sending data out. And small files are simply easier to check, email and version. Splitting in the browser means the data never leaves your computer, which matters for customer lists and financial exports.

## Getting the details right

The splitter reads the file properly before cutting it: it detects the separator and the encoding, and understands quoted cells that contain commas, quotes or line breaks, so a multi-line address never ends up split across two files. Each part is written with the same columns and, unless you turn it off, the same header row. File names are cleaned of characters Windows and macOS don't allow, and numbered with leading zeros (part-01, part-02 … part-12) so they sort in order.

Choose the separator the receiving software expects: a comma almost everywhere, a semicolon for Excel in much of Europe, a tab for TSV. Keep the UTF-8 BOM if the parts will be opened in Excel so accents and non-Latin text display correctly, and turn on formula protection for data that came from a web form.

## Common splitting jobs

- **Email and CRM imports**: Mailchimp, HubSpot, Salesforce and similar tools limit file sizes or rows per import. Split by rows or size and import the parts one by one.
- **Sharing by region or owner**: Split a company-wide export by the Region or Owner column and send each person only their own rows.
- **Opening huge exports**: A 2-million-row export won't open in Excel. Split it into parts of 1,000,000 rows or fewer and each opens normally.
- **Testing with a sample**: Split into many small files and use the first part as a quick test import before loading everything.

## Tips

- **One file per month**: Split by column on a month or year column. If you only have dates, add a month column in a spreadsheet first (=TEXT(A2,"yyyy-mm")).
- **Keep IDs together**: Splitting by column value guarantees all rows for one customer or order land in the same file.
- **Excel instead of a ZIP**: One Excel file with a sheet per part is easier to email than a ZIP and opens on any computer.
- **Headerless parts**: Some importers append files to an existing table and want no header. Untick Header row in every file.
- **Join them back later**: The CSV merger puts the parts back together in one table, matching columns by name.
- **Very large files**: Files up to about 300 MB work in a modern browser. For anything bigger, split on a desktop with more memory.

## Questions

### How do I split a large CSV file into multiple files?

Drop it here, choose Split by Rows (for example 100,000 rows per file), and download the ZIP. Each file keeps the header row.

### Can I split a CSV by column value?

Yes. Choose Column and pick the column: you get one file for each distinct value, named after it.

### Does each file keep the header?

Yes, by default. You can turn it off if your importer doesn't want headers.

### Can I split an Excel file?

Yes. XLSX, XLS and ODS sheets can be split; choose the sheet in the bar above the parts, and download CSV parts or one Excel file.

### Will rows with line breaks in cells break?

No. Quoted cells are kept whole, so a row is never cut between two files.

### How are the files named?

With the name you choose followed by a number (sales-01, sales-02) or, when splitting by column, by the value (sales-Lahore).

### Is my file uploaded?

No. Files are opened and processed in your browser, on your device. Nothing is uploaded, stored or logged, so the tools are safe for private and work files.

## Related

- [CSV Merger](https://cromagnon.app/tools/csv-merger)
- [Excel Workbook Merger](https://cromagnon.app/tools/excel-merger)
- [CSV Cleaner](https://cromagnon.app/tools/csv-cleaner)
- [Excel to CSV](https://cromagnon.app/tools/excel-to-csv)
- [CSV Studio](https://cromagnon.app/studios/csv-studio)
- [All tools](https://cromagnon.app/tools)
