[All articles](https://linkinseconds.com/blog)

# What a direct download link is, and how to make one

[Sunny](https://linkinseconds.com/about#who-runs-this)·September 14, 2026· 7 min read

[#photos](https://linkinseconds.com/blog/topic/photos-and-albums)#howto#direct#download#link

Make a direct download link

release.zip Live

lisview.com/download

“Direct download link” sounds like a special kind of URL you have to generate. It isn't. It's an ordinary link to a file, where the server adds one instruction telling the browser to _save_ this rather than _show_ it. Once you know which instruction, every confusing thing about direct links (why Drive links don't work, why the trick you found stopped working) makes sense.

## The one header that decides everything

When a browser asks for a file, the server answers with headers describing it. One of them settles view-or-download:

```
Content-Disposition: inline      → show it in the browser
Content-Disposition: attachment  → download it
```

That's the whole mechanism. **The same URL can do either**, depending on what the server says when it answers. This is why you can't tell from looking at a link whether it'll download. The answer isn't in the URL, it's in the response.

A second header, `Content-Type`, decides _how_ it's shown when inline. A PDF served as `application/pdf` [renders in the viewer](https://linkinseconds.com/pdf-to-link-converter); the same bytes served as `application/octet-stream` download, because the browser has been told it's an anonymous blob.

## Direct link vs share link

Try it while you are reading

Upload a file and get a clean, trackable link with a QR code. Free, and no account for whoever opens it.

[Create a link](https://linkinseconds.com/)

| | Share link | Direct download link |

| What opens | A page showing the file | Nothing, the download starts |

| Good for | Anything meant to be read | Assets, installers, datasets |

| On a phone | Opens and is readable | Lands in Files with no context |

| Branding | The host's page around it | None, just bytes |

| Can you count opens? | Yes | Only the download itself |

## Getting one out of the big cloud drives

### Google Drive

A normal Drive share link ends in `/view` and opens a preview page. Pull the file ID out of it and rebuild the address in the download form:

```
https://drive.google.com/file/d/FILE_ID/view   ← preview
https://drive.google.com/uc?export=download&id=FILE_ID   ← download
```

Two honest caveats before you print that on something:

- **It's a pattern, not a feature.** Google doesn't document it as a stable interface, and has changed these URLs before, breaking every link built on them.

- **Large files interrupt anyway.** Above the virus-scan threshold Drive shows a confirmation page instead of downloading, so the “direct” link isn't direct for exactly the big files you wanted it for.

And it still inherits Drive's sharing model, so if the file isn't set to “Anyone with the link” your recipient gets [a request-access screen](https://linkinseconds.com/blog/google-drive-link-request-access) rather than a download.

### Dropbox

Dropbox share links end in `?dl=0`, which means “show the preview page”. Change it to `?dl=1` and the same link downloads:

```
https://www.dropbox.com/s/abc123/report.pdf?dl=0   ← preview
https://www.dropbox.com/s/abc123/report.pdf?dl=1   ← download
```

Cleaner than the Drive route because the parameter is deliberate rather than reverse-engineered. It's still tied to a Dropbox account and its storage quota.

## When you should _not_ use one

This is the part most guides skip, and it matters more than the mechanics. A download that starts with no warning is a poor experience in three common situations:

- **On a phone.** The file lands in Downloads or Files with no preview and no context. Plenty of people never find it again.

- **On a metered or slow connection.** You've just spent someone's data without asking.

- **When the file is meant to be read.** A proposal, a menu, a resume, a deck, and forcing a download adds a step between the reader and the content, and some of them won't take it.

A useful rule: **direct download for assets, preview for documents.** If the recipient needs the bytes to do something else with them, download. If they need to read it, let them read it, and put a download button next to it for the ones who want a copy.

## The version that does both

You rarely have to choose. A link that opens an in-browser preview _and_ offers a download button is the simplest way to [share files online](https://linkinseconds.com/share-files-online) for both audiences: the person who just wants to look, and the person who wants the file.

That's the default on Link in Seconds: [upload a file and you get a link](https://linkinseconds.com/) that previews in the browser with a download available, on a URL that doesn't depend on an undocumented parameter and won't break when a vendor changes its URL scheme. If you'd rather people didn't keep a copy at all, view-only turns the download off entirely, [with honest limits](https://linkinseconds.com/blog/share-a-pdf-people-can-view-but-not-download).

Photos and clips work the same way. A [picture to link](https://linkinseconds.com/image-to-link) shows the image full size, and when you [turn a video into a link](https://linkinseconds.com/video-to-link) it plays in the browser with seeking, each with a download button unless you switch it off.

## Quick answers

### What is a direct download link?

A URL that starts downloading the file as soon as it is opened, instead of showing a preview or a landing page first. Technically it is not a special kind of URL, it is an ordinary link to a file whose server responds with the HTTP header Content-Disposition: attachment, which tells the browser to save the file rather than display it.

### What is the difference between a direct link and a share link?

A share link usually points at a web page that shows the file, with the service's branding, a preview and a download button. A direct link points at the file itself and begins the download immediately. The share link is better when you want the person to look at something; the direct link is better when they only need the bytes.

### How do I make a Google Drive link download directly?

Take the file ID out of the sharing URL and use the export-download form of the address instead of the /view form. It works, but it is an undocumented pattern rather than a supported feature: Google has changed these URLs before and broken every link built on them, and large files still interrupt with a virus-scan warning page.

### Should I always use a direct download link?

No. A download that starts with no warning is hostile on a phone and on a metered connection, and it gives the recipient no idea what they just received. For documents people are meant to read, a proposal, a menu, a resume, an in-browser preview with a download button converts far better than a forced download.

## Related guides

- [How to turn an image into a link](https://linkinseconds.com/blog/how-to-turn-an-image-into-a-link)

- [How to embed a PDF on a website](https://linkinseconds.com/blog/embed-a-pdf-on-your-website)

- [Every app's file size limit in 2026](https://linkinseconds.com/blog/file-size-limits-by-app)

## Keep reading

- [Share wedding photos as an album wedding.jpg Live lisview.com/wedding How to share wedding and event photos as one beautiful album link 6 min read](https://linkinseconds.com/blog/share-wedding-photos-as-album-link)

- [Send an assignment as one link assignment.zip Live lisview.com/assignment How to send an assignment or 100 files as a single link 6 min read](https://linkinseconds.com/blog/send-assignment-as-one-link)

- [Share a photo album in one link album.jpg Live lisview.com/album Send photos as a link: one album link for email or text 8 min read](https://linkinseconds.com/blog/share-a-photo-album-with-one-link)

## Turn any file into a link in seconds

Upload a PDF, image, video, or ZIP and get a clean, trackable link with a QR code, free.

[Try Link in Seconds →](https://linkinseconds.com/)

Source: https://linkinseconds.com/blog/direct-download-link
