For agents
My CSV is too big for ChatGPT, Claude or Gemini. What do I do?
Count and clean the file on your own machine, then give the assistant the results instead
of the rows. Cutting the file down until it fits gets you an answer about part of your
data, and that answer looks just as confident as a right one. Sift does the counting and
cleaning locally, in your browser or through your AI agent, with nothing uploaded.
Check your file in Sift, free →
The upload limits, and why they are only half the problem
Each assistant sets its own limits, and they change. In November 2026 their help pages said:
- ChatGPT: CSVs and spreadsheets up to about 50 MB, depending on how big
each row is.
- Claude: 500MB per file in a chat and 30MB per file in a project, with
further limits on how much extracted text it can take.
- Gemini: most files up to 100 MB, and a warning that a file that is too
large may get an answer that misses details.
Check the vendor's help page before you rely on any of these. And a file that fits is not
the same as a file that was read: an answer is only as good as the rows the model actually
used. Ask it how many rows it read before you quote a
number.
The usual workarounds
- Split it into pieces. Each upload gets an answer for its own piece.
Adding the totals up is your job, and a duplicate whose two copies sit in different
pieces is never found.
- Cut columns. Deleting the columns you don't need shrinks the file and
keeps every row. This works well when one or two columns hold most of the size.
- Upload a sample. Fine for "what kind of data is this?" or for writing
a formula. Not fine for any count, because the answer describes the sample.
Part of a file gives part of an answer
We tried this on a test file of 1,200,000 rows, about 160 MB: Sift's fake 1,200-row CRM
export stacked 1,000 times, so the right answers are easy to check. That is over the
ChatGPT and Gemini limits above. Counted on the whole file with Sift:
What was countedWhole file
Rows→1,200,000
Distinct emails, as written→1,173
Distinct emails, spaces trimmed and capitals ignored→1,163
Rows with no customer ID→112,000
Read only the first 1,048,575 rows, as Excel does when it opens this file, and the blank
customer IDs come out at 97,866. Read the first 100,000 and it is 9,333. Each is a true
count of the rows that were read, and none is the answer.
Test file: crm_companies.csv,
fake data in Sift's public repository. Stack its rows 1,000 times under one header to
rebuild the big file. The small file's answers are in
ANSWERS.md.
Count and clean it in your browser
- Open the cleaner and drop the file. The normal flow takes CSV, TSV,
Excel and PDF files up to 150MB. It reads the file in your browser tab and profiles every
column: blanks, duplicates and values that need fixing.
- Over 150MB? Click Use Large file mode, below the drop zone. It is in
beta and takes CSV and TSV. It shows the row count and how much of each column is
missing, and can trim spaces, blank out placeholders like N/A, normalise phone numbers
and drop empty and duplicate rows. Preview changes counts every change across the whole
file before you download.
- Give the assistant the numbers, not the file. If you still want its
help, paste in the counts and column names and ask your question. It works from figures
that cover every row.
Or let your agent call Sift
If you use an AI agent that can run local tools, such as Claude Code or Claude Desktop,
Sift for agents reads the file where it is on your machine. The agent passes a file path
and gets counts back, never the rows. sift_profile gives rows, columns and
blanks for the whole file, sift_count counts duplicates (exactly and after
trimming and lowercasing) and blank key fields, and sift_match compares two
files. For CSV and Parquet files over 100 MB, Sift switches to its DuckDB engine, so the
file can be far bigger than memory. The numbers in the table above came from
sift_count and sift_profile on the 1,200,000-row file.
Set up Sift for agents.
Privacy note: with Sift the file never goes into the chat. The browser cleaner processes
it in your browser and nothing is uploaded; you can check by disconnecting from the
internet after the page loads. Sift for agents runs on your machine and returns counts,
not rows. sift_sample is the one tool that returns values from single
records, and it refuses personal fields unless you allow them.
What this can't do
- The AI part. Sift counts, matches and cleans. It does not summarise,
write, or answer open questions about your data. Keep the assistant for that, working
from Sift's numbers.
- Every clean on a giant file. Large file mode covers trimming,
placeholder blanks, casing, phone numbers and removing empty and exact duplicate rows.
Dates, fuzzy merging and the readiness check are in the normal flow, up to 150MB.
- A file already in the chat. Sift reads files on your machine. It
cannot check what an assistant did with a file you uploaded, only give you the right
number to compare against.
- A ChatGPT or Gemini chat window. Sift for agents connects to agents
that run local tools. It is built and tested with Claude Code; other MCP clients should
work.
Next step
Get numbers that cover every row
Load your CSV in the cleaner, or in Large file mode if it is over 150MB, and see the counts for the whole file. Nothing is uploaded.
Check your file in Sift →
Using an AI agent? Set up Sift for agents, so every count comes from the file.
Related guides