Generator · PDF QR code
PDF QR code generator
A QR code cannot hold a PDF, but it can hold the link to one. Host the file somewhere stable, paste the address here, and the code will open it on any phone.
- Free
- No sign-up
- No expiry
- Commercial use
A QR code cannot store a PDF file — a QR code holds at most 2,953 bytes, while a one-page PDF is typically 50,000 or more. What a PDF QR code stores is the link to a hosted file. Upload the PDF to your website or a cloud drive, then encode that public URL.
Where to put the file so the link survives
The code is only as permanent as the address behind it. Ranked by how long the link tends to last:
| Location | Link stability | Watch out for |
|---|---|---|
| Your own domain | Best | Keep the path stable through site redesigns |
| Google Drive | Good | Set sharing to Anyone with the link, or scanners hit a login wall |
| Dropbox | Good | Change ?dl=0 to ?raw=1 to open rather than download |
| OneDrive / SharePoint | Mixed | Corporate tenants often block anonymous access |
| A free file host | Poor | Files are deleted after a period of inactivity |
Whatever you choose, test the link in a private browsing window on mobile data. That reproduces what a stranger's phone sees — no cookies, no session, no company VPN.
When a web page is the right answer instead
PDFs are fixed-width documents designed for paper. Phones are not paper. If your PDF is a menu, a price list, a brochure or an event programme, a simple mobile web page will outperform it every time: no download, no pinch-zoom, no PDF viewer that opens in a random app.
If instead you are producing a document and need a code inside the PDF itself, that is a different job.
Keep the PDF when the document genuinely needs to be a document — a warranty, a technical datasheet, a form to print and sign, a certificate, an instruction manual people will save. Otherwise, build a page and link to that.
Three checks before the code goes to print
- Size. Under 5 MB. A 40 MB brochure over a weak mobile signal is a scan that gets abandoned halfway.
- Metadata. PDF properties carry the author name, the software used and sometimes the original file path. Clear them before publishing.
- Direct link. The URL should open the file itself, not a preview page with a download button behind another click.
Frequently asked
Can a QR code contain the actual PDF file?
How do I make a QR code for a PDF on Google Drive?
Will the code break if I replace the PDF?
Can people scan it without internet?
Last reviewed 24 August 2026 · Checked by the QR Code Builder team