Upload & analyze files in Gemini Apps

You can upload documents and spreadsheets to the Gemini Apps to get answers, summaries, and insights about your content.

What you need

Important: If you don’t have Gemini Advanced, there are limits to which devices can access this feature. Without Gemini Advanced, there are also more limits for how much you can use the feature, like uploading files or asking Gemini Apps to reference uploaded files. If you would like to upload and analyze more files, learn how to upgrade to Gemini Advanced.
 
  • To upload and analyze files, you must be 18 or over.
  • If you’re using Gemini Apps with a work or school Google Account, you must have Gemini Advanced.

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.

  1. On your computer, go to gemini.google.com.
  2. In the text box at the bottom, enter your question or prompt.
  3. 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 .
  4. Click Submit .

Supported files

Important:

  • Some file types are only supported with Gemini Advanced. These file types are listed below. Learn how to upgrade to Gemini Advanced.
  • 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 100 MB, can be uploaded at a time.

Supported file types include:

  • 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
  • Plain text files: TXT
  • Presentation files: PPTX
  • Presentations created with Google Slides
  • Spreadsheet files: XLS, XLSX*
  • Spreadsheets created in Google Sheets*
  • Tabular data files: CSV, TSV*

*File type is only supported with Gemini Advanced.

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

  1. Below the chart, click Edit
  2. Choose how you want the chart to change. For example, you can edit  things like the chart type and labels. 
  3. Click Update.

Learn how to modify responses, export responses, and share your chats from Gemini Apps.

File upload error messages

“You’ve reached your limit for chats with files”

There are rolling limits for how much you can upload and analyze files in a period of time. After some time, the limit will reset, and you will be able to upload and analyze files again.

If you would like to upload and analyze more files, try again later or upgrade to Gemini Advanced for higher usage limits.
“Your uploads may be too large for the best results”

If you try to upload a file that is too large, Gemini may provide a response that misses connections or details throughout the content. This is most relevant for prompts that require attention to many details scattered throughout large file(s).

For better results, upload smaller files with less content, or upgrade to Gemini Advanced for a larger 1 million token context window.
What does it mean when my prompt exceeds the context window?

If you’re using Gemini Apps with a work or school Google Account, you might get a message that you’ve exceeded the context window for uploading and analyzing files.

What is a context window?

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.

What does it mean when my prompt exceeds the context window?

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).

Related resources

Search
Clear search
Close search
Google apps
Main menu
5040572155538462027
true
Search Help Center
true
true
true
true
true
5295044
false
false
false