How many parts can I split a CSV into?
Up to 10,000 parts from one file, by rows per part or by a number of equal files.
Cut a large CSV into smaller files that an importer, email attachment limit, or spreadsheet can handle. Split by a number of rows per part or into a number of equal files, repeat the header in each part, and download everything as one ZIP built in this tab.
Loading the CSV tools.
You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2csv work and confirm that your data is never sent anywhere. The check takes about a minute.
F12, or Cmd+Option+I on a Mac, and select the Network tab.Your file is read into this tab's memory with the browser's own file reader, parsed and changed by code that is already on the page, and handed back to you as a download. It is never uploaded, never stored in the browser, and gone when you close the tab. The only other request the site can make is the feedback form, and only when you submit it.
The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint, so even a bug could not send your data elsewhere.
Parts are named after the original file with a number, such as orders-part01.csv, orders-part02.csv, and so on, so they sort in order in any folder. Up to 10,000 parts can be made from one file.
Most importers read the first line of a CSV as column names. If only the first part has a header, every other part will either fail to import or have its first data row treated as names. Repeating the header, which is on by default, makes every part a complete CSV on its own. Turn it off only when parts will be joined back together.
Before splitting, a quick pass with the CSV validator is worth the minute it takes. A header problem, such as an empty or repeated column name, would otherwise be copied into every one of the parts, and each importer would report the same error separately.
Browsers ask permission, or quietly block, when a page tries to save many files at once. Putting the parts in one ZIP means one download that always works. The ZIP is built in this tab without compression, so it is created quickly and opens on any computer or phone. When there is only one part, it downloads as a plain CSV.
Yes. If a filter is active in Filter CSV, only the matching rows are split. That lets you take, for example, only one state's orders and cut them into parts. Sorting first with Sort CSV controls which rows land in which part.
The reverse job, stacking several CSV files back into one, is handled by 2join, the 2suite file merger. Splitting one column into several is a different tool, Split column.
All eighteen tools are on the 2csv home page, and once a file is open you can switch between them without reloading it. Part of the 2suite.io privacy-first ecosystem.
Up to 10,000 parts from one file, by rows per part or by a number of equal files.
Yes, by default. Every part gets the header so it imports on its own. You can turn this off.
One ZIP download always works, while browsers often block many separate downloads. A single part downloads as a plain CSV.
Use 2join, the 2suite file merger, which stacks several CSV files into one in the browser.
Yes. Choose rows per part and enter 1000. Each part holds 1,000 data rows plus the header, and the last part holds whatever is left.