Skip to content
Free, no account, runs in your browser

Direct download link generator: Google Drive, Dropbox, OneDrive

Paste a share link and get a link that downloads the file straight away instead of opening a preview page. It works out the change in your browser; the link isn't sent to us.

Updated

Google Drive, Docs, Sheets, Slides, Dropbox, OneDrive or SharePoint.

Direct download link Paste a share link to get its direct download link.

Test it in a private window, signed out, to be sure it downloads for everyone.

How do I make a direct download link for a Google Drive file?Share the file as Anyone with the link, copy its link and paste it here. The tool takes the file ID and writes a drive.google.com/uc?export=download&id= link that starts the download instead of opening Drive's preview. For Google Docs, Sheets and Slides it writes an export link that downloads a PDF, Word, Excel or PowerPoint copy.

How to use it

  1. Share the file publicly

    In Google Drive set General access to Anyone with the link. In Dropbox and OneDrive create a share link anyone can open.

  2. Paste the share link

    The tool recognises Google Drive, Docs, Sheets, Slides, Dropbox and OneDrive or SharePoint links.

  3. Choose the format (Google files)

    For Docs pick PDF or Word (.docx), for Sheets PDF or Excel (.xlsx), for Slides PDF or PowerPoint (.pptx).

  4. Copy and test it

    Copy the direct link and open it in a private window, where you are signed out, to check it downloads for everyone.

How does each service's direct download link work?

Each service has its own way to skip the preview. Dropbox documents its dl=1 switch. The Google and OneDrive patterns below are widely used but not documented in the help pages we checked, so test the result before you send it widely.

ServiceShare link looks likeDirect link the tool writes
Google Drive filedrive.google.com/file/d/FILE_ID/viewdrive.google.com/uc?export=download&id=FILE_ID
Google Docsdocs.google.com/document/d/ID/edit.../document/d/ID/export?format=pdf or docx
Google Sheetsdocs.google.com/spreadsheets/d/ID/edit.../spreadsheets/d/ID/export?format=pdf or xlsx
Google Slidesdocs.google.com/presentation/d/ID/edit.../presentation/d/ID/export?format=pdf or pptx
Dropboxdropbox.com/...?dl=0The same link with dl=1
OneDrive / SharePoint1drv.ms/... or ...sharepoint.com/...The share link with download=1 added

Why doesn't my direct download link work?

Always test the link signed out. Your own browser is signed in to your account, so it may download fine for you and fail for everyone else.

  • The file isn't public. A Drive file set to Restricted only opens for people you added. Set General access to Anyone with the link, or the download asks visitors to sign in.
  • Large Drive files show a warning first. For big files Google shows a page saying it can't scan the file for viruses, and visitors have to confirm the download. A direct link can't skip that page.
  • Too many downloads. Drive can pause a popular file for a while with a Too many users message. For large public downloads, host the file elsewhere.
  • OneDrive and SharePoint vary. Adding download=1 works for many share links but not all, depending on the link type and your organisation's settings.
  • The file moved or was deleted. The direct link uses the file's ID, so a re-uploaded file gets a new ID and the old link breaks.

Direct links from Drive or Dropbox are public to anyone who has them, for as long as the file stays shared. To control who downloads a file and for how long, BN Shortener file links put the file behind a short link with an optional password, an expiry date and a download limit, and count the downloads. File links are on Pro and higher; each file type has a size limit.

Short links also help when you send a direct link in print or a message: the long uc?export=download address becomes something people can type, and you can point it at a new file later. See how to make a QR code for a PDF.

Sources

  1. Share files from Google Drive (Anyone with the link), Google Drive Help, checked 2026-10-24
  2. Download and upload files in Google Drive, Google Drive Help, checked 2026-10-24
  3. Download a file from Google Docs, Sheets or Slides, Google Docs Help, checked 2026-10-24
  4. How to force a file to download from a shared link, Dropbox Help, checked 2026-10-24

Questions

Is the link I paste sent anywhere?

No. The tool rewrites the link in your browser using the file ID in it. It doesn't contact Google, Dropbox or Microsoft, and doesn't change your sharing settings.

Does a direct download link make my file public?

No, the sharing setting does that. The direct link only works if the file is already shared so anyone with the link can open it.

Can I download a Google Doc as a PDF with a link?

Yes. The tool writes an export link with format=pdf, which downloads a PDF copy of the current document. Choose docx for a Word file instead.

What does dl=1 mean on a Dropbox link?

Dropbox's help says changing dl=0 to dl=1 at the end of a share link makes it download the file instead of showing a preview.

Why does Google show a virus scan warning?

Google doesn't scan very large files, so it asks visitors to confirm before downloading them. That page appears however the link is written.

Can I track how many people download the file?

Not with a plain direct link. Put it behind a short link to count clicks, or use a BN Shortener file link, which counts downloads and can stop after a set number.

Try it on your next link

The Free plan includes a custom domain, 5 dynamic QR codes, a bio page and click analytics. No credit card.