Quick answer: a QR code can’t hold a whole PDF, so upload the file somewhere public first – your website, Google Drive or Dropbox set to “anyone with the link” – then paste that link here. Before uploading, compress the PDF so it opens quickly on mobile data. Scan the finished code to check the PDF opens without a login.
Why the PDF has to live online
The biggest QR code holds under 3 KB – a single page of text. Even a small PDF is 100 KB or more. So every “PDF QR code” is really a link to a PDF. The good news: if you host the file yourself, you can replace the PDF later at the same address and the printed code shows the new version.
Where to host the file
| Option | Link looks like | Watch out for |
|---|---|---|
| Your own website | yoursite.com/menu.pdf | Best option – you control it and can update the file. |
| Google Drive | drive.google.com/file/d/… | Set sharing to “Anyone with the link – Viewer”. |
| Dropbox | dropbox.com/…?dl=0 | Change dl=0 to raw=1 to open the PDF directly. |
| OneDrive | 1drv.ms/… | Use “Anyone” link settings, not “People in your organisation”. |
Make the PDF phone-friendly first
- Compress it – under 2–3 MB opens fast on mobile data.
- Delete pages nobody needs with Delete PDF Pages.
- Use portrait pages and text of at least 10 pt; people read on a 6-inch screen.
- Remove hidden metadata before publishing internal documents.
Got several files to share? Merge them into one PDF first so one code opens one document. Scanned pages or photos can become a PDF with JPG to PDF before you upload them.
How to make a QR code for a PDF
- Prepare the PDF. Compress it and remove pages that are not needed, so it loads quickly on phones.
- Upload and copy a public link. Your website, Google Drive, Dropbox or OneDrive with “anyone with the link can view”.
- Paste the link here. Drive and Dropbox links are tidied automatically; you’ll see a note when that happens.
- Test without logging in. Press “Open PDF” in a private window or scan from another phone – it must open without a sign-in.
Link fixes this generator does for you
- Dropbox: links ending in
dl=0show a Dropbox preview page. The generator switches them toraw=1, which opens the PDF itself in the phone’s viewer. - Google Drive:
open?id=and bare/file/d/IDlinks are turned into the standard/viewaddress that opens Drive’s PDF viewer on any phone. - Other links: if a link doesn’t end in .pdf and isn’t a known cloud drive, you get a reminder to check it opens the file, not a login page.
Keep one address, update the file
The smartest setup is a fixed address on your own site, such as yoursite.com/brochure.pdf. When the brochure changes, upload the new PDF with the same name and every printed code shows the new version. Cloud drives usually give a new link per file, so with Drive use “Manage versions” to replace the file in place.
Make the PDF readable on a phone
A4 pages are shrunk to a 6-inch screen, so tiny print becomes unreadable. Use 11 pt text or larger, one column, and pages in portrait. Then run it through Compress PDF – a 20 MB brochure can often become 2 MB without visible loss, which is the difference between opening instantly and people giving up.
Frequently asked questions
Can a QR code contain the PDF itself?
No. A QR code holds at most about 3 KB, so it stores a link to the PDF, which must be online.
Can I change the PDF after printing the code?
Yes, if you replace the file at the same address – for example on your own website. Cloud drives usually create a new link for a new file.
Why does my PDF ask people to sign in?
The sharing setting is private. Change it to “Anyone with the link can view”.
Does the PDF download or open?
Most phones open PDFs in the browser’s built-in viewer, with an option to download.
Is my PDF uploaded to CleanPDF?
No. This page never receives your file – you host it wherever you choose.
How big should the PDF be?
Ideally under 3 MB. Larger files load slowly on mobile data; compress them first.
Why did my Dropbox link change?
Links ending in dl=0 open a Dropbox page instead of the PDF. The generator changes it to raw=1 so the PDF opens directly.
Can I update the PDF without changing the QR code?
Yes – replace the file at the same address on your website, or use “Manage versions” in Google Drive.
Which cloud service is best for PDF QR codes?
Your own website is best because you control the address forever. Google Drive is the easiest cloud option; set sharing to “Anyone with the link – Viewer”.