Can a QR Code Contain a PDF File?
No - a QR code stores text data (up to about 3,000 characters). A typical PDF file is thousands of times larger than that. A QR code cannot contain the PDF itself. Instead, it contains a URL that links to a location where the PDF is hosted online. When scanned, the phone opens that URL, which downloads or displays the PDF.
Think of it as a QR code pointing to an online filing cabinet where your PDF lives, rather than the QR code being the filing cabinet itself.
Step 1: Host Your PDF Online
The most accessible free option for hosting is Google Drive. No account upgrade required, no file size limits for typical brochures and documents, and links are permanent as long as the file remains in Drive.
Uploading to Google Drive (free)
- Go to drive.google.com and log in to your Google account.
- Click New → File upload and select your PDF from your computer.
- Once uploaded, right-click the PDF in Drive. Select Share.
- Under "General access," change from "Restricted" to "Anyone with the link". Set the role to "Viewer" (they can view/download, not edit).
- Click Copy link. This is the URL you will encode in your QR code.
The Google Drive share link looks like: https://drive.google.com/file/d/FILEID/view?usp=sharing
When someone scans the QR code and follows this link, Google Drive opens the PDF in a browser viewer. A "Download" button is available in the viewer for those who want to save it.
Alternative PDF Hosting Options
| Platform | Max Free Storage | Link Stability | Best For |
|---|---|---|---|
| Google Drive | 15 GB | Permanent (while in Drive) | General use, most common |
| Dropbox | 2 GB | Permanent (while file exists) | Team sharing |
| OneDrive | 5 GB | Permanent | Microsoft 365 users |
| Your own website | Depends on hosting plan | Your control | Professional brochures |
| Adobe Acrobat online | 2 GB | Permanent | Adobe workflow users |
Step 2: Generate the QR Code
- Copy the PDF share link from Google Drive (or your chosen host).
- Open our Free QR Code Generator.
- Select URL. Paste the share link.
- Generate and download as SVG (for print) or PNG (for digital).
Important: Always test the QR code immediately after generating it. Scan it with your phone and confirm: (a) the PDF opens successfully; (b) the sharing settings allow viewing without a Google login prompt. If Google asks for login, go back to Drive and recheck that "Anyone with the link" is set correctly.
Use Cases for PDF QR Codes
- Product brochures and catalogues: A small QR code on a display card or shelf talker replaces the expensive printed brochure - scan to view the current version, always up to date.
- Conference and event handouts: A single A5 sheet with a QR code replaces a 20-page pack. Attendees scan to access the full materials on their phone.
- Job application materials: QR code on a CV links to a portfolio PDF, work samples PDF, or reference letter collection.
- Property particulars (estate agents): A QR code on the For Sale board links to the full property brochure PDF with floor plans, photos, and detailed specifications.
- Restaurant wine/cocktail list: QR code on the table links to the full drinks and spirits list as a PDF - easier to update seasonally than printed menus.