AI Skills

Gemini Won't Read My PDF: Causes and Fixes

Arpit TripathiArpit TripathiLinkedIn·November 21, 2026·10 min read

Gemini not reading your PDF? Re-attach it first, then check the 100 MB and 10-file limits, scanned pages, and your account type.

When Gemini will not read a PDF, the first fix is to re-attach the file, because Google's own help page says to do exactly that when Gemini reports that it failed to analyze a file. If the error comes back, check four things in order: the file is 100 MB or smaller, no more than 10 files are attached to the prompt, the pages hold real text or a clear image, and the chat has room left in its context window.

Figures below are as of December 2026 and come from the Google page linked under each section. Google can change limits and plan names, so that page has the final word. The Gemini app (gemini.google.com and the mobile apps) and the Gemini API follow different rules, so this guide keeps them apart.

What "Failed to Analyze" Means, and the First Fix

Google's help page gives one instruction for this error: re-attach the file. It names no cause, so read the message as a general processing error, not a diagnosis of your PDF. To re-attach, remove the file from the prompt, add it again and resend the question.

On the web, the path is: open gemini.google.com, click Add files in the text box, then click Upload Files for a file on your device or Add from Drive for a file in Google Drive. Click Submit once the file shows in the prompt. The same page lists a separate route in Gemini in Chrome: click Gemini in Chrome, click Add files, then Files.

Pro Tip

Cheapest fixes first: re-attach the file, then try the same PDF from your device instead of Drive (or the reverse). Google's page names only re-attaching. The device-versus-Drive swap is a troubleshooting step the page does not promise will work.

Three similar messages mean different things. "Delete data to upload file" means your Gemini Apps storage is full. "You've reached your limit for chats with files" means you hit a rolling usage limit. "Your uploads may be too large for the best results" means the file is bigger than Gemini can hold at once. Each has its own fix below.

Gemini PDF Size and File-Count Limits: App vs API

In the Gemini app, a PDF can be up to 100 MB and a prompt can carry up to 10 files, subject to availability. Files inside an uploaded folder count toward the 10. Videos get their own allowance of 2 GB each, and a ZIP can hold up to 10 files and 100 MB but cannot include video or audio.

The Gemini API is tighter. Google's document-processing page gives up to 50 MB per file and 1,000 pages per PDF, applied to both inline data and Files API uploads. The Files API page says the same 50 MB ceiling for PDFs and adds that files are stored for 48 hours.

LimitGemini appGemini APIWhat the page says
PDF file size100 MB (all non-video file types)50 MB per PDFThe two surfaces differ. The app page does not state a PDF-specific size.
Files per promptUp to 10, subject to availabilityNot stated on the pages readFiles in an uploaded folder each count toward the 10.
Pages per PDFNot stated1,000 pagesThe API limit applies to the full file even when you slice it.
ZIP filesCapped at 10 files and 100 MB; video and audio are excludedNothing stated on the pages readOnly the app page gives a figure.
How long files are keptSaved in your Gemini history, which has a storage limit48 hours in the Files APIApp storage is separate from Google Drive or Workspace storage.

Which file types work

The app page says Gemini Apps support most file types and names documents, spreadsheets, notebooks, photos and videos, but it publishes no full list and does not mention PDFs by name. The API page is more specific: PDFs are sent with the application/pdf type, and it also lists Office and OpenDocument files (up to 2,000 pages or slides) and spreadsheets (up to 50,000 cells per sheet). If a PDF is refused as unsupported, a corrupted download or a file with the wrong extension is a more likely culprit than the format, though no Google page confirms that.

Scanned PDF or Text PDF: How Gemini Reads Each

Google's pages do not say whether Gemini handles scanned PDFs differently, and the app help page does not mention PDFs or scans at all. The API page describes the mechanism: Gemini renders each page to an image and, for PDFs with embedded text, extracts that text alongside the image. A scan has pictures of letters and no embedded text, so only the image route is left, and quality decides the result.

