Guide · PDF to Link

PDF to link: turn any PDF into a shareable URL.

Every path — free and paid, cloud and self-hosted — for converting a PDF file into a URL you can paste into email, chat, a QR code, or a button on your site. With the trade-offs each option quietly makes for you.

Free options firstNo sign-up needed for mostDirect-download URLs covered
01 — TL;DR

Three fastest ways to convert a PDF to a link.

If you just want a link and you want it now, skip the theory and pick one of these three. Each takes under a minute, none costs anything, and each hands you a URL you can paste into an email, a chat message, a QR code, or an anchor tag on your own site.

Google Drive is the fastest if you already use Gmail. Upload the PDF, right-click it, choose Share, flip the general access dropdown to Anyone with the link, then copy the URL. The link opens the file in Drive's preview viewer — good for read-only sharing and works on any device without a Google account on the other end.

Dropbox is the fastest if you want a URL that looks clean and predictable. Drag the file into your Dropbox folder, click Share, pick Create link, and copy. The default link opens Dropbox's viewer; swap ?dl=0 for ?dl=1at the end and the same URL becomes a direct download — the pattern is worth remembering, it's covered in section 06.

A file-transfer service like file.io or tmpfiles.org is the fastest if you need to share once and don't want anything left over. Drop the PDF on the page, get a URL back, send it, done. These links expire — sometimes after one download, sometimes after a few days — which is a feature when you want the file to disappear on its own and a bug when you don't.

For anything else — a permanent URL on your own domain, a direct-download link that respects Content-Disposition, or a link you can rotate the file behind without changing the URL — read on. The rest of this guide is the trade-off menu.

02 — Google Drive

Google Drive: 30 seconds, free, works on everything.

Google Drive is the default answer for most people, and there are good reasons for that. Fifteen gigabytes of storage on the free tier, no separate account to create if you already have Gmail, and the resulting link works on any device without the recipient needing a Google account of their own — provided you set the permission correctly.

The click path is short. Open drive.google.com, drag the PDF into the window, wait for the upload to finish, right-click the file, and choose Share. In the panel that opens, look at the bottom section labeled General access and change it from Restricted to Anyone with the link. Then click Copy linkand paste. That's it.

The URL you get looks like https://drive.google.com/file/d/<file-id>/view?usp=sharing. Opening it lands the recipient on Drive's built-in PDF viewer, where they can page through the document, download it with the toolbar button, or open it in their own Drive.

Two catches worth knowing. First, Drive links are viewer links, not direct-download links — see section 04 for the difference and section 06 for the exact URL surgery that turns a Drive viewer link into a direct-download URL. Second, the link is only as permanent as the file. If you delete the PDF or move it to a folder with different sharing, the URL breaks. For long-lived public files, either leave the original alone or move up to a host that lets you keep the URL stable while swapping the file underneath — covered in section 05.

03 — Consumer cloud storage

Dropbox, OneDrive, and Box compared.

If Google Drive isn't your default, you almost certainly already have one of these three. They all do the same job — store a file and hand you a public URL — and they all have small differences that matter once you start using the link for real work.

Dropbox gives you 2 GB free. Right-click the PDF in the desktop app or the web UI, choose Share, select Create link, and copy. The URL ends in ?dl=0, which opens Dropbox's web viewer. The nice property is that Dropbox exposes a documented URL toggle: change dl=0 to dl=1 and the same URL is a direct download. That predictability makes Dropbox the friendliest of the three for QR codes, email buttons, and anywhere you want the click to trigger a download.

OneDrivegives you 5 GB free, more if you have a Microsoft 365 subscription. The share button generates a link that opens in OneDrive's viewer. You can toggle between view and editpermissions in the sharing panel, and enterprise plans add expiry dates and password protection. The URLs are longer than Dropbox's and use a short-code redirector, which is fine for most uses but harder to eyeball or truncate cleanly.

Boxgives you 10 GB free — the most generous of the three — and is the one most likely to already be approved inside a large company. The shared link opens Box's preview, and paid tiers add fine-grained access controls, custom URL slugs, and analytics on views and downloads. For personal use it's overkill; for team use where audit trail matters, it's often the right answer.

None of the three lets you use your own domain on the free tier. If that matters, jump ahead to section 05 on self-hosting. For a broader ranking with pros and cons per host, see the comparison table in section 07.

04 — URL types

Direct-download URL vs viewer URL.

Not all PDF links are the same shape, and picking the wrong shape is the single most common reason a link "works but feels wrong." There are two categories worth naming.

