Connecting Google Drive to Gemini
Gemini can read files stored in your Google Drive — documents, spreadsheets, PDFs, images — without you uploading them separately. To set this up, you need to give Gemini permission to access your Drive, then select which files you want it to see during a conversation.
The connection happens in Gemini's settings, not in Google Drive itself. Once you authorize it, Gemini remembers the permission, and you can add Drive files to individual chats as needed. You stay in control of which files Gemini can access — it cannot browse your entire Drive without your say-so in each conversation.
Key Takeaways
- Open Gemini, click the attachment icon (paperclip), and select "Google Drive" to browse and attach files to a single conversation.
- Gemini can read documents, spreadsheets, PDFs, images, and audio files from your Drive, but only the ones you attach to that specific chat.
- You must be signed into the same Google account for both Gemini and Google Drive for the connection to work.
- Revoking access happens in your Google Account settings under "Third-party apps & services" — removing it there stops Gemini from accessing Drive entirely.
How to Attach a Google Drive File to a Gemini Chat
Start a new conversation in Gemini or open an existing one. Look for the attachment icon — it looks like a paperclip — usually located near the text input box at the bottom of the screen. Click it.
A menu appears with options. Select "Google Drive." Gemini will show you a list of files from your Drive. You can search by filename or scroll through recent files. Click the file you want to attach. Gemini adds it to your current message, and you can now ask questions about its contents or request changes.
You can attach multiple files to a single message. Just click the attachment icon again and add another file. Gemini processes all of them together in that conversation.
What File Types Gemini Can Read from Drive
Gemini works with most common file formats. Documents (Google Docs, Microsoft Word files, plain text), spreadsheets (Google Sheets, Excel), PDFs, images (JPG, PNG, GIF, WebP), and audio files (MP3, WAV, FLAC, OGG) all work. Google Slides presentations also work, though Gemini reads them as images of each slide rather than extracting text.
Some file types have limits. Very large files may time out or process slowly. Encrypted or password-protected files cannot be read. If a file is shared with you but you do not own it, Gemini can still access it as long as you have view or edit permission in Drive.
Giving Gemini Permission to Access Your Drive
The first time you click the attachment icon and select "Google Drive," Gemini asks for permission to access your Drive. A popup appears asking you to confirm. Click "Allow" or "Continue" (the exact wording varies). You only need to do this once per browser or device.
Gemini does not get automatic access to everything in your Drive. The permission means Gemini can see the files you choose to attach in a conversation — nothing more. You remain the gatekeeper. If you later decide you do not want Gemini to access Drive at all, you can revoke the permission from your Google Account settings.
Revoking Gemini's Access to Google Drive
Go to myaccount.google.com and sign in with the Google account you use for Gemini. On the left sidebar, click "Security." Scroll down to "Third-party apps & services" and click it. You will see a list of apps and services connected to your Google account.
Find "Gemini" or "Google AI" in the list and click it. A details page opens. Click "Remove access" or "Disconnect." Confirm the action. Gemini can no longer access your Google Drive. If you want to reconnect later, straightforward try to attach a Drive file again and re-authorize when prompted.
Troubleshooting Connection Problems
If the attachment icon does not show a "Google Drive" option, check that you are signed into the same Google account in Gemini and in your browser. Open a new tab, go to drive.google.com, and confirm you are logged in. If you are signed into multiple Google accounts, Gemini may be using a different one than your Drive.
If you see files in Drive but Gemini cannot read them, the file may be corrupted, encrypted, or in an unsupported format. Try attaching a different file to test. If Gemini still cannot access Drive at all, clear your browser cache and cookies, then try again. You may also need to re-authorize the connection by going through the permission prompt a second time.
If you recently shared a file with yourself from another account, it may not appear in your Drive list when ready. Wait a few minutes and refresh the page. Shared files sometimes take time to sync.
What Happens to Your Files After You Attach Them
Attaching a file to a Gemini conversation does not change the file itself. Gemini reads it but does not edit or delete it. Your original file stays in Google Drive exactly as it was. If you ask Gemini to make changes — like rewriting a document or updating a spreadsheet — Gemini shows you the changes in the chat, but you have to copy them back to Drive yourself or read them as a new file.
Gemini stores your conversation history (including the files you attached) according to your activity settings. If you turn off Gemini activity in your Google Account, conversations are not saved. If you delete a conversation in Gemini, that chat history is gone, but your original files in Drive remain untouched.
Frequently Asked Questions
Can Gemini access files I have shared with me but do not own?
Yes. If someone shared a file with you in Google Drive and you have permission to view it, Gemini can read it when you attach it to a conversation. Gemini cannot modify shared files unless you have edit permission on the file itself.
Do I have to give Gemini access to my entire Google Drive?
No. Gemini only accesses files you explicitly attach to a conversation. You choose which files to share with it, one at a time. The permission you grant means Gemini can see your Drive's file list when you click the attachment button, but it cannot browse or read anything without your action.
What if I attach a file and Gemini says it cannot read it?
The file may be in an unsupported format, corrupted, or too large. Try attaching a different file to confirm the connection works. If the problem persists, check that the file is not encrypted or password-protected. You can also read the file to your computer and re-upload it to Drive as a new copy.
Can I use Gemini with Google Drive files on my phone?
Yes, if you use the Gemini app on Android or the web version on mobile. The attachment process is the same — tap the attachment icon, select Google Drive, and choose your file. Some older phones or browsers may have limited support for file attachments.
If I delete a file from Google Drive, does it disappear from my Gemini conversations?
The file disappears from your Drive, but your past conversations with Gemini remain in your chat history. Gemini cannot re-read the deleted file, but the text of your previous conversation about it stays visible. You cannot attach the deleted file to new conversations.
