How to test a 3-million-row CSV in 6 tools
One synthetic file with 3,000,000 rows, six tools, the official limits that decide the outcome, and the steps to run the test yourself.
By OpenAnyDoc · ·
The short answer
A CSV with 3,000,000 rows does not fit in one Excel worksheet, which stops at 1,048,576 rows, and at 8 columns it is more than Google Sheets' 20 million cells. Tools with no row limit of their own can open the whole file if the device has the memory, and OpenAnyDoc's large CSV viewer is one of them: it reads the file in your browser and uploads nothing. Below are the test file, what each of six tools' published limits mean for it, and the steps to run the test on your own computer.
The test file
Write the file with a short script, so it holds no real data:
- Rows: 3,000,000 data rows plus one header row, so 3,000,001 lines.
- Columns (8): order_id, order_date, region, category, product_code, quantity, unit_price, total.
- A typical line: 2,2025-07-10,South,Ink,P-99703,8,25.48,203.84.
- Size: well over 100 MB, depending on the random values; note your own file's size.
- Format: UTF-8 without a byte order mark, commas between fields, a line feed at the end of each line, no quoted fields.
- Cells: 3,000,001 lines × 8 columns = 24,000,008 cells.
The computer, the browser and the rules
Open the same file on the same computer in every tool, one at a time, with nothing else running. Time each one from dropping or opening the file until the last row can be reached, and write down:
- Computer: model, processor, memory.
- Operating system.
- Browser for OpenAnyDoc and Google Sheets: name and version.
- Excel: version and build, 32-bit or 64-bit. LibreOffice Calc: version. Text editor: name and version.
- Test date. The official limits below were checked 24 November 2026.
What to expect in each tool
The Excel and Google Sheets lines follow from each product's published limit; for the rest, write down what you see.
- OpenAnyDoc large CSV viewer: a warning first, because the file is over 50 MB. Note how long the file takes to open and how many rows it reports. After it opens, a hint explains how to cut the file down for Excel. Time a sort by one column and a search too.
- OpenAnyDoc CSV viewer: the same viewer without the hint; note how long it takes to open.
- Excel (desktop): a worksheet holds 1,048,576 rows, so Excel can load at most the header and 1,048,575 data rows of this file. 3,000,000 − 1,048,575 = 1,951,425 rows, 65% of the data, are left out. Note the message shown and the time taken.
- Google Sheets (File, Import): a spreadsheet holds up to 20 million cells, so at 8 columns it holds at most 20,000,000 ÷ 8 = 2,500,000 rows, the header included, and 500,001 data rows would not fit. The same limit page also says 100MB per spreadsheet, and this file is over 100 MB. Note whether the import fails outright or loads part of the file.
- LibreOffice Calc: note what it shows and how many rows arrive.
- Text editor: note whether it opens the file, how long it takes, and whether scrolling and search keep up.
How OpenAnyDoc reads a file this big
Nothing is sent to a server. The browser reads the whole file into the tab's memory, and a background worker splits it into rows so the page stays responsive. The rows come back to the page in batches of 10,000, 301 batches for this file, and only the rows on screen are drawn, so scrolling does not slow down as the table grows. The viewer has no row limit of its own; the limit is the memory your browser can give one tab.
Opened from the large CSV viewer page, the table shows a hint: filter the rows you need, then choose Download options and tick "only the shown rows". Opened from the CSV viewer, the same table appears without it. To cut the file into parts Excel can open, Split CSV saves it as smaller files of a set number of rows or megabytes, each with the header row.
What the other tools do better
A viewer is not the right tool for every job, and the others win in clear places (Microsoft's and Google's pages, checked 24 November 2026):
- Excel can load the complete data set through Power Query and analyse it with PivotTables, as Microsoft's page on a data set too large for the Excel grid explains, and it has formulas, charts and macros a viewer does not.
- Google Sheets keeps a file online for several people to edit at once, and its revision history lets you go back to earlier versions, as the Sheets product page says.
- LibreOffice Calc is a full spreadsheet that works offline, with formulas and charts, at no cost.
- A text editor made for large files shows the raw text exactly as written, which helps when a single line is broken.
How to repeat this test
Use the same file in every tool, and close other programs first:
- Write the file with a script of your choice: 3,000,000 rows of the 8 columns above with random values, UTF-8, commas, one header row. Check that it has 3,000,001 lines and note its size.
- Note the computer, operating system, browser and program versions.
- Open the large CSV viewer, drop the file, and time it from the drop until the row count appears. Then sort by one column and search for one product code, and time both.
- Repeat on the CSV viewer page.
- Open the file in Excel by double-clicking it, and note the message, the time and the last row number.
- In Google Sheets, choose File, Import, Upload, and note what happens.
- Open it in LibreOffice Calc and in your text editor, and note the same things.
- Run each tool three times and record the middle time.
Can Excel open a CSV with 3 million rows?
Excel cannot show 3 million rows in one worksheet, because a worksheet stops at 1,048,576 rows. Opened directly, Excel warns that the data set is too large for the Excel grid and that some data was not loaded. Power Query can load the complete data set for PivotTables, or you can split the file first, as Microsoft's page on a data set too large for the Excel grid explains (checked 24 November 2026). How to open a large CSV file explains every option.
Why can't Google Sheets import a very large CSV?
Google Sheets caps each spreadsheet at 20 million cells or 100MB, so a long file with many columns runs out of room. Divide 20 million by your column count to see how many rows can fit. For a side-by-side look at both ways of working, see OpenAnyDoc vs Google Sheets for large files.
How do I split a large CSV so each part fits in Excel?
Split it into parts of at most 1,048,575 data rows each, so every part plus its header row fits on one worksheet. Split CSV does this in your browser by rows or by megabytes, puts the header in every part and downloads them as one ZIP. How to split a large CSV walks through it.
Questions?
Write to support@openanydoc.com with your own results for this test, the row count and size of the file and the computer you used (no personal data).