A viewer URLpoints at a webpage the host wraps around your PDF. Google Drive's /view URL, Dropbox's ?dl=0 URL, and OneDrive's default share URL are all viewer URLs. Click one and you land on a Drive / Dropbox / OneDrive page with a preview, a download button, and the host's branding. Recipients can read the PDF without downloading it, which is friendly for casual sharing. The trade-off is that the URL doesn't behave like a file — you can't <embed>it, browsers won't treat it as a PDF for "save as," and analytics tools won't count it as a download.

A direct-download URL points at the raw PDF bytes with a proper Content-Type: application/pdf header. Click one in a browser and one of two things happens: the browser's built-in PDF viewer opens the file inline, or (depending on the Content-Disposition header) the browser downloads it. Direct-download URLs are the ones you want in <a href> tags, QR codes,<embed> and <iframe> elements, and email buttons that say "Download the PDF."

A rough rule of thumb: viewer URLs are for humans, direct URLs are for browsers and code. If you're sending a link to one person over email or chat, a viewer URL is fine. If the link is going into a webpage, a template, a printed QR code, or anywhere it will be clicked more than a handful of times, use a direct URL — the recipient experience is faster and the behavior is predictable across browsers.

The next two sections cover how to get direct URLs from each host and how to control whether the file opens in the browser or triggers a download.

05 — Self-hosted

Custom domain: Netlify, S3, GitHub Pages.

Cloud storage is fine until you want the URL to read yourdomain.com/guide.pdf instead of drive.google.com/file/d/<random-string>/view. The moment a custom domain matters — for brand, for memorability, for trust when a stranger clicks — you're in self-hosted territory. Fortunately, self-hosting a single PDF is close to free.

Netlify is the softest landing. Create a free account, drop a folder containing your PDF into their deploy zone, and you get a URL like https://your-site.netlify.app/guide.pdf in seconds. Add a custom domain from the settings and the URL becomes https://yourdomain.com/guide.pdf. The PDF is served with proper headers, opens inline in browsers, and stays stable — you can replace the file with a new version at the same path and the URL keeps working. Cloudflare Pages and Vercel work the same way with the same free tier.

Amazon S3 is the industrial option. Create a bucket, upload the PDF, mark it public (or generate a signed URL if you want time-limited access), and you get a URL at https://<bucket>.s3.amazonaws.com/guide.pdf. Put CloudFront in front to serve from your own domain and get a global CDN for pennies per month. This is what you use when the PDF has to survive real traffic — thousands of downloads a day, embedded in an app, linked from an ad campaign.

GitHub Pagesis the developer's free lunch. Push the PDF into a public GitHub repository, enable Pages in the repo settings, and the file is served at https://<username>.github.io/<repo>/guide.pdf. Custom domain is a two-line CNAME record. The catch is that the repo is public, so don't use GitHub Pages for anything you wouldn't post on Twitter.

All three approaches let you rotate the underlying PDF while keeping the URL stable — the property that makes them worth the extra ten minutes of setup over a Drive share.

06 — Behavior

Open inline vs force download.

Every PDF URL implicitly picks a behavior when clicked: open in the browser's built-in PDF viewer, or trigger a download to the user's device. Which of the two happens is controlled by the Content-Disposition HTTP header the host sends with the file. inline opens in the browser, attachment triggers a download. Most hosts default to inline for PDFs; a few let you override.

Google Drive. The default /view?usp=sharingURL opens Drive's viewer, not the raw PDF. To get a direct-download URL that forces the download, rewrite it as https://drive.google.com/uc?export=download&id=<file-id>. The file ID is the long string between /d/ and /view in the share URL. This works for files under 100 MB; larger files show an interstitial confirmation page.

Dropbox. The default share URL ends in ?dl=0 and opens the Dropbox viewer. Change the query string to ?dl=1 and the same URL is a direct download that skips the viewer entirely. To keep the file inline but bypass the viewer, swap the hostname from www.dropbox.com to dl.dropboxusercontent.com — the browser then loads the raw PDF and opens it in the built-in viewer.

OneDrive. Append &download=1to the share URL to force a download. There isn't a clean documented pattern for inline; the viewer is the default and mostly the only option.

Self-hosted (Netlify, S3, GitHub Pages). You control the headers directly. Serve with Content-Disposition: inline to preview in the browser and Content-Disposition: attachment; filename="guide.pdf" to force a download with a specific filename. On Netlify, this goes in a _headersfile; on S3, it's an object metadata setting; on GitHub Pages, the default is inline and can't be changed.

07 — Ranked comparison

Every PDF hosting path, ranked.

Sorted by how well each option works for a public, permanent link to a single PDF. If your priority is different — expiring links, private sharing, or heavy traffic — the ranking shifts; the notes call out where.

