How to open a CSV file with 5 million rows

Double-click a 5-million-row CSV and Excel loads the first 1,048,576 rows, then warns that the file was not loaded completely. The other four million rows are simply left out. This guide explains why it happens, compares the ways around it, and shows the one that keeps your spreadsheet habits.

Updated

Why a big CSV will not open properly

A CSV file has no size limit of its own. It is plain text: one line per row, values separated by a comma or a semicolon. Exports from a CRM, an e-commerce back office, a bank, a data warehouse or a logging tool regularly produce files of several million lines and several gigabytes.

The limit comes from the program you open it with. An Excel sheet holds at most 1,048,576 rows and 16,384 columns. When a CSV is longer, Excel loads what fits, shows the message “File not loaded completely”, and drops the rest. If you click past the warning, nothing on the sheet tells you that rows are missing. A total, an average or a pivot table built on it is wrong, and it looks right.

Text editors fail in a different way. Notepad and most editors read the whole file into memory before showing the first line. A file of a few gigabytes freezes them, or they refuse to open it. Even when one manages, you can only scroll through text: no sorting, no filtering, no totals.

First, look at the file without opening it

Before choosing a tool, it helps to know what you are dealing with: how many rows, which delimiter, whether the first line is a header, and whether the text is UTF-8. A file that has a semicolon as its delimiter, or accents saved in another encoding, causes as many problems as one that is too long.

The free CSV viewer on this site reads the file in pieces, straight from your disk, so its size does not matter. It detects the delimiter, shows the first 1,000 rows and counts every row. Nothing is uploaded. In a few seconds you know whether you are dealing with 1.2 million rows or 12 million.

Five ways to open a big CSV, compared

MethodRow limitSkills neededCan you sort, filter, edit?
Excel, double-click1,048,576NoneYes, on the rows that fit
Excel Power Query / Data ModelMuch higherQueries, DAXThrough queries and pivot tables
Split the file into partsPer partNoneYes, one part at a time
Python, R or a databaseYour machineCode or SQLYes, in code
Big Sheets, in the browserTested to 5 millionNoneYes, on the whole file

Power Query is the right answer if you already live in Excel and only need aggregates: you load the CSV as a connection, then build a pivot table on the Data Model. You do not get a sheet you can scroll, sort and correct by hand, and refresh times grow with the file.

Splitting works and costs nothing. The catch is that every total, filter and duplicate check must then be combined by hand across the parts. A duplicate in part 1 and its twin in part 3 will never meet.

Code is the most flexible route if you write Python or SQL. pandas, Polars and DuckDB all read multi-gigabyte CSV files. For a one-off question from a colleague in finance or marketing, it is a lot of setup.

Open it in Big Sheets, step by step

Big Sheets is a spreadsheet built for files that are too big for Excel. Its analysis engine, DuckDB, runs inside your browser tab. The file is read from your disk by the page itself and is never uploaded: no server ever sees your rows.

  1. Open Big Sheets in a recent Chrome or Edge, and choose your CSV file or drop it on the page. You can drop several files, or a whole folder, at once.
  2. In the import step, check the delimiter, the decimal separator, the header row and how dates are written. Big Sheets guesses them; you correct them if the preview looks wrong. This is where a semicolon file with decimal commas is sorted out. You can also import only the first rows, to test a huge file quickly.
  3. Confirm. The rows load into a grid that looks like Excel: column letters, row numbers, a formula bar.
  4. Look at the amber marks on the column headers. They flag problems found during the import, such as dates written in two formats or text with stray spaces, and the Clean menu fixes them in one click.
  5. Work on the table: sort, filter, search, add calculated columns, build a pivot table or a chart. Every action applies to every row, not just the first million.

How fast is it?

Speed depends on your computer and on the shape of the file, so here are measured figures rather than promises. On our test machine, a 1,000,000-row CSV imports in about 2.7 seconds, and a 5,000,000-row CSV in about 8 seconds. Once loaded, sorting a million rows takes about half a second, filtering about the same, and adding a calculated column under a second.

Big Sheets is tested up to 5 million rows. The real limit is your device’s memory, not a fixed number. Before an import that might not fit, Big Sheets warns you, so you can close other tabs or import only the first rows.

What you can do once it is open

  • Filter and sort like in Excel, on all rows, with the result count shown at the bottom.
  • Write formulas with Excel function names, in English or French: IF, SUMIFS, XLOOKUP, TEXT, DATEDIF and many more. A formula applies to a whole column at once, which is why it stays fast on millions of rows.
  • Build a pivot table, then double-click any number to see the rows behind it.
  • Clean the data: trim spaces, fix mixed date formats, remove duplicates on the columns you choose.
  • Export the result to Excel, CSV, Parquet or JSON. A filtered subset under a million rows goes straight back to Excel.

Common problems and their fixes

  • All the data lands in one column: the delimiter is wrong. Pick the semicolon (common in French exports) or the tab in the import step.
  • Accents look broken, like “é” instead of “é”: the file was not saved as UTF-8. Export it again as UTF-8 from the tool that produced it; most tools offer the option.
  • Numbers are read as text: the file uses a comma as the decimal separator. Set the decimal separator in the import step, or change the column type afterwards.
  • A row seems to be split in two: a quoted field contains a line break. Big Sheets and the free viewer keep such a field whole; some tools do not.
  • The browser runs out of memory: close other heavy tabs, or import only the first rows to work on a sample. A 64-bit browser on a machine with 16 GB of memory handles far more than one with 8 GB.

Is it safe to open a confidential file?

Customer lists, payroll exports and bank statements are exactly the files that grow too big for Excel, and exactly the files you should not upload to an unknown website. Big Sheets does not upload them. The page loads once, then everything happens on your device: reading, sorting, formulas, exports. You can check it yourself in the browser’s network panel while you work.

Try it on your own file

Open it in Big Sheets: no sign-up, and your file never leaves this browser.

One plan: €29 incl. VAT per month, everything included, cancel any time. See pricing

Questions

How many rows can I open?
Big Sheets is tested up to 5 million rows. The real limit is the memory of your device, and the import warns you before a file that might not fit.
Is my file uploaded anywhere?
No. The file is read and analysed in your browser. Nothing is sent to a server.
Does it work with semicolon-separated or UTF-8 files?
Yes. The import step lets you pick the delimiter (comma, semicolon, tab, pipe or your own), the decimal separator, the header row and the date format. The file should be UTF-8, which most tools export.
Can I try it before paying?
Yes. The sample data opens with one click and needs no account. Big Sheets then costs one plan, €29 incl. VAT per month, which you can cancel at any time.