How to Create a QR Code for a PDF (and Update It Later)
To create a QR code for a PDF, you do two jobs, because a QR code can't hold the file; it holds a link to it:
- Put the PDF online, so it has a web address.
- Turn that address into a QR code (Chrome and Edge have a built-in "Create QR code"; any static generator works too).
The rest of this post covers what bites later, once the code is on a few hundred menus or flyers: which address to use, why some codes stop working, and how to change the PDF without reprinting.
Can you make a QR code for a PDF? Yes, but it holds a link
A QR code stores text, and for a PDF that text is a URL: scan it, the phone opens the URL, and the PDF loads. The largest QR code (Version 40, 177 x 177 modules) holds 2,953 bytes, according to Denso Wave, which released the format in 1994. A typical one-page PDF, with fonts or images, is tens of kilobytes, so the file lives somewhere else.
The "PDF to QR code" tools that take your upload host the file and encode their link to it. Whose link sits inside the code matters more than anything else here.
Step 1: Give the PDF a web address
All three common routes give you a working code on day one; they differ in what happens on day 300.
| Route | What opens on the phone | Swap the PDF, keep the code? | If you stop paying |
|---|---|---|---|
| Google Drive share link | Google's preview of the PDF | Yes, with Manage versions | Fine under the free 15 GB (shared with Gmail and Photos). Over quota, no new uploads, and after 2 years over quota the files may be deleted |
| PDF-to-QR generator (dynamic code) | Your PDF or the vendor's page, via their server | Yes, while the plan is active | The code can stop working (vendor table below) |
| An address you control (your site or a static host) | The PDF | Yes, upload over the same address | Down if the hosting or the domain lapses; a no-cost plan has no bill, but check its terms for free sites |
Drive row checked November 1, 2026, against Google Drive and Google One Help. Google may also delete a personal account unused for 2 years, so sign in now and then.
On Drive, set General access to Anyone with the link (Viewer); left on Restricted, every stranger who scans gets a sign-in prompt instead of your menu. The full steps are in how to get a link to your PDF, and the guide to hosting a PDF for the long haul compares where the file can live.
Step 2: Turn the link into a QR code
Chrome: open the PDF's link. On a computer, select More > Cast, save, and share > Create QR code, then Download. On Android, tap More > Share... > QR Code. Both paths are from Google's Chrome help page as of November 2026.
Edge: right-click a blank area of the page, choose Create QR code for this page and download the PNG, per Microsoft's Edge Learning Center.
If the menu item doesn't show while the PDF is open, paste the address into a static generator. A free PDF QR code generator with no expiration is any one that makes static codes: Adobe Express says its free codes "never expire", for URLs only, with PNG, JPEG or PDF downloads.
Whatever the tool, scan the result and check the address your phone shows: your URL means a static code, the generator's short link means a dynamic one.
Why some PDF QR codes stop working
A PDF QR code stops working when the link inside it breaks: a vendor's redirect after the plan ends, or your own URL after the file is moved or deleted. The two kinds of code, static and dynamic, look identical.
A static code holds your URL in the pattern itself; it works for as long as that address does.
A dynamic code holds the vendor's redirect link. In Uniqode's words, a scan "pings that platform's server, which then forwards the user to your intended URL". The redirect lets you edit the destination and count scans, for as long as the vendor runs it. What four vendors' own help pages say happens when a paid plan ends:
| Vendor | When the paid plan ends |
|---|---|
| Scanova | Dynamic codes stop working; they stay saved for 26 months and return if you resubscribe |
| QR TIGER | "All dynamic QR codes will become invalid" |
| Hovercode | Your first 3 dynamic codes stay active; the rest, and custom-domain codes, stop until you resubscribe |
| Uniqode | The redirect is deactivated "and every scan returns an error"; renewing restores the codes |
Checked November 1, 2026. Uniqode adds that free dynamic codes "almost always impose a trial period or scan limit", a poor fit for anything printed.
Update the PDF without reprinting the code
Replace the file at the same address and the printed code keeps working. That's the job people buy dynamic codes for, and it doesn't need one.
- Google Drive: click the file, then More > File information > Manage versions > Upload new version. That replaces the same file's contents, so its link, and every printed code, carry on; a separate upload gets its own link, and the tables keep last month's menu.
- Your own site or a static host: upload the new version over the old one, at the same address.
On a site or host, the trap is the filename. Rename the file behind an emailed link and you send a new link; rename /menu-fall-2026.pdf behind a code on 200 tables and every printed copy is dead. Upload every new menu under the same name. OneDrive, Dropbox and the rest are in updating a PDF without breaking its link.
Print and test checklist
A shorter address makes a simpler code. We generated codes for a long and a short address with the open-source segno library at error correction level M: a typical Drive share link of 82 to 85 characters came out at 37 x 37 or 41 x 41 modules, a 30-character site address at 29 x 29. Counting the quiet zone, each square of the short-link code prints roughly a fifth to a third wider at the same printed size, and bigger squares are what a phone camera needs in dim light or at a distance. Other generators' counts may differ.
- Size: Uniqode and Adobe both give 2 x 2 cm (about 0.8 in) as the minimum for close-range scans. Scale up for posters, from a vector file (SVG or PDF).
- Quiet zone: Denso Wave's spec calls for a blank margin four modules wide on every side.
- Contrast: dark code on a light background, and keep any logo small.
- Test like a stranger: scan with an iPhone and an Android phone, on mobile data, from a phone that isn't signed in to your account.
- Add a fallback: a label ("Scan for the menu") and the short address printed underneath.
QR code for a restaurant menu PDF
Restaurant menus are the classic case: they change often and get opened on phone data. For a menu QR code, that means a small PDF at an address that doesn't move. A photo-heavy menu of several megabytes loads slowly on one bar of signal; exporting with compressed images usually fixes it.
Also check your host's monthly bandwidth, which divides into rough opens per month: a 2 MB menu on a 5 GB allowance is about 2,500 opens.
The Hostsmith route: a PDF address you control
On Hostsmith, the address on the menu is the site's address, and the PDF behind it is whatever you last uploaded. Drop the PDF on the homepage, sign in to publish, and you get an address like your-site.us.hostsmith.link, which opens the PDF full-page in a PDF viewer (the raw file is at /your-file.pdf). Make the QR code for the PDF from the site address; Hostsmith doesn't make the image itself.
When the menu changes, upload the new PDF to the same site from the dashboard. The upload replaces all of the site's files, so encode the site address rather than a file path.
As of November 2026:
- The Free plan is one site with 5 MB of storage (also the largest file you can upload), 5 GB of bandwidth a month and Hostsmith branding. A bigger menu needs compressing, or Starter ($5 a month billed yearly, $9 monthly) with 50 MB.
- Your own domain, such as
menu.yourrestaurant.com, starts on Pro ($15 a month billed yearly, $21 monthly); see the pricing section. Keep the domain on auto-renew: once it lapses, so does every printed code. - Private Sites (a password or an email whitelist, from Starter up) suits a staff handout; on a public menu, every diner would meet a prompt. See password protecting a website.
- There are no scan analytics, and the address works for as long as the site is up.
Frequently asked questions
Can I create a link for a PDF? Yes. Upload it to cloud storage, a PDF host or your own site and copy the address; how to make a PDF a link has the steps.
Is Google's QR code generator free? Chrome's built-in one costs nothing and needs no account. It encodes the page's address itself; scan it and your phone shows that address.
Can I make my own QR code for free? Yes. A static code costs nothing to make in Chrome, Edge or a static generator; the running cost is wherever the PDF lives.
Can I put a PDF directly in a QR code? No. The largest QR code holds under 3 KB: room for a link, not the PDF.
Do QR codes expire? A static code doesn't; it works as long as the address inside it does. A dynamic code depends on the vendor's plan.
What still works on day 300
Every few years a new layer gets added to pointing at a file, and the layers tend to be what breaks. By day 300 the trial has ended and the menu has changed twice, and today's printed code should still open the current one. The setup we'd print: an address you control, a static code made from it, and each new PDF uploaded over the old one.
Have the PDF ready? Drop it at hostsmith.net and make the code from the address you get.