RankHostFree tierCustom domainDirect URLBest for
01Netlify / Cloudflare PagesYes, generousYes, freeYes, full controlA permanent link on your own domain.
02Amazon S3 + CloudFront~free at low scaleYesYes, full controlHigh-traffic or embedded PDFs.
03Google Drive15 GBNoYes, via uc?export=downloadFast, casual sharing.
04Dropbox2 GBNoYes, via ?dl=1Predictable URLs, easy inline/download toggle.
05GitHub PagesFree, unlimitedYes, freeYes, inline onlyPublic PDFs from a developer workflow.
06Box10 GBPaid tiersPartialEnterprise sharing with audit trails.
07OneDrive5 GBNoVia &download=1Microsoft-shop teams.
08file.io / tmpfiles.orgFreeNoYesOne-time transfers that expire on their own.

"Direct URL" means the host exposes a way to get the raw PDF bytes at a stable URL — a prerequisite for embedding, QR codes, and analytics.

08 — FAQ

Questions people actually ask.

01 —

How do I create a link for a PDF?

Upload the PDF to a service that gives every file a public URL — Google Drive, Dropbox, OneDrive, Box, an S3 bucket, or a static site host like Netlify or GitHub Pages. Set the sharing permission to "anyone with the link," then copy the URL the service hands you back. That URL is your PDF link. It works in email, chat, social posts, QR codes, and buttons on your own website. The fastest free path is Google Drive: right-click the file, choose Share, switch access to "Anyone with the link," copy the URL, and paste it wherever you need.

02 —

What is the difference between a PDF link and a PDF file?

The file is the bytes of the document sitting on a disk somewhere. The link is a URL that points at those bytes. When you send a friend a PDF as an attachment, they get a copy of the file. When you send a link, they get a pointer to the same file — which means you can update the file later and the link keeps working, and you never have to worry about mailbox size limits or corporate attachment filters. Links are also required whenever a PDF has to live inside a QR code, a chat message, a tweet, or a button on your site.

03 —

Can I turn a PDF into a link for free?

Yes. Every major cloud storage service has a free tier that generates public URLs — Google Drive gives you 15 GB, Dropbox gives you 2 GB, OneDrive gives you 5 GB, and Box gives you 10 GB. Static hosts like Netlify and GitHub Pages are also free for public files and let you use a custom domain. There is no need to pay for a dedicated "PDF to link" service; those tools are usually thin wrappers over the same storage APIs and add tracking or ads on top.

04 —

Do PDF links expire?

It depends on the host. Google Drive, Dropbox, OneDrive, and Box links stay live as long as the file is there and sharing is enabled. Some "temporary upload" sites — file.io, WeTransfer, tmpfiles — expire after a set number of days or downloads by design. If you need a permanent URL, use cloud storage or self-hosting; if you need the link to disappear on its own, choose a temporary host and note the expiry.

05 —

How do I make a PDF link open in the browser instead of downloading?

That behavior is controlled by the Content-Disposition header the host sends. Google Drive's viewer URL always opens in the browser preview. Dropbox opens in its own web viewer unless you replace the dl=0 in the URL with dl=1, which forces a download. On self-hosted setups, set Content-Disposition to "inline" to preview in the browser and "attachment" to force a download. The section above on inline vs download URLs walks through the exact patterns for each host.

06 —

Can I use a custom domain for my PDF link?

Yes, but not through consumer cloud storage — Google Drive and Dropbox URLs are fixed to their own domains. To serve a PDF from yourdomain.com/guide.pdf, host the file on Netlify, Cloudflare Pages, GitHub Pages, Vercel, or your own S3 bucket with a CloudFront distribution. All of these accept a custom domain, cost nothing for a single PDF, and let you swap the file underneath without changing the URL.

07 —

Is a PDF link secure? Can anyone with the URL open it?

By default, yes — a public link means anyone who has it can open the file. If the PDF contains anything sensitive, either password-protect the PDF itself, use a host that supports access controls (Google Drive with specific-people sharing, Box with viewer restrictions, or a private S3 bucket with signed URLs), or don't put it on the public web. Treat a public PDF URL the same way you'd treat a public webpage: assume it will be found.

08 —

Do I need special software to turn a PDF into a link?

No. Any web browser and a free storage account is enough. If you also need to make the PDF in the first place — from a webpage, an article, an email thread, or a set of images — a browser-based converter handles that end-to-end without installing desktop software. The rest is just uploading and copying a URL.

First, get the PDF

Don't have a PDF yet? Make one from anything.

Convert Anything to PDF turns webpages, articles, emails, screenshots, and image files into a real PDF right in your browser. Then upload it and grab the link.

Install Convert Anything to PDF — free →