How to Split a Large CSV File (Even Several GB) into Smaller Files
Excel stops at about a million rows and upload forms have size limits. Split a big CSV by rows, size or number of files, in your browser, with the header in each.
By PickyPDF team · · 4 min read
Big CSV files are everywhere: a year of orders from an online shop, a database export, website logs, a mailing list. They're easy to make and surprisingly hard to open. Excel stops at 1,048,576 rows, import tools refuse files over a size limit, and email won't carry them at all.
The answer is to split the file into smaller CSVs that each work on their own. This guide shows how to do it for free with Split CSV, which handles files of several gigabytes right in your browser, without uploading them anywhere.
Why split a CSV file?
- Open it in Excel or Google Sheets. Excel shows at most 1,048,576 rows, and Google Sheets has a cell limit too. A file with 5 million rows needs to become at least 5 files.
- Import it. Many CRMs, shops, email tools and databases only take files under a certain size or row count.
- Send or upload it. Email attachments and web forms often stop at 10 or 25 MB.
- Work in batches. Processing 100,000 rows at a time is easier to check and to restart if something goes wrong.
How to split a CSV file
- Open Split CSV.
- Choose how to split it (see the three ways below).
- Choose your CSV file, or drop it onto the page. It can be a .csv, .tsv or .txt file.
- Click Split CSV. In Chrome or Edge on a computer you'll first pick a folder to save the files in.
- Get your files. They're saved into that folder as they're made, or listed for you to download.
Three ways to split
Rows per file
Each file gets the same number of rows, such as 100,000 or 1,000,000. This is the one to use for Excel: anything under 1,048,576 rows opens. The last file holds whatever is left.
Number of files
Choose how many files you want, such as 5, and the CSV is divided into that many parts of about the same size.
File size
Choose the largest size each file may be, such as 25 MB for an email or 10 MB for an upload form. Every file stays under it. The only exception is a single row that's bigger than the limit on its own, which gets a file of its own.
The header row in every file
The first row of most CSVs holds the column names: id, name, email and so on. Leave "The first row is the column names: repeat it in every file" ticked and every part starts with that row, so each file opens with the right columns and imports on its own.
If your file has no header row, untick it, and the first row is treated like any other.
Your data stays exactly as it was
Splitting a CSV shouldn't change it, and with Split CSV it doesn't:
- Rows are never cut in half. Files are only split between rows.
- Line breaks inside quoted cells stay in their cell. An address or comment that runs over two lines is still one row.
- Bytes are copied as they are. The encoding, the separator (commas, semicolons, tabs or pipes), quotes, accents and line endings are all unchanged.
- Excel's byte order mark is kept. If your file starts with one, so does every part, so Excel still shows accented letters correctly.
How big a CSV can it split?
Up to 10 GB. The file is read a few megabytes at a time, so a file of several gigabytes needs no more memory than a small one. On a typical computer, a few gigabytes take a minute or two.
How the files are saved depends on your browser:
- Chrome and Edge on a computer: you pick a folder, and the files are written straight into a new folder inside it as they're made. This is the fastest way, and size doesn't matter.
- Firefox, Safari and phones: the files are kept on your device first, then you download them one by one, all at once, or together as one ZIP (up to 2 GB in total). You'll need free disk space about the size of your CSV.
The files are named after your CSV, the tool and the date, with a part number: sales-split-csv-PickyPDF-2026-11-24-part-001.csv, -part-002.csv and so on, so they sort in order.
Is it private?
Yes. The CSV is split in your browser and never leaves your device. That matters for exports full of customer names, emails, orders or payroll. Only a count of how many files you split today is sent to our server.
Good to know
- Excel files (.xlsx) need saving as CSV first: in Excel, choose File > Save As and pick CSV UTF-8.
- CSV files saved as UTF-16 aren't supported. Save them as UTF-8 CSV instead.
Related tools
- Need a printable table from one of the parts? CSV to PDF turns a CSV into a neat PDF with the header on every page.
- Splitting a PDF instead? Use Split PDF.
Split CSV is free and needs no sign-up.
Frequently asked questions
How do I split a large CSV file into smaller files?
Open Split CSV, choose rows per file, a number of files or a largest file size, choose your CSV and click Split CSV. The parts are saved into a folder you pick (Chrome and Edge) or listed for you to download.
How do I split a CSV for Excel?
Choose Rows per file and enter a number under 1,048,576, such as 1,000,000. Each part then opens in Excel, with the header row at the top of every file.
Can I split a CSV file of several gigabytes?
Yes, up to 10 GB. The file is read a few megabytes at a time in your browser, so a large file needs very little memory.
Does every file keep the header row?
Yes, when the first row holds the column names: leave the header option ticked and every part starts with it.
Will it break rows or change my data?
No. Files are only split between rows, line breaks inside quoted cells stay in their cell, and the bytes are copied unchanged, encoding included.
Is my CSV uploaded?
No. It's split in your browser and never leaves your device.