How to make a QR code for a PDF
Updated September 2026
You've got a PDF — a menu, a brochure, a spec sheet, a resume — and you want people to open it with one scan instead of typing a URL or hunting through email. There are two genuinely free ways to do this, and which one's right depends on whether the PDF will ever change.
Method 1: host the PDF, then make a URL QR code
This is the right approach for almost everyone. Upload the PDF somewhere with a public link — Google Drive (set sharing to "anyone with the link"), Dropbox, or your own website — copy that link, and turn it into a URL QR code. Scanning opens the PDF directly in the phone's browser or PDF viewer.
The advantage: if the PDF needs updating — a new menu, a corrected spec sheet — you replace the file at the same link and the same printed QR code keeps working. Nothing to reprint.
Method 2: encode a data URI directly (rarely worth it)
It's technically possible to encode small file contents directly into a QR code without any hosting, but PDFs are almost always too large for this to work reliably — a QR code tops out around 3KB of practical capacity before it becomes too dense to scan reliably, and most real PDFs are far bigger than that. For anything beyond a tiny single-page document, hosting the file and linking to it (Method 1) is the only approach that actually works at scan reliability.
Where to host it for free
A few genuinely free, reliable options:
- Google Drive — free, generous storage, just remember to set sharing to "anyone with the link, viewer"
- Dropbox — same idea, free tier is plenty for a document link
- Your own website, if you have one — most reliable long-term since you're not dependent on a third-party sharing setting staying correct
Making sure it actually opens on a phone
Test the link on an actual phone before printing anything — some file-sharing links show a preview/login page instead of opening the file directly, which defeats the point. The link the QR code encodes should go straight to the file, or a page with one obvious "open/download" action.
Static or dynamic
If the file link is stable (you'll always update the same Drive file rather than creating a new one), a static QR code is enough — it's free and never expires. Only use a dynamic code if you specifically want to swap which document the code points to without touching the file itself, or want scan analytics on how often the document is opened.