You can upload documents and spreadsheets to the Gemini Apps to get answers, summaries, and insights about your content.
Availability
To upload and analyze files, you must have Gemini Advanced.
- If you’re using Gemini Apps with a personal account, learn how to upgrade to Gemini Advanced.
- If you’re using Gemini Apps with a work or school Google Account, your Google Workspace administrator must enable access to Gemini Advanced. To upload files from Drive with a work or school account, your administrator must also enable extensions.
- Learn more about using Gemini Apps with a work or school account or how to enable extensions in Gemini Apps.
- For now, if you’re using Gemini Apps with a work or school Google Account, you can’t upload code folders.
Upload files & code folders
Important: Currently, you can’t upload images and files in the same prompt. Learn how to upload a photo in Gemini Apps.
- On your computer, go to gemini.google.com.
- In the text box at the bottom, enter your question or prompt.
- Click Add files .
- To upload a file from your device: click Upload files .
- To add a code folder: click Upload code folder .
- To add a file from your Google Drive: click Drive .
- To add files from your Drive, you need to have Gemini Apps Activity on and connect Google Workspace to Gemini Apps. If it’s not connected, you'll get the option to connect it. Learn about your data and the Google Workspace extension.
- Click Submit .
Supported files
Important:
- Up to 10 files can be uploaded at a time, and each file can be up to 100 MB.
- One code folder, with a maximum of 1,000 files and a maximum folder size of 100MB, can be uploaded at a time.
Supported file types include:
- Plain text files: TXT
- Code files including C, CPP, PY, JAVA, PHP, SQL, and HTML
- Document files: DOC, DOCX, PDF, RTF, DOT, DOTX, HWP, HWPX
- Documents created in Google Docs
- Tabular data files: CSV, TSV
- Spreadsheet files: XLS, XLSX
- Spreadsheets created in Google Sheets
Learn more about files you upload
Important: These resources are only for users with a personal account. If you’re using a work or school account, learn more about how your data is protected.
Create a chart based on your data
You can ask the Gemini web app to create a chart based on your uploaded spreadsheet(s), zoom in to explore the chart, and customize the chart for your needs.
Customize a chart
- Below the chart, click Edit .
- Choose how you want the chart to change. For example, you can edit things like the chart type and labels.
- Click Update.
Learn how to modify responses, export responses, and share your chats from Gemini Apps.
What does it mean when my prompt exceeds the context window?
You may get a message that you’ve exceeded the context window for uploading and analyzing files.
When you upload files to the Gemini web app, it needs to "read" the content to provide useful insights or answers. The context window is like the reading capacity. It determines how much content can be understood together at one time.
A larger context window allows Gemini to read and comprehend more. If you exceed the context window, this could lead to responses that don’t take into account all the content provided or miss connections or details throughout the content. This is most relevant for prompts that require attention to many details scattered throughout large file(s).