Big files
My contact list export is too big for Excel. How do I clean it?
Don't open it in Excel and save it: Excel stops at 1,048,576 rows and drops the rest, and
saving keeps only what it loaded. Split the file into pieces Excel can hold, or clean the
whole file in one go with a tool made for big files. Sift's Large file mode (beta) does the
common cleans on CSVs of millions of rows, in your browser, with nothing uploaded.
Clean a big CSV in Sift, free →
What Excel does with a file this big
A sheet holds 1,048,576 rows. When a CSV has more, Excel loads that many, counting the
header, and warns that the data set is too large for the grid. Everything after that row is
not in the workbook. Save over the original and those rows are gone from the file too.
The rows you can see still look fine, which is the trap. Every count, filter and
duplicate check you run is for part of the file.
The Excel ways
- Split the file. Cut the CSV into pieces under the limit (on a Mac or
Linux,
split -l 1000000 export.csv part_ in Terminal does it), clean each
piece the same way, and stitch them back together. Only the first piece keeps the header
row, so copy it onto the others. Duplicates that sit in two different pieces will not be
found.
- Power Query. In Excel for Windows, Data, From Text/CSV, then load to a
PivotTable instead of a sheet. Microsoft's own advice for this warning. Power Query reads
the whole file, so counts and summaries are right. The rows still do not fit on a sheet,
so this is for analysing the file, not for getting a cleaned copy back out.
- Ask for a smaller export. Filter in the CRM first (by owner, region or
created date) and export a few files instead of one. Often the quickest fix if you
control the export.
What Excel would have hidden
We tried this on a test file of 1,200,000 rows: Sift's fake 1,200-row CRM export, stacked
1,000 times. That makes every row appear 1,000 times, so the right answers are easy to
check. The file is about 160 MB.
QuestionExcel's view / the whole file
Data rows, under the header→1,048,575 / 1,200,000
Rows left out→151,425
Rows with no customer ID→97,866 / 112,000
Test file: crm_companies.csv,
fake data in Sift's public repository, with its own answers in
ANSWERS.md.
Stack its rows 1,000 times under one header to rebuild the big file.
Clean it in Sift's Large file mode
Large file mode is in beta. It runs an SQL engine (DuckDB) inside your browser tab, so it
reads the whole file without loading it into a sheet. Its limit is your browser's memory.
- Open the cleaner and click Use Large file mode, below the drop zone.
Files over 150MB have to go this way; the normal flow stops there.
- Drop the CSV or TSV. Excel files are not taken here; export a CSV from
the CRM instead. Sift shows the row count, each column's type, how much of it is missing
and roughly how many distinct values it has, and the first 50 rows.
- Pick the cleans under Clean and export. Trim whitespace, turn
placeholder blanks (N/A, NULL, -) into empty, normalise phone numbers in columns named
phone, mobile, tel or fax, drop fully-empty rows, and remove duplicate rows are on to
start. Standardise casing (title-cases every text column except email and web address columns,
lowercases emails, keeps acronyms) is off, because it
applies to every text column, IDs and stage names included.
- Click Preview changes. It counts every change across the whole file,
by column, with real examples, and how many rows will be removed. Nothing has changed
yet.
- Click Clean & download CSV. You get a new file ending in
-cleaned.csv. Your original is not touched.
On the 1,200,000-row test file, with the options as they start, Preview changes said:
ChangeAcross the whole file
Stray spaces trimmed from emails→10,000 cells
Phones normalised, e.g. (020) 7946 0338→210,000 cells, e.g. 02079460338
Rows removed (empty / duplicate)→1,198,800 rows
The download has 1,200 rows: one of each, because every other row was an exact copy. The
trim and phone counts are exactly 1,000 times what the same cleans find on the 1,200-row
file.
Privacy note: the file stays on your device. Large file mode reads it inside your browser
tab and nothing is uploaded. You can check: once it has read one file, disconnect from the
internet and load another. It still works.
What Large file mode can't do
- Duplicates that are not exact. Remove duplicate rows only drops rows
that match in every column after cleaning. The same email on two rows with different
phone numbers stays as two rows, and two rows that differ only in the capitals of an email
are kept apart unless Standardise casing is on. For duplicates by email or
fuzzy matches on name and company, use the normal flow on a file under 150MB (see
remove duplicates from a CSV).
- Dates, fuzzy merging and the readiness check are in the normal flow
only, along with its other tools. Splitting the cleaned file into pieces under 150MB is
one way to use them.
- Excel files. Large file mode takes CSV and TSV. An .xlsx sheet cannot
hold over 1,048,576 rows anyway, so a bigger export will be a CSV.
- Exact distinct counts in the profile. The distinct count per column is
an estimate, which keeps the profile fast. The change and row counts in Preview changes
are exact.
- Rows Excel already threw away. If someone opened the export in Excel
and saved it, the missing rows are not in the file. Export it again from the CRM.
Working with an AI agent? Sift for agents reads files of this size on your machine and
gives exact counts with sift_profile and sift_count, including
duplicates by email. Set up Sift for agents.
Next step
Clean the whole file, not the first million rows
Open Large file mode, drop your CSV, and preview every change before you download. Nothing is uploaded.
Clean a big CSV in Sift →
Doing this with an AI agent? Sift for agents reads CSV and Parquet files far bigger than memory and hands back counts, not rows. Set up Sift for agents.
Related guides