How to Create a QR Code for a PDF Document

Linking a PDF to a QR code is one of the most practical things you can do with the format — whether you're sharing a menu, a product manual, an event program, or a research paper. Scan the code, get the document. No typing URLs, no hunting through email attachments.

But the process isn't quite as simple as "upload and generate." There are a few meaningful decisions that affect how the QR code behaves, how durable it is, and how well it works for your specific situation.

What's Actually Happening When You Link a QR Code to a PDF

A QR code doesn't store a PDF file — it stores a URL. When someone scans the code, their device reads that URL and opens it in a browser or PDF viewer. This means the PDF has to be hosted somewhere online before you can create a QR code for it.

That hosting step is the part most guides skip over, and it's where the real decisions live.

Step 1: Host Your PDF Somewhere Accessible

Your PDF needs a stable, publicly accessible URL. Here are the most common approaches:

Cloud storage services (Google Drive, Dropbox, OneDrive) let you upload a PDF and generate a shareable link. These are fast and free, but the links can be long and the hosting is tied to your account — if the file moves or permissions change, the QR code breaks.

File hosting or document platforms like Adobe Acrobat online, Scribd, or Issuu are built specifically for document sharing and often produce cleaner viewer experiences on mobile.

Your own website or server gives you the most control. Upload the PDF to your web host, copy the direct file URL (usually ending in .pdf), and that's what you'll encode. This approach makes the QR code fully independent of any third-party service.

QR code generators with built-in hosting handle everything in one step — you upload the PDF, they host it, and they generate the code. This is the fastest path, but the file lives on their servers, which creates a dependency.

Step 2: Choose Between a Static and Dynamic QR Code 📄

This is the most important technical decision in the whole process.

FeatureStatic QR CodeDynamic QR Code
URL encodedFixed, permanentRedirects through a short URL
Can be edited later❌ No✅ Yes
Scan tracking❌ No✅ Yes (location, time, device)
Works offline (self-hosted)✅ YesDepends on redirect service
Requires ongoing subscriptionNoOften yes

Static QR codes encode the destination URL directly into the pattern. Once printed, the destination can never change. If your PDF URL changes — even slightly — the code becomes useless.

Dynamic QR codes encode a short redirect URL. The actual destination (your PDF) is stored on the QR generator's server and can be updated at any time without reprinting the code. This is why dynamic codes are preferred for printed materials like menus, brochures, or signage where reprinting is costly.

If your PDF is a one-time-use document (a conference handout, a single-run flyer), static works fine. If it's something you'll update — pricing guides, policy documents, product sheets — dynamic is worth the consideration.

Step 3: Generate the QR Code

Once your PDF is hosted and you have its URL, generating the actual code is the straightforward part:

  1. Go to a QR code generator (most support either static or dynamic)
  2. Select the URL content type (not "PDF" — you're encoding a link, not a file)
  3. Paste your PDF's direct URL
  4. Customize the appearance if needed (color, logo, shape)
  5. Download the code in your required format — SVG for print, PNG for digital use

SVG files are vector-based and scale to any size without losing quality. If there's any chance the code will be printed larger than a business card, use SVG.

Step 4: Test Before You Distribute 🔍

Always scan the code yourself using at least two different devices — ideally one iOS and one Android — before printing or publishing. Check that:

  • The PDF loads fully, not just partially
  • It opens in a readable format on mobile (not a download prompt, unless that's your intent)
  • The file loads in a reasonable time (large PDFs on slow connections are a real friction point)

If the PDF is large, consider compressing it before hosting. A 50MB presentation and a 500KB brochure behave very differently on a mobile connection.

Variables That Affect Your Setup

The right approach genuinely depends on several factors that vary by situation:

  • How often the PDF will be updated — drives the static vs. dynamic decision
  • Whether you need scan analytics — only available with dynamic codes and often behind a paid tier
  • Print size and quality requirements — affects file format choice
  • Your hosting situation — self-hosted vs. third-party changes your control and risk profile
  • Mobile experience expectations — some platforms render PDFs inline; others force a download

A one-person event organizer creating a QR code for a single-day program has almost nothing in common with a product team managing QR codes across a printed catalog that updates quarterly. The mechanics are the same; the right choices are completely different.