Grok's file size limit, and how to use large CSV and Excel files
Grok accepts most files up to 150 MB each, including CSV and XLSX, and up to about 100 files per message on the web. Size isn't the only limit: xAI says very long files may be summarised or handled in sections. For a large spreadsheet, shrink it (save as XLSX, drop unused columns) or connect it through a custom MCP connector so Grok queries every row instead of reading a summary.
Grok's upload limits
From xAI's Grok.com guide:
- 150 MB per file for documents, data, code and audio, including CSV and XLSX.
- About 100 files per message on the web and 20 on Android.
- Limits "can vary slightly by platform or subscription", and Grok shows an error when a file is over.
The real limit: what Grok actually reads
A file under 150 MB uploads fine, but that doesn't mean Grok reads all of it. xAI's guide says very long files "may be summarized or handled in sections". A 300,000-row sales export is far bigger than any model's context window, so Grok works from part of it or a summary.
For questions like "what's my total refund amount this year?" that's a problem: an answer built from sections can be off, and nothing in the reply tells you which rows were skipped.
Make the file smaller
If you're just over the limit, or want Grok to see more of the file:
- Save as XLSX instead of CSV. XLSX is compressed, so the same data is usually several times smaller on disk.
- Drop columns you don't need. IDs, URLs and long descriptions take most of the space in many exports. The converter removes columns and changes format in your browser, without uploading the file.
- Split by period. Upload one month or quarter at a time and ask the same question of each.
- Fix the encoding if Grok rejects a CSV outright. See Grok and CSV files for the "unsupported text encoding" fix.
Or don't upload it to the chat at all
Grok supports custom MCP connectors for every user. A connector gives Grok tools instead of text: it asks for a total, a filter or a top-ten list, and the server computes it over the whole file. Fileshape Ask AI does this for spreadsheets. It cleans the file first (the real header row, amounts as numbers, dates as YYYY-MM-DD), then lets Grok aggregate, filter and search it.
Because Grok only receives results (at most 200 rows per call), file size stops mattering to the conversation. Fileshape takes files up to 50 MB on the free plan and 200 MB on Pro, including Excel files that would take Grok several sections to get through.
- Upload the file at fileshape.app/account/datasets.
- On grok.com/connectors, click New Connector → Custom.
- Name it Fileshape, enter https://mcp.fileshape.app/mcp, sign in to Fileshape and approve.
- Ask: "Using Fileshape, total revenue by region for 2026, largest first."
Convert or reshape a file in your browser. Nothing is uploaded.
Open the converterFAQ
Questions
What is the maximum file size for Grok?
150 MB per file for most documents, data files and code, according to xAI's Grok.com guide. Limits can vary slightly by platform or subscription.
How many files can I upload to Grok at once?
About 100 per message on the web and 20 on Android. iOS supports multiple files.
Why are Grok's answers about my large spreadsheet wrong?
Long files may be summarised or read in sections, so Grok may not see every row. Connecting the file through an MCP connector lets Grok compute over all rows instead.
Does Fileshape keep my large file?
Only the cleaned table, encrypted, for 7 days on the free plan or 30 on Pro. The uploaded original is deleted after cleaning, and you can delete the table any time.
More from the blog
Keep reading
- AI for data analysis: which tool to use, and how to trust the answersThe three ways to use AI for data analysis (chat uploads, spreadsheet add-ins, connected agents), which fits which job, and how to check the numbers.
- How to upload files to ChatGPT and Claude, and share them with any AIUpload a file to ChatGPT or Claude, fix uploads that fail, and share the same files with every AI app through one URL instead of re-uploading.
- Is it safe to upload a bank statement to ChatGPT or Claude?What ChatGPT and Claude keep when you upload a bank statement, the settings that stop training on it, and how to share only the columns the AI needs.
- Bank statement analysis with ChatGPT or Claude: prompts that get the numbers rightCopy-paste prompts for analysing a bank or card statement in ChatGPT or Claude, plus how to prepare the file so the totals come out right.
Updated 2026-11-20