How To Create A Direct Link To Your Google Sheets Spreadsheet
How To Create A Direct Link To Your Google Sheets Spreadsheet
Note
You may need to enable link sharing first. You'll need to set it to any one of the
following sharing permission levels:
2. Click the blue Share button in the top right hand corner to open the Share with
others modal.
6. Back on the Share with others modal, click Copy link to copy your sharing link.
2. Now to create the sharing link. We recommend using our link generator tool to
receive a direct download link.
Enter your generated link from Google in the Enter Share Link field and
click Generate.
3. Next we'll need to change the generated URL because this link will download in
PDF format by default. Copy the generated URL and paste into a text editor.
Examples
Here's an example sharing link generated from Google Sheets:
https://docs.google.com/spreadsheets/d/1gnNj6NFErrRY0NqEBVuYzPcxJ8hnFPzZ01QDe
o8xAW4/edit?usp=sharing
Hover your cursor over the dashboard square you would like to position your
new widget and click the + button.
9. You can now continue updating your Google Sheet as usual and it will
automatically sync with Geckoboard via the generated link.
Suggested next step
Now that you've linked up your spreadsheet with Geckoboard, you can now
begin creating visualizations using your spreadsheet.
Google Drive has revolutionized the way we share files and collaborate with others. You
can upload and share almost any file format you can think of and the people whom you
share the file with can easily preview a file, even without installing the needed software on
their browser via Google Drive Viewer (PSD and CAD files anyone?).
This is an awesome feature, but there are cases where you may want to share a direct
download link instead of taking the user to the browser viewer. Say for example, you need
to print a document and the only printer available is connected to a shared PC. If you don’t
want to login to your Google account on other computers, a direct link would come in
handy.
Amit of Digital Inspiration has found a way to skip the web viewer and allow users to
download a file automatically. Currently, Google Drive doesn’t have an easy option to
generate direct links through the web UI. To do this, you simply need to edit the URL
generated based on the patterns below.
https://drive.google.com/file/d/FILE_ID/edit?usp=sharing
https://drive.google.com/uc?export=download&id=FILE_ID
As you can see, you only need to note of the FILE_ID. Note that the above URL pattern is
for creating direct links to file formats with no Google Drive equivalent such as image and
audio files. This trick also works for Docs, Sheets, and Presentations, but with a different
URL pattern. I have created a reference table below for your convenience, but you can also
take a look at Amit’s original post here.
Google Docs
Share URL:
https://docs.google.com/document/d/FILE_ID/edit?usp=sharing
Google Sheets
Share URL:
https://docs.google.com/spreadsheets/d/FILE_ID/edit?usp=sharing
Share URL:
https://docs.google.com/presentation/d/FILE_ID/edit?usp=sharing
Other files
Share URL:
https://drive.google.com/file/d/FILE_ID/edit?usp=sharing
Do you think bypassing Google Drive Viewer is helpful? Let us know in the comments
section below.
You can upload files of virtually all types to your Google Drive – from
documents to movies to zip archives – and people with whom you have
shared the file can easily view them in the browser itself. The Google
Docs web viewer is pretty capable and can render all the popular formats
including Photoshop files and AutoCAD drawings.
That’s a useful feature but sometimes you may want to bypass the built-
in Google Docs viewer and force the browser to download the file
instead of opening it. Thus if a user has Photoshop on their computer,
the PSD file that you have shared through Google Drive will open in
Photoshop and not in their web browser.
Google Drive will mostly render shared links in the browser but you can change that.
Create Direct Links and Skip the Web Viewer
Google Drive doesn’t offer a simple option for creating these “direct
download” link but you can easily create them by slightly modifying the
generated URLs. Here’s the trick.
A file hosted on Google Drive has a shared link that looks like this:
https://drive.google.com/file/d/FILE_ID/edit?usp=sharing
When you access this link, it will render the file in the browser but if you
can rewrite this URL slightly, the link, when clicked, will download the
corresponding file in the user’s browser instead of opening it in the
browser. The modified URL would be:
https://drive.google.com/uc?export=download&id=FILE_ID
All you have to do is make note of the FILE_ID in the original URL and
use it in the modified URL. For example, here’s an image file hosted on
Google Drive that will open in the browser and here’s the modified
URL that forces the browser to download the file.
The trick works for native Google Documents too though the URL format
is a little different.
Google Docs: When you share a Google document, the URL would be:
https://docs.google.com/document/d/FILE_ID/edit?usp=sharing
Replace /edit with /export and add the file format that the document
should be saved as and your download link is ready.
https://docs.google.com/document/d/FILE_ID/export?format=doc https://docs.google.com/
document/d/FILE_ID/export?format=pdf
The above links will now download the same Google document in Word
(.docx) and PDF formats. You can also use “txt”, “html” and “odt” for the
download format.
https://docs.google.com/presentation/d/FILE_ID/export/pptx https://docs.google.com/pr
esentation/d/FILE_ID/export/pdf
The direct download links use a similar format as Google Documents and
will read like:
https://docs.google.com/spreadsheets/d/FILE_ID/export?format=xlsx https://docs.google
.com/spreadsheets/d/FILE_ID/export?fo