The same page gives three practical rules: rotate pages to the correct orientation before uploading, avoid blurry scans or low-contrast pages, and, when sending a single page, put the text prompt after the document. It also says pages are rendered to 2-megapixel images (288 DPI), so a bigger file does not add detail beyond that.

  • Quick test for a text PDF: open it in a PDF viewer and try to select a sentence with the cursor. If the sentence highlights, the file holds embedded text. If a whole page highlights as one block, or nothing does, the page is an image.
  • Sideways or upside-down pages: rotate them and save before attaching, as the API page advises.
  • Phone photos stitched into a PDF: retake any page that is blurry, dim or cut off. A page you cannot read yourself is a poor candidate for any reader.
  • Mixed files: a PDF with typed text on some pages and scanned pages elsewhere may answer well on the first group and badly on the second. Ask about a scanned page by number to check.

"Your Uploads May Be Too Large" and the Context Window

This warning does not block the upload. Google's page says that if a file is too large, Gemini may give a response that misses connections or details across the content, most often when a prompt needs many details scattered through large files. The fix on the page is to upload smaller files with less content, or upgrade to Google AI Pro or Google AI Ultra for a 1 million token context window.

The context window is the amount Gemini can read together at one time. Google's limits page lists it by plan. Both the limits page and the attach-files page say a 1M-token window can understand up to 1,500 pages of text or 30,000 lines of code. Neither page says how many pages fit into the smaller windows.

  • Without an AI plan: 32k tokens, with standard usage limits.
  • Google AI Plus: 128k tokens, with usage limits 2x higher than standard.
  • Google AI Pro: 1M tokens, with usage limits 4x higher than standard.
  • Google AI Ultra also gets 1M tokens, and its limits are 5x or 20x higher than AI Pro, depending on the subscription.

For developers, the API page gives the cost of a PDF in tokens: about 280 tokens per page at low resolution, 560 at medium (the default) and 1,120 at high for Gemini 3 and Gemini 4 models, and a flat 258 tokens per page for Gemini 2.5. A 300-page PDF at the default setting comes to roughly 168,000 tokens by simple multiplication, so a long report can use a large share of a window. The app pages do not state per-page token costs, so these numbers do not map exactly onto the Gemini app.

Insight

Not every file error is about the file. When Gemini Apps storage is full, "Delete data to upload file" appears; the fix is to open gemini.google.com, click or tap Settings, then History, and delete some history, though Google says the freed space can take several minutes to show. The other message, "You've reached your limit for chats with files", is a rolling limit: it resets after some time, or rises with a Google AI plan.

Work or School Account: Admin Settings That Block Attaching

On a work or school Google Account, an administrator may be the reason a file will not attach. Google's help page says attaching files from Google Drive requires that access to apps in Gemini be enabled by your organization's Workspace administrator. It also says only a Workspace administrator can delete Gemini history for a work or school account, so a full-storage error there goes to the administrator, not to you.

From the administrator's side, Google's Workspace pages describe the switches. In the Admin console, the path is Menu, Generative AI, Gemini app, then Service status to turn the app on or off for everyone or for an organizational unit or group. To let users upload Drive files to Gemini, the Workspace apps setting under Apps in the same Gemini app area must be on. Changes can take up to 24 hours, though Google says they typically happen more quickly.

Work and school accounts may also see a message that the context window was exceeded when attaching and analyzing files. Rules differ by employer and school, and the organization has the last word on what its accounts can do. A file that attaches on a personal account but not on a work account points to an administrator setting, not to the PDF. Do not move confidential work files to a personal account to get around it, since that may breach your organization's policy.

When to Split the PDF, Plus a 7-Step Checklist

