- [Home](https://linkinseconds.com/)

- /

- [Glossary](https://linkinseconds.com/glossary)

- /

- Direct download link

[Link types and controls](https://linkinseconds.com/glossary#links)

# What is a direct download link?

Definition

A direct download link is a link that starts the download straight away instead of showing a preview page first. It suits installers, datasets and scripts that fetch a file, and is less useful when you want the reader to look before they save.

Also called: Direct link, Download link, Direct file link

## How does a direct download link work?

A direct download link works because of one instruction the server sends with the file. The link itself is an ordinary address, and the server answers it with a header called Content-Disposition. The value "attachment" tells the browser to save the file. The value "inline" tells it to show the file in the tab.

So the same address can download or display, depending on what the server says. You cannot tell from the link alone. A second label, the [MIME type](https://linkinseconds.com/glossary/mime-type), tells the browser what kind of file it is, which decides how an inline file is shown.

## When should you use a direct download link?

Use a direct download link when the person needs the file to do something else with it, not to read it:

- Installers, plugins and app builds.

- Datasets, CSV exports and backups.

- Files fetched by a script or a command such as curl.

- Assets someone will open in another program, such as fonts or design files.

## When is a preview page better?

A preview page is better when the file is meant to be read. A proposal, a menu, a resume or a deck is quicker to read in the browser than as a file in a Downloads folder. On a phone, a surprise download often lands in a files app with no context, and on a slow or metered connection it spends someone's data without asking.

A page with a preview and a download button covers both readers: the one who wants to look and the one who wants a copy. If you would rather nobody kept a copy, a [view-only link](https://linkinseconds.com/glossary/view-only-link) hides the download entirely.

## Why do some direct download links stop working?

Some direct download links stop working because they rely on a trick, not a feature. Ways to turn a cloud drive's share page into a raw download address are often undocumented, so they can break when the service changes its addresses. Large files may also stop at a warning page first.

Hosts that keep files in private storage often hand out a short-lived [signed URL](https://linkinseconds.com/glossary/signed-url) at the moment of download. Copying that address and posting it elsewhere fails once it expires, which also limits [hotlinking](https://linkinseconds.com/glossary/hotlinking).

Direct download link vs preview page

| What differs | Preview page | Direct download link |

| What opens | A page that shows the file | Nothing, the download starts |

| Good for | Files meant to be read | Installers, datasets, scripts |

| On a phone | Opens and is readable | Lands in a files app |

| What you can count | Every visit | Only the downloads |

In Link in Seconds

Link in Seconds links open a page that shows the file first, with a Download button in the bar at the top, so the reader can look before they save. ZIP files and a few other types show a download card instead of a preview. Turn off "Let people download it" in Link settings and the button is hidden and direct download requests are refused.

[Supported file types](https://linkinseconds.com/docs/file-types)

## Direct download link: common questions

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

A share link opens a page that shows the file, usually with a download button. A direct link points at the file itself and starts the download at once.

### Can you track a direct download link?

Only the download itself can be counted, because no page loads first. A preview page can also show how long someone looked at the file.

### Is a direct download link safe to click?

It is as safe as the file and the site behind it. Because the file arrives without a preview, only open downloads from people and sites you trust, and take extra care with programs and archives.

### Do direct download links expire?

Some do. A signed link from private storage is built to expire within minutes, while a link to a public file lasts as long as the file stays where it is.

## Related terms

- [Shareable linkA shareable link is a web address that opens a file for anyone who has it, without the file traveling as an email attachment. You send a few characters instead of the bytes, and you can usually change or turn off the link later.](https://linkinseconds.com/glossary/shareable-link)

- [View-only linkA view-only link is a link where the file opens in the browser but the download button is hidden. It stops casual saving, but it is a deterrent, not DRM: a screenshot or a determined person can still keep a copy.](https://linkinseconds.com/glossary/view-only-link)

- [MIME typeA MIME type is the label that says what kind of data a file is, such as application/pdf or image/png. Browsers use it to decide how to open a file, but it is easy to fake, so careful hosts do not trust it alone.](https://linkinseconds.com/glossary/mime-type)

- [Signed URLA signed URL is a temporary address for a stored file with a cryptographic signature and an expiry time built in. It lets a browser fetch one specific file for a few minutes, so the storage itself never needs to be public.](https://linkinseconds.com/glossary/signed-url)

- [HotlinkingHotlinking is showing another site's image, video or file on your own page by linking straight to its file address. The file loads from the other site's server, so that site pays for the bandwidth and usually never agreed to it.](https://linkinseconds.com/glossary/hotlinking)

- [ZIP fileA ZIP file is one file that holds many files and folders, usually compressed to take less space. It lets you send a whole folder as a single download, and the person who gets it unzips it to see the files.](https://linkinseconds.com/glossary/zip-file)

## Go deeper

- [Make a direct download link](https://linkinseconds.com/blog/direct-download-link)

- [Share a PDF people can view but not download](https://linkinseconds.com/blog/share-a-pdf-people-can-view-but-not-download)

Updated December 5, 2026

[Previous termData room](https://linkinseconds.com/glossary/data-room)[Next termEmail gate](https://linkinseconds.com/glossary/email-gate)

Share a file as a link in seconds

Upload any file and get one clean link, with every setting on this page.

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

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