Home > Uncategorized > How to directly download shared files from Google Drive.

How to directly download shared files from Google Drive.

Although Google Drive lets you download any Google Doc or Google Viewer files with your shared users, it is not very obvious like the Dropbox’s download button. You often have to instruct users to go to the File menu and then click Download As to download the file. This is very frustrating when you email or IM the Google Drive file link. The most common response from a user with whom you have shared a download file link is an email from Google Drive asking the you to change the sharing settings. It would have been useful if Google Drive included a “Download” button next to the “Comments” and “Share” button. Until then you would have be content with this little force download URL hack.
An example of the URL that Google Drive generates for a doc will be something similar to:


To make Google Drive document downloadable you will have to know two things:
1. The file code or id, which is an 44 character alphanumeric value in the shared URL that uniquely identifies that file.
2. The desired file format. These URL and formats are specific to the Google Drive file type document.

Below is a table which show the different documents types, their download URL and their respective formats.

Non-Google doc File: https://docs.google.com/uc?id=[FILE_ID]&export=download
Format: none

Google Document: https://docs.google.com/document/d/[FILE_ID]/export?format=[FORMAT]
FORMAT: docx, odt, rtf, pdf, txt, html

Google Presentation: https://docs.google.com/presentation/d/[FILE_ID]/export?format=[FORMAT]
FORMAT: pptx, pdf, svg, png, jpg 

Google Drawings: https://docs.google.com/drawings/d/[FILE_ID]/export/[FORMAT]
FORMAT: pdf, svg, png, jpg 

Google Spreadsheet: https://docs.google.com/spreadsheet/d/[FILE_ID]/export?format=xlsx
Categories: Uncategorized Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: