Skip to content

Large CSV File Viewer

Open CSV files that are too big for Excel. Search, sort, summarise and export millions of rows, right in your browser.

Runs in your browser. Your file is never uploaded.

What it does

Excel stops at 1,048,576 rows and silently drops the rest. This viewer reads the whole file, however long, and keeps your computer responsive by only loading the rows on screen.

Opening sales_2026.csv (3.2 million rows)
Excel
Rows1,048,576 max
2 GB fileSlow, may crash
SearchOne sheet
Same file here
This viewer
RowsAll of them
2 GB fileSeconds
SearchEvery column

How to open a large CSV file

  1. Drop the file above. It isn't uploaded: DuckDB, a database engine running in this page, reads it from your disk.
  2. Wait for the row count. A file of a few hundred megabytes usually takes a few seconds.
  3. Type in the search box to filter every column at once, and click a column header to sort by it. Click again to reverse the order.
  4. Use Summarise columns to see each column's type, minimum, maximum, number of distinct values and share of empty cells. It's the quickest way to understand an unfamiliar file.
  5. Download these rows saves the rows matching your search as a new CSV. It's handy for cutting a huge file down to the part Excel can handle.

Why Excel can't open big CSV files

A worksheet has a hard limit of 1,048,576 rows and 16,384 columns. Excel also loads the whole file into memory and formats every cell, so it gets slow long before it reaches that limit. Text editors run into the same problem: most read the entire file at once.

Database engines work differently. DuckDB reads the file in chunks, keeps only what it needs, and answers questions like "how many rows match Pune?" by scanning the data in parallel. That's why a 2 GB file opens here in seconds.

Other ways to handle large files

  • Excel Power Query (Data → From Text/CSV → Load To… → Only Create Connection, with Add to Data Model ticked) can hold more than a million rows in the data model, for pivot tables. You still can't scroll through them in a sheet.
  • Python: pandas.read_csv("file.csv", chunksize=100_000) processes a file in pieces. Or run DuckDB itself: duckdb.sql("SELECT * FROM 'file.csv' LIMIT 100").
  • Command line: head -n 1000 big.csv > sample.csv keeps the first 1,000 lines, so you can look at a manageable slice.

Questions

How large a file can I open?

Files of several gigabytes and tens of millions of rows open on a normal laptop. The file is read in pieces straight from your disk, so it doesn’t have to fit in memory the way it does in Excel. Very wide files (hundreds of columns) are slower to search.

Is my file uploaded?

No. The viewer uses DuckDB, a database engine that runs inside this page. Your file is read from your own disk by your browser, and nothing is sent to a server. The first time you use the tool, the browser downloads the engine itself (about 30 MB) from a public CDN, then caches it.

Which file types work?

CSV and TSV with any separator (it is detected automatically), Parquet, JSON and JSON Lines, and Excel files. Excel files are read fully into memory, so for very large data, CSV or Parquet is the better choice.

Can I edit the data?

This is a viewer: you can search, sort, summarise and export filtered rows, but not edit cells. To reshape the data, try SQL on CSV, which runs on the same engine.

Why does Excel cut my file off?

An Excel worksheet holds at most 1,048,576 rows. When a CSV is longer, Excel loads the first million rows, warns you, and drops the rest. This viewer has no row limit.