How to Upload Excel to Gemini
Gemini does not reliably handle Excel through its standard upload. Convert to Markdown first, then paste or upload the Markdown — that is the path with the fewest dead ends.
There are half a dozen ways to get an Excel document in front of Gemini, and only a couple of them give you results you can trust. Gemini does not accept XLSX files natively in the standard upload flow, so you have to convert first. This guide walks through the whole path: where to drop the file, what usually breaks, and when it is worth converting to Markdown before you upload. Spreadsheets fail in a specific way: the numbers arrive but the relationships between them do not, and an assistant reading a flattened workbook will answer confidently from the wrong column. Gemini takes uploads via Plus icon to attach a file, or import directly from Google Drive, caps individual files around 100MB, and works with roughly 1,000,000 tokens of context on its default variant. The short version: give Gemini clean structure — headings, lists, tables that survived the trip — rather than a raw Excel and the hope that the parser does the right thing.
Why convert to Markdown before uploading
The case for a Markdown intermediate step, specifically for Excel in Gemini.
- Markdown is token-efficient. You can fit substantially more of an Excel document inside Gemini's context window (currently around 1,000,000 tokens, give or take depending on the plan and model variant) once formatting overhead is gone.
- Gemini respects Markdown structure. Headings become navigable sections, lists stay as lists, and tables that survive conversion stay readable for the model.
- You get a predictable failure mode. When an Excel parser inside Gemini silently drops a page or column, you rarely notice until the answer is wrong. With Markdown, what you see is what the model sees.
- Batch and reuse get easier. A Markdown file drops cleanly into Custom GPTs, Claude Projects, NotebookLM notebooks, or a RAG pipeline without per-tool quirks.
- Excel files carry formulas, pivot tables, and multi-sheet layouts that get flattened unpredictably on upload. Converting to Markdown tables freezes the values in the shape you actually want to ask questions about.
Markdown keeps the document structured when it travels through the Workspace pipeline, so you are not relying on Gemini's auto-conversion guesses. Converted Excel files come through at around 99% text accuracy, with table fidelity we would call excellent. The usual catch with Excel: formulas converted to values. Convert once and reuse the Markdown across Gemini chats rather than re-uploading the original every time.
Step-by-step: Excel into Gemini
- 1
Skip the direct Excel upload
Gemini does not reliably accept Excel in the standard flow. Do not waste time wrestling with it — go straight to a Markdown conversion.
- 2
Convert the Excel file to Markdown
Open markdownconverters.com/conversion/excel, drop your XLSX file in, and download the .md output. Convert the sheets you need one at a time. A workbook flattened into a single file produces tables nobody — human or model — can follow.
- 3
Skim the Markdown before you upload
Open the output in any text editor. Check that column headers landed on the header row and that numbers did not pick up stray commas from the source formatting. Thirty seconds here saves an hour of debugging answers that were never going to be right.
- 4
Upload to Gemini
In gemini.google.com, click the plus icon to attach, or pick it from Google Drive. If it is a Markdown file, Gemini will treat it as plain text rather than auto-converting to a Doc — which is what you want.
- 5
Prompt with structure in mind
Reference the file by name, then point at a section rather than asking broadly. With spreadsheet data that means naming the column: "In the Q3 table, which region fell furthest below target?" rather than "summarise this". Gemini retrieves noticeably better when you narrow it yourself.
- 6
Verify against the source
Ask Gemini to quote the passage it is citing. If the quote does not appear in the Markdown, you have either a retrieval miss or a hallucination — re-check the conversion or narrow the prompt.
Gotchas with Excel in Gemini
The specific failure modes we see most often — worth knowing before you spend an afternoon debugging "bad" model answers that are really upload problems.
- Office formats from outside Google Workspace sometimes get auto-converted to Docs/Sheets first, which can rearrange content
Office formats from outside Google Workspace sometimes get auto-converted to Docs/Sheets first, which can rearrange content
- EPUB is not natively supported
you need to convert first
- XLSX workbooks only expose the active sheet cleanly; hidden sheets or pivot tables often get dropped
XLSX workbooks only expose the active sheet cleanly; hidden sheets or pivot tables often get dropped
- When you upload through Drive, permission inheritance means a file you can see may not be readable by Gemini
When you upload through Drive, permission inheritance means a file you can see may not be readable by Gemini
Getting better answers from Gemini
- Upload through Plus icon to attach a file, or import directly from Google Drive — that is the path Google actually supports, and the one least likely to silently truncate your file.
- Gemini holds roughly 1,000,000 tokens, about 727k words. Converted Excel content is compact, but a long document plus a long conversation still competes for the same budget.
- Stay under about 10MB per file even though the hard cap is 100MB. Retrieval quality degrades well before the limit, particularly on dense Excel content.
- Office formats from outside Google Workspace sometimes get auto-converted to Docs/Sheets first, which can rearrange content.
- XLSX workbooks only expose the active sheet cleanly; hidden sheets or pivot tables often get dropped.
- Gemini reads Markdown structure well, so ask it to cite the heading it answered from. If it cannot name one, your content was not retrieved.
- Convert one sheet at a time. A single file containing five merged pseudo-tables produces worse answers than five clean ones.
Frequently asked questions
Can I upload an Excel file to Gemini directly?
Not reliably. Gemini either does not accept XLSX at all or accepts it with heavy restrictions. The supported path is to convert to Markdown (or PDF, in a pinch) and upload that.
What is the file-size limit on Gemini?
As of this writing, Gemini typically caps individual uploads around 100MB, with a context window of roughly 1,000,000 tokens on the default variant. These numbers shift with releases and differ by plan, so verify in the app before relying on a specific figure. The practical limit is lower than the hard cap anyway — retrieval quality starts to degrade well before you hit it, especially for dense technical documents. Smaller, focused files beat one enormous one.
Does converting Excel to Markdown lose information?
Markdown drops visual formatting — fonts, colors, exact page layout — because it is a semantic format. It preserves headings, lists, tables, and text content, which is what LLMs actually use. For Excel specifically, the things that matter (Data tables and datasets, Financial reports) survive cleanly. Things like decorative styling do not, and usually should not.
How many Excel files can I upload to Gemini at once?
It varies by tier. The free version of Gemini is usually stingy with persistent uploads; paid tiers and Projects/Spaces are where bulk Excel workflows become practical.
Is this safe — what happens to my Excel file?
When you upload to Gemini, the content is processed by Google's infrastructure under their terms. If the document is sensitive, consider using the enterprise tier (where retention and training policies differ), or convert locally where possible. Markdown Converters does not retain your uploaded files beyond the conversion window.
How does Gemini handle multiple sheets?
Usually poorly. Even when the upload "succeeds", Gemini tends to focus on the first sheet and treat the rest as background noise. Convert each sheet you need into its own Markdown table — you will get more predictable answers and much better quoting.
Keep going
Drop XLSX files in and download Markdown ready to upload to Gemini.
Check how much of your converted Excel will actually fit inside Gemini's context window.
Same workflow, tuned for ChatGPT's upload quirks and context window.
Same workflow, tuned for Claude's upload quirks and context window.
Working with PDF instead of Excel? The gotchas are different.
Background on why clean Markdown consistently outperforms native uploads across every major assistant.
Convert Excel for Gemini in one step
Clean Markdown output ready to drop into Gemini. Free tier, no account required to try.