Why we don’t host your PDF
This generator makes codes in your browser and doesn’t store anything, including files. That’s on purpose. Some services that host your PDF for you delete it when a plan ends, and the code dies with the file.
When the file lives in your own account, you decide how long it stays. The code itself never expires. It holds your link, and it works for as long as that link does.
Option 1: Google Drive
On a computer:
- Upload the PDF to Google Drive.
- Select the file and click Share.
- Under General access, click the down arrow and choose Anyone with the link.
- Keep the role as Viewer, click Copy link, then click Done.
- Paste the link into the generator above.
On an Android phone, tap More next to the file, then Manage access. Under General access, tap Change and choose Anyone with the link.
If the file stays on Restricted, people who scan the code hit a “request access” page. With Anyone with the link, Google says people can open it without signing in. Work and school accounts may not allow this setting, because an administrator can block sharing outside the organization.
To update the PDF later, don’t delete it and upload a fresh copy. A new upload is a new file with a new link. Instead, on a computer, click the file, then More, File information, Manage versions, and Upload new version. You’re updating the same file, so the link doesn’t need to change. Scan your code afterward to confirm it opens the new version.
Option 2: Dropbox
On dropbox.com:
- Log in at dropbox.com and upload the PDF.
- Hover over the file and click Share.
- Click Copy link.
- To make sure it’s view-only, click Manage, choose Link for viewing, and click Copy link again.
Dropbox says people without a Dropbox account can preview a view-only link.
Two things to know before printing a Dropbox link:
- Busy links can be paused. Dropbox may temporarily disable a link that’s shared or downloaded too many times in 24 hours, and free accounts have lower daily limits. For a code on a busy poster or menu, your own website is a safer host.
- Links follow a specific file. If you delete the file and upload a new one, the new file gets a new link. After any change, scan your code to check it.
Option 3: Your own website
This is the most stable choice if you have a site. Upload the PDF to your site’s file or media library and copy its address.
Even better, link the code to a page, like yoursite.com/price-list, and put the PDF on that page. When you have a new version, swap the file on the page. The printed code never changes.
If you link straight to the file, watch out for one thing: some website builders give a re-uploaded file a new address, like price-list-1.pdf. Check the address after every upload.
Make the PDF easy to read on a phone
Nearly everyone will open your PDF on a phone. Help them:
- Keep the file small. Compress large photos so it loads quickly on mobile data.
- Use large type and a single column. Phones don’t handle wide, multi-column pages well.
- Put the most important information on page 1.
- For menus and schedules, consider a simple web page instead. It fits any screen. See our restaurant menu guide.
A long sharing link also makes a denser code. A typical Google Drive link has about 80 characters. In our generator that makes a code 37 squares across, compared with 25 for a short address like yoursite.com/menu. Print it a little bigger. The size guide shows how much.
What can break the code later
- The file is deleted, moved to another account, or replaced with a new upload.
- Sharing is switched back to restricted.
- The account that owns the file is closed, for example a work account when someone leaves the job.
- A website redesign changes the file’s address.
To someone scanning, any of these looks like a broken code. Scan your printed codes every so often, especially after you touch the file.
When a dynamic code helps
If you replace the PDF with a new file every season, like a price list, a class schedule or a menu, and you can’t keep the same link, a static code means reprinting each time. A dynamic code lets the printed code follow the new file. If you have a website, the free option is a page that always holds the latest PDF. Our static vs dynamic guide compares the two.
Keep private files private
Anyone who scans the code, or sees a photo of it, can open the file. Never put IDs, account details or other personal records behind a public code. “Anyone with the link” really does mean anyone.
Before you print
- Open the link in a private browser window, signed out, to see what a stranger sees.
- Check that the PDF opens on an iPhone and an Android phone.
- Make sure the file is final and stored where it will stay.
- Size the code for the distance, a little bigger for long links.
- If the file is on your own site, print its short address next to the code as a backup.
Questions
Can I upload my PDF to this site?
No. We don't host files. You share the PDF from a service you control, and the code holds that link, so it keeps working as long as the file stays shared at that address.
Do people need a Google account to open a PDF from Google Drive?
Not if General access is set to 'Anyone with the link'. Google says people can then open it without signing in. If it's set to 'Restricted', they'll be asked to request access.
Can I update the PDF without changing the QR code?
Yes, as long as the link stays the same. Replace the file at the same address on your website, or use Google Drive's Manage versions option. Then scan the code to confirm it opens the new file.
Can I use a QR code to share a private document?
It's not a good idea. Anyone who scans the code, or sees a photo of it, can open the file. Only link documents you'd be comfortable posting publicly.
Related guides
- QR code for restaurant menusPaste the link to your menu and download a print-ready file for table tents, counter cards or window signs. The code never expires, and you don't need an account.
- Static vs dynamic QR codesA static code holds your link itself. A dynamic code holds a short link that a company forwards to your page. That one difference decides what happens after you print.
- QR code size guideA QR code has to be big enough for the distance people scan it from. Use the table below as a starting point, then test a real print with two phones.
- QR codes for eventsMake one code for each thing people need: signing up, finding their way, checking the schedule or leaving feedback. Codes are free, never expire and need no account.
Sources
Updated November 30, 2026