How to Get Direct Download Links for Google Drive Files

Published: Oct 24, 2024
3 min read
Last updated: Nov 20, 2024

Visiting a link obtained from Google Drive shows a preview page. If you want to bypass that page and directly download the file, you need to modify the link slightly.

This modification is simple and straightforward. Right-click a file in Google Drive, select Share → Copy link, and either manually alter it or paste it into the tool below to generate the direct download link.

This process involves a bit of manual work. For one or two files, it’s a quick task—just ten seconds. But what if you need download links for 100 files?

This post will cover both scenarios. You’ll learn how to get a direct download link for a single file within seconds, directly from the Google Drive dashboard. You’ll also learn how to fetch links for multiple files.

For both tasks, you will use Drive Explorer, a Google Workspace add-on. You might be sceptical about using a third-party tool, but Drive Explorer is a highly-rated tool trusted by over 800,000 users worldwide.

First, you need to install the add-on for your Google account. Visit the marketplace page, click Install. Select your Google account and authorize access to your Google Drive.

After installing Drive Explorer, you’ll see its icon in the Google Drive side panel.

  1. Select one or more files in Google Drive.
    selecting files inside google drive
  2. Click the Drive Explorer icon and wait a few seconds.
    opening drive-explorer in google drive sidepanel
  3. You will see the direct download links for your files.
    download link of a google drive file

For the download links to work for everyone, the files must be shared with Anyone with the link. You can easily do this by flipping the Public access switch.

public access switch to share the image with anyone with the link

You can select and copy the link you need. Along with the direct download link, you will also see other details like image link, size and path of the files. This method even allows you to check the size of a Google Drive folder.

For multiple files, you'll use the Drive Explorer web app. Here's the simple 5-step process:

  1. Select the folder containing the files in Google Drive.
  2. Right click and choose Open with → Drive Explorer.
    opening a google drive folder with drive explorer
  3. In the page that opens, scroll down and click Fetch files.
    fetch files drive-explorer
  4. In the pop-up, select your Google account and authorize access.
  5. The files within the selected folder will be listed along with their download links.

list of google drive download links

You can even export these links directly to a Google Sheet or a CSV file. Drive Explorer fetches many other details about your Google Drive files - check the documentation for more information.

How this works

Drive Explorer uses the Google Drive API to fetch file IDs and generate direct download links. The file ID can be found in the share link that you get from Google Drive. For example, in this link:

https://drive.google.com/file/d/1r3yRTh2K5KT5WmKlFYr25IWH46-gGoGK/view?usp=drive_link/view

The marked part is the file ID. When we replace the FILE_ID in the link below with the actual file ID, we get the direct download link.

https://drive.google.com/uc?id=FILE_ID&export=download

Drive Explorer automates this process, saving you time and effort.

I have built an app to check the things that matter to you the most with a single click. If this interests you, you can give it a try on getradar.co.