Where your PDF lives decides how long the code works
Every PDF QR code, ours or anyone's, holds a link. The largest QR code stores 2,953 bytes, and even a one-page menu PDF is many times that. So the real question is who controls the link.
Most "PDF QR code" sites upload your file to their servers and give you a dynamic code that runs through their redirect. When the trial ends or you cancel, the code stops opening your PDF, usually after the flyers are printed. Do QR codes expire? shows how that happens. Host the file yourself and the code points straight at it; there's no plan to lapse.
Google Drive covers the usual reason people want an editable PDF code, an updated menu or price list, without one. Counting scans, or sending a printed code to a different file entirely, takes a dynamic code, which we don't make yet.
A Drive link, measured
A Google Drive share link looks like this (the file ID is made up, but the length is real):
https://drive.google.com/file/d/1AbCdEfGhIjKlMnOpQrStUvWxYz012345/view?usp=sharing
That's 82 characters, a version 5 code, 37 squares across. We tried trimming ?usp=sharing off the end: the code stayed at version 5, so it isn't worth the bother. A PDF on your own site, like https://example.com/menu.pdf, makes a version 3 code, 29 squares across. On a table read from 40 cm, our size calculator puts the Drive code at 5.9 cm minimum and the short one at 4.6 cm.
Picking a host
| Service | How to get a public link | Replace the file, keep the link? |
|---|---|---|
| Google Drive | Share → General access → Anyone with the link → Copy link | Yes: Manage versions → Upload new version |
| Dropbox | Share → Copy link | Often, if you overwrite the file in place; test it |
| OneDrive | Share → Anyone with the link → Copy | Sometimes, if you overwrite the same file; test it |
| Your own website | Upload the PDF and copy its address | Yes, with the same file name and path |
Use Google Drive. Its Manage versions option uploads a new copy over the old one while the link stays the same, so a printed restaurant menu code shows next month's menu. It only works from Drive in a web browser.
Work and school accounts sometimes block "anyone with the link" sharing. If the option is greyed out, use a personal account or ask your IT team.
Anyone who scans the code, or is sent the link, can open the PDF. Keep anything confidential out of it. The file never passes through our servers; the code is made in your browser.
Make the PDF readable on a phone
People open it on a small screen, often on mobile data. Compress big photos before exporting, because a few megabytes opens quickly and 50 MB doesn't. A portrait page with large text reads better than a wide spread, and the information people scanned for belongs on page one.
Under the printed code, say what's behind it: "Scan for the menu (PDF)". For a restaurant table, QR codes for restaurant menus covers placement and size.