QR Code for a PDF
Let people open your menu, brochure or manual with a quick scan.
Make my PDF QR code →A QR code can't hold a whole PDF — the file is far too big. The trick the pros use is simple: host the PDF online, then make a QR code for its link. When someone scans the code, the PDF opens right up. Here's how.
How to create a QR code for a PDF
- Host the PDF somewhere with a public link — Google Drive, Dropbox, OneDrive, or your own website.
- Set sharing to "anyone with the link" and copy the link.
- Paste the link into QRaft's Link generator.
- Download your QR code as PNG, SVG or 4K — all free — and print or share it.
Perfect for
- Restaurant menus — scan to view the full PDF menu.
- Brochures & catalogues — link printed ads to the full document.
- Product manuals — put a code on packaging that opens the guide.
- Event programs, price lists & reports — share long documents without printing them.
Tip: keep the link stable
If you might update the document, host it at a link you control and replace the file in place. The QR code keeps working and always opens the latest version — no reprinting required.
A QR code cannot contain the PDF itself
This is the misunderstanding behind most searches for this. A QR code is not a container — it stores text, and only about 3 KB of it at absolute maximum. A one-page PDF is typically a hundred times that. There is no setting, no site and no trick that puts a document inside the square.
What a PDF QR code actually holds is a link to a PDF you have put online. The code is small and simple; the file lives somewhere with a URL. Everything below is about getting that URL right, because that is where these go wrong.
Where to host the PDF
- Your own site — best option if you have one. Upload the file, use the direct URL. It will not expire and nobody else controls it.
- Google Drive — works, with one trap covered below. Free and quick.
- Dropbox or OneDrive — fine, but check the link opens the file rather than a sign-in page when you are logged out.
- Avoid free file-sharing sites with expiring links. A printed code outlives them, and a dead menu QR on a table is worse than no QR at all.
The sharing-permission trap
A Drive or Dropbox file is private by default. The link works perfectly for you, because you are signed in, and shows a permission wall to everyone else. This is the single most common reason a printed PDF code stops working once it has gone out.
In Google Drive: open the file → Share → General access → Anyone with the link, set to Viewer. Then test the finished code in a private browsing window, or on a phone signed out of your account. Never test only on the device you uploaded from.
Keep the file small
- People scan these on mobile data, often on a bad connection in a restaurant or a waiting room.
- A 20 MB scanned brochure is a page nobody waits for. Aim under 2 MB where you can.
- Export at screen resolution rather than print resolution if the PDF is only ever going to be read on a phone.
- If you need to hit a specific size limit, this guide on compressing to an exact KB covers the same ground.
PDF QR code FAQ
Can I put the PDF itself inside the QR code?
No. A QR code stores text and holds about 3 KB at most, while a one-page PDF is typically a hundred times larger. A PDF QR code always holds a link to a PDF hosted online, not the document.
Why does my PDF QR code work for me but not for anyone else?
The file is still private. Google Drive, Dropbox and OneDrive default to private, so the link works while you are signed in and shows a permission wall to everybody else. Set sharing to anyone with the link, then test in a private browsing window.
Can a QR code hold an entire PDF?
Not practically — QR codes store only a little data. Instead the code stores a link to your PDF hosted online, and scanning opens the file.
Where should I host my PDF?
Anywhere that gives a public link: Google Drive, Dropbox, OneDrive, or your own site. Set sharing to "anyone with the link".
Can I update the PDF later?
Yes — if you replace the file at the same URL, the existing QR code keeps working with the new file.
Is it free?
Yes. Generating the code is free and you can download a high-resolution PNG at no cost.
Working with the PDF itself rather than linking to it? We also make Scanfox — an Android scanner and PDF toolkit that compresses any photo or PDF to an exact KB, for the upload limits on exam and job forms.