Open a large CSV file on Mac
By Tanin Na Nakorn · Updated
You double-click a CSV and wait. Excel eventually opens it and warns that the file "wasn't loaded completely." The rows past 1,048,576 are gone. Numbers gives up at 1,000,000 rows. TextEdit opens it, but you can't sort or filter text. Google Sheets doesn't take more than 10 million cells, and uploading a customer export to it may not be allowed anyway.
| App | Limit |
|---|---|
| Microsoft Excel | 1,048,576 rows per sheet |
| Apple Numbers | 1,000,000 rows per table |
| Google Sheets | 10,000,000 cells per spreadsheet, and the file has to be uploaded |
| Superintendent | CSV files up to 40GB, on your Mac |
Open the file
- Download Superintendent and open it. It's free.
- Drop the CSV onto the window, or click Import CSV.
- Pick the delimiter and whether the first row has the column names, then import.
The file opens in a grid. Column names are cleaned up and data types are detected, so numbers sort as numbers and dates sort as dates.
Scroll, sort, and filter
Scroll through the whole file. Rows load as you go, so there's no "show first 1,000 rows" setting. Click a column header to sort by it. Add a filter to a column (equals, greater than, less than, is null, is not null) to narrow things down without writing any SQL.
Ask questions with SQL
When a filter isn't enough, open a query tab. Say the file is events.csv, a 12GB export with 80 million
rows, and you need daily signups by country:
select
cast(created_at as date) as day,
country,
count(*) as signups
from events
where event_type = 'signup'
group by 1, 2
order by 1, 3 desc
Aggregations over tens of millions of rows come back in seconds, because the queries run on a local DuckDB workspace on your Mac. Learn more in Query CSV files with SQL.
Get a smaller file for Excel
Sometimes Excel is still where the work has to end up. Filter or aggregate the data down to what you need, then click Export CSV. If the whole file has to go to Excel, split it into files under a million rows.
Questions
How many rows can Excel open on a Mac?
Excel opens at most 1,048,576 rows per sheet, on Mac and Windows. If the CSV has more, Excel loads the first 1,048,576 and drops the rest.
How many rows can Numbers open?
Numbers tables hold up to 1,000,000 rows. Larger CSV files are cut off when you open them.
How big a CSV file can Superintendent open?
Up to 40GB. You can scroll through every row, sort and filter any column, and run SQL on the whole file.
Does it work on Intel Macs?
Yes. There are separate downloads for Apple Silicon and Intel Macs, and the download button picks the right one for your Mac. Superintendent also runs on Windows.
Is my file uploaded anywhere?
No. The file is imported into a workspace on your Mac and the queries run there. Nothing is uploaded, and there's no account.