How to Make a QR Code for a PDF (Free, No Expiry) — 2026 Guide
Want a QR code that opens a PDF — a menu, manual, brochure, or resume — when someone scans it? Here is how to do it for free, and the one mistake that makes most PDF QR codes stop working.
A QR code can't store a whole PDF inside the little black-and-white squares — a PDF is far too large. What a PDF QR code actually does is store a link to a PDF that lives online. Scan the code, the phone opens the link, and the document loads. That's the whole trick — and once you understand it, you can make one for free in a couple of minutes and avoid the subscription trap that catches most people.
QR codes are everywhere in 2026 — global scans now top 2 billion per day, and the QR market is forecast to grow from about $13 billion in 2025 to over $33 billion by 2030. Linking a printed page to a digital document is one of the most common reasons people reach for one. This guide shows the free way to do it and the pitfalls to avoid.
What a PDF QR Code Really Is
Because a QR code only holds a small amount of data (see our guide to how QR codes store data), it can't carry a multi-megabyte file. Instead it encodes a URL — the web address where your PDF is hosted. This is exactly the same as making a QR code for a link; the only extra step is getting your PDF a public link first.
So the real task breaks into two parts: (1) put your PDF online so it has a shareable URL, and (2) turn that URL into a QR code.
How to Make a QR Code for a PDF — Step by Step
- Upload your PDF to get a public link. Use any free cloud storage — Google Drive, Dropbox, OneDrive, or your own website. In Google Drive, upload the file, right-click it, choose Share, set access to "Anyone with the link," and copy the link. This is the most common point of failure: if the link is private, scanners get an access-denied page.
- Test the link in an incognito window. Paste it into a private/incognito browser tab where you're not logged in. If the PDF opens, it's truly public. If it asks you to sign in or request access, fix the sharing permission before going further.
- Convert the link into a QR code. Paste the URL into a generator such as our free QR Code Generator. It encodes the link instantly and lets you download a PNG — no account, no upload of your file, everything runs in your browser.
- Download, test, then print. Save the PNG, scan it with your phone to confirm the PDF opens, and only then place it on your flyer, menu, or packaging. Always test the final printed version too — ink bleed and small sizes can hurt scannability.
If your PDF link is long or messy (Google Drive links often are), running it through a URL encoder first keeps special characters from breaking the code, and a shorter link produces a simpler, faster-scanning QR (more on that in our QR code size guide).
The Big Decision: Static vs Dynamic
This is where most "free PDF QR code" tools quietly cost you. There are two kinds of PDF QR codes, and the difference decides whether yours keeps working.
| Static QR code | Dynamic QR code | |
|---|---|---|
| What it encodes | Your PDF link directly | A short redirect URL owned by a service |
| Can you edit the PDF later? | No — make a new code | Yes — swap the file, code stays the same |
| Does it expire? | Never — works as long as the link is live | Can expire if the subscription lapses or scan limit is hit |
| Cost | Free, permanent | Often free to create, then paid to keep alive |
| Scan tracking | No (use a UTM link) | Built-in analytics |
The honest takeaway: a static QR code pointed at a stable PDF link is free and never expires. Many popular "free PDF to QR" sites actually generate a dynamic code on a free trial — and when the trial ends, the scan limit is reached, or the platform shuts the redirect, your printed code goes dead. That's a disaster if it's already on 5,000 brochures. For a full breakdown, see static vs dynamic QR codes.
When to Use Each
- Use a static code for documents that won't change — a fixed menu, a one-page resume, an event schedule, a product manual, a warranty card. Host the PDF on a stable link and the code lasts forever, free.
- Use a dynamic code only when you genuinely need to swap the PDF later without reprinting (a weekly menu, a price list, a versioned spec sheet) or you need scan analytics. If you go this route, pick a provider with a permanent free tier or budget for the subscription before you print.
Want tracking without paying for a dynamic code? Build a free UTM link to your PDF and read the scans in Google Analytics — a static code plus a UTM link gives you analytics with no expiry risk.
Where to Host Your PDF for Free
| Host | Best for | Watch out for |
|---|---|---|
| Google Drive | Quick, free, familiar | Must set "Anyone with the link"; opens in Drive viewer |
| Dropbox / OneDrive | Reliable links | Append a direct-download flag if you want the file, not a preview page |
| Your own website | Cleanest, most professional URL | Don't move or rename the file later — the link must stay identical |
Whichever you choose, the golden rule is: once a static code is printed, never change or delete the file's URL. The QR code points at that exact address forever.
A Safety Note for Scanners
Because a PDF QR code is really a link, the same caution applies as with any QR code: only scan codes from sources you trust, and preview the destination before opening. Attackers sometimes disguise malicious links as "scan to view the PDF." A scanner that shows you the URL before opening it — like Scan & Generate — lets you check the address first. See how to spot fake QR codes for the full rundown.
Frequently Asked Questions
Can a QR code contain the actual PDF file?
No. A QR code holds only a few thousand characters at most, far too little for a PDF. It stores a link to a PDF hosted online, and scanning opens that link.
Do PDF QR codes expire?
A static QR code does not expire — it works as long as the PDF's link stays live. A dynamic QR code can expire if the service's free trial ends, a scan limit is reached, or the subscription lapses. For permanent printed material, a static code is the safer free choice.
Is it really free to make a QR code for a PDF?
Yes. Hosting a PDF on Google Drive or your website is free, and generating a static QR code from that link is free and permanent with a tool like our QR Code Generator. The hidden costs come from dynamic-code services, not from QR codes themselves.
Can I update the PDF after printing the code?
With a static code, not without making a new code — unless you keep the same URL and replace the file at that address (possible on your own website). With a dynamic code, yes: you can point the same code at a new file from the provider's dashboard.
Why does my PDF QR code say "access denied"?
The PDF's sharing setting is private. Change it to "Anyone with the link" (or make the file public on your host) and test the URL in an incognito window before generating the code.
What size should I print a PDF QR code?
At least 2 x 2 cm (about 0.8 inch) for close scanning, larger for posters viewed from a distance. See our QR code size guide for the scan-distance rule of thumb.
Make Your PDF QR Code the Smart Way
Host the PDF, get a public link, generate a static code, and test before you print — that's a free QR code that opens your document and never expires. When you want branded colours, a logo, or to scan and preview any code safely on your phone, Scan & Generate does both generating and scanning in one app.