How-To 2026-02-25 4 min By Cornelious Fazal

QR Code for a PDF: How to Link to a PDF Document and Share It With a QR Code

Quick Answer

QR codes don't store PDFs - they store a link to where your PDF is hosted online. This guide walks through uploading your PDF to Google Drive, getting a.

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)

  1. Go to drive.google.com and log in to your Google account.
  2. Click New → File upload and select your PDF from your computer.
  3. Once uploaded, right-click the PDF in Drive. Select Share.
  4. Under "General access," change from "Restricted" to "Anyone with the link". Set the role to "Viewer" (they can view/download, not edit).
  5. 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

PlatformMax Free StorageLink StabilityBest For
Google Drive15 GBPermanent (while in Drive)General use, most common
Dropbox2 GBPermanent (while file exists)Team sharing
OneDrive5 GBPermanentMicrosoft 365 users
Your own websiteDepends on hosting planYour controlProfessional brochures
Adobe Acrobat online2 GBPermanentAdobe workflow users

Step 2: Generate the QR Code

  1. Copy the PDF share link from Google Drive (or your chosen host).
  2. Open our Free QR Code Generator.
  3. Select URL. Paste the share link.
  4. 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.

Frequently Asked Questions

If you delete the PDF from Google Drive or move it to a different location that changes its file ID, the QR code's link will break - scanners will see an error page or a "file not found" message from Google Drive. To safely update the linked PDF without breaking the QR code: (1) upload the new version of the PDF to Drive; (2) delete the old file only after replacing the share link in any materials - or better, keep the original PDF's file ID by updating the file in place (right-click → Manage versions in Drive) rather than uploading a new file. Keeping the original file in place and replacing its content preserves the original share URL.