Guide · checked 23 November 2026
CSV file too large for Excel on Mac
Excel for Mac stops at 1,048,576 rows per worksheet. Here is what to do with a CSV that has more, with every option and what it costs.
- Rows per worksheet
- 1,048,576
- Columns per worksheet
- 16,384
- Power Query on Mac
- Imports CSV, but cannot load into the Data Model, so the result goes to a sheet with the same row limit.
Excel loads the first 1,048,576 rows of a CSV and drops the rest after a warning. The data is not lost on disk, but anything you save from that sheet contains only the part Excel kept.
The limit comes from the worksheet, not from the file size or from your Mac. Every fix below either works on a smaller piece of the file or avoids the worksheet.
Your options
How fast is TabTool on a huge file?
| What was measured | Result | Setup |
|---|---|---|
| Benchmark script, 5.00 GiB file with 68.2 million rows | 45 ms to the first 64 rows, 1.97 s to a full index | ./scripts/bench-large 5, release build, Apple M4 Pro, 24 GB, APFS SSD, file in the page cache. Generated CSV, 8 columns. |
| Release app, 5.0 GiB file with 77.7 million rows | Fully indexed 2.7 s after launch | The sandboxed app from the release build, not the script. |
Method is in the large files section on GitHub; the
script is scripts/bench-large.
Try TabTool
Sources · checked 23 November 2026
- Microsoft: Excel specifications and limits support.microsoft.com/en-us/excel/excel-specifications-and-limits
- Microsoft: Power Query in Excel for Mac support.microsoft.com/en-us/office/import-and-shape-data-in-excel-for-mac-power-query-7b2f337d-e7d2-4fdf-bf00-3dfbb1e5e9c5
- Microsoft Q&A: Excel for Mac and the Data Model (community answers) learn.microsoft.com/en-us/answers/questions/5169428/importing-csvs-into-a-query-table-to-clean-using-p
- SS64: macOS split ss64.com/mac/split.html
- csvkit csvgrep csvkit.readthedocs.io/en/latest/scripts/csvgrep.html
- csvkit csvstat csvkit.readthedocs.io/en/latest/scripts/csvstat.html
- qsv count github.com/dathere/qsv/blob/master/docs/help/count.md
- qsv search github.com/dathere/qsv/blob/master/docs/help/search.md
- DuckDB CSV import duckdb.org/docs/2.0/data/csv/overview.html
- DuckDB COPY duckdb.org/docs/2.0/sql/statements/copy.html
- TabTool large files and benchmark github.com/shurco/tabtool#large-files