Split the PDF when it nears a limit, when Gemini answers only from the first few pages, or when the too-large warning appears. Google advises smaller files with less content. Cut the PDF into sections by chapter or page range, attach one section per prompt, and ask the same question of each. Keep each section well under 100 MB and, for API use, under 50 MB and 1,000 pages. Slicing inside an API request does not help, since the API limits apply to the full file even when you slice it.

Work through this checklist in order and stop at the first step that fixes it.

  • 1. Re-attach the PDF and send the question again. This is the fix Google names.
  • 2. Check the size: 100 MB or less in the app, 50 MB or less through the API.
  • 3. Check the count: no more than 10 files per prompt, counting every file in any folder you added.
  • 4. Check whether the pages are text or images, using the highlight test above. For scans, rotate, sharpen and retake blurry pages.
  • 5. Read the wording of the error. "Delete data to upload file" calls for clearing history under Settings, then History, while "You've reached your limit for chats with files" calls for waiting or upgrading.
  • 6. If the answer is thin or misses detail, split the file or move to a plan with the 1M-token window.
  • 7. On a work or school account, ask the Workspace administrator whether Workspace apps in Gemini are turned on.

If Your PDF Is Phone Photos of Paper: Scanning It in MemX

If your PDF is a stack of phone photos of a paper document, MemX is one place to turn them into searchable text, and it is not a fix for Gemini itself. MemX's document scanning page describes scanning pages with the phone camera into one multi-page PDF, then reading the text and key facts such as dates and amounts so the scan becomes searchable. You ask for it later in plain words, and the answer comes back with the scan it used.

Scans top out at 20 MB, and a bigger one prompts MemX to ask for fewer pages. The Upload page accepts photos, PDFs, text, Word documents and audio, again 20 MB each at most. Gemini is outside MemX's reach: MemX neither attaches files to it nor alters how it reads them, so a refused PDF stays refused. For privacy, MemX calls itself private by architecture, with a key per account, encryption at rest and every read logged.

Frequently Asked Questions

Frequently Asked Questions
01Why does Gemini say it failed to analyze my PDF?

Google's help page does not give a cause. It says to re-attach the file. If that fails, check the 100 MB size limit, the 10-file limit, whether the pages are blurry scans, and whether your storage or usage limit is full.

02What is the Gemini PDF size limit?

Google's help page says supported file types other than video can be up to 100 MB in the Gemini app, with up to 10 files per prompt. For the Gemini API, a PDF is limited to 50 MB and 1,000 pages.

03Can Gemini read scanned PDFs?

Google's help pages do not say. The API page says pages are rendered as images and embedded text is extracted when present, and it advises avoiding blurry scans and low-contrast pages. Clear, upright scans give it the best chance.

04What does "your uploads may be too large for the best results" mean?

Per Google, Gemini's answer may miss connections or details across the content. Two ways out: upload smaller files with less content, or move to Google AI Pro or Ultra, which offer the 1 million token context window.

05Why can't I attach files from Drive on my work account?

Google says attaching Drive files requires your Workspace administrator to enable access to apps in Gemini. Only an administrator can change that setting, so ask your administrator. The organization decides what its accounts can do.

Read Next

Or try MemX to access 40+ AI models in one place, including Claude Sonnet 4.6 and GPT-5.4, and get your questions answered today.

Was this article helpful?

Found this useful? Share it with someone who needs it.

Free · iOS, Android & WhatsApp

Stop losing what you save.
Let MemX remember it for you.

Every screenshot, photo, PDF and voice note: captured, encrypted, and instantly searchable. Ask in plain English, get the answer in seconds.

  • Reads text inside images and handwriting
  • Private and encrypted by default
  • Free to start, no credit card

Takes under a minute to set up. Your data stays yours.

Arpit Tripathi
Written by
Arpit TripathiLinkedIn

Founder of MemX. Ex-Google Staff Tech Lead Manager, ex-AWS Senior SDE (Elastic Block Store). Writes about practical AI on the MemX blog.

Keep reading

More guides for AI-powered students.