Learn / QR Code

Create a QR Code That Links to a PDF Document

Need to share a PDF with a simple scan? Whether it is a brochure, manual, menu, or flyer — here is how to create a QR code that opens your PDF instantly on any phone.

Have your PDF URL ready? Generate a QR code now.

Create QR Code

Why Share a PDF with a QR Code?

QR codes bridge the gap between physical and digital. Instead of telling someone to "go to our website and look for the PDF in the resources section," you print a QR code on a poster, flyer, or product packaging and they scan it to get the document instantly. Common use cases include:

  • 1.Product manuals. Print a QR code on the product packaging that links to the full PDF manual. Customers get the latest version without you shipping thick booklets.
  • 2.Event brochures. Conference organizers print QR codes on signs that link to the full event schedule, speaker bios, or session handouts as PDFs.
  • 3.Restaurant menus. Link to a PDF menu from a table QR code. Update the PDF anytime without reprinting the code.
  • 4.Real estate flyers. Print a QR code on a property listing flyer that opens the full property details, floor plans, and photos as a PDF.
  • 5.Educational materials. Teachers and professors print QR codes on worksheets that link to supplementary PDF readings or answer keys.

How to Create a PDF QR Code (Step by Step)

1

Prepare and optimize your PDF

Before hosting, make sure your PDF is optimized for mobile viewing. Compress large files using OmnisPDF's Compress PDF tool — aim for under 5MB so it loads quickly on phone connections. Flatten the PDF if it has unnecessary form fields or layers.

2

Upload and get a public URL

Host the PDF where anyone can access it without logging in. Options: your website (upload to /files/menu.pdf), Google Drive (Share > Anyone with the link > Viewer), Dropbox (create a shared link), or any file hosting. Copy the direct URL.

3

Generate the QR code and test it

Open OmnisPDF's QR Code tool (Pro feature), select URL, paste your PDF link, and generate. Download as SVG for print or PNG for digital. Always scan the QR code with your phone to verify the PDF opens correctly before distributing.

Where to Host Your PDF (Hosting Options Compared)

Your Own Website

Best option for reliability. Upload the PDF to your web server and link directly to it. You control the URL, can update the file anytime, and there are no third-party restrictions. The URL stays permanent as long as you keep the file in the same location.

Google Drive

Free and easy. Upload your PDF, click Share, set access to "Anyone with the link," and copy the link. The downside: Google Drive links sometimes show a preview page instead of opening the PDF directly. You can modify the URL to force a direct download.

Dropbox

Similar to Google Drive. Create a shared link for the PDF. Dropbox links show a preview page by default, but you can change the URL parameter from dl=0 to dl=1 to force a direct download.

Optimizing PDF File Size for Mobile

People scanning QR codes are on their phones, often on mobile data. A 50MB PDF will take forever to load and most people will give up. Here is how to keep your PDF lean:

  • Compress first. Use Compress PDF to reduce file size. Most PDFs can be compressed by 50-80% without visible quality loss.
  • Target a specific size. Use Compress to 5MB or Compress to 2MB for guaranteed size limits.
  • Flatten layers. If your PDF has form fields, annotations, or transparency layers, flatten it to remove unnecessary data.
  • Reduce image resolution. PDFs with high-resolution images are the biggest culprits. Compression handles this automatically, but you can also reduce image quality manually before creating the PDF.
  • Split if necessary. If your PDF is very long, consider using Split PDF to break it into sections and link to only the relevant part.

How to Update the PDF Without Breaking the QR Code

This is the most common mistake: you update your PDF, upload it as a new file, get a new URL, and suddenly the QR codes you already printed point to the old version. Here are three strategies to avoid this:

  • Replace the file at the same URL. If you host on your own website, simply overwrite the old file with the new one at the same path. The URL stays the same, the QR code still works.
  • Use a redirect URL. Create a short URL (Bitly, your own domain redirect) that points to the PDF. When you update the PDF, change where the short URL redirects. The QR code always points to the short URL.
  • Use a /documents page. Create a page on your website that always links to the latest version of the PDF. The QR code links to the page, not the file directly.

Create a QR Code for Your PDF

Link any PDF document to a scannable QR code in seconds. Pro feature — upgrade for unlimited QR codes and all PDF tools.

Create PDF QR Code

Frequently Asked Questions

Can a QR code link directly to a PDF file?

Yes. A QR code can link to any URL, including a direct link to a PDF file hosted online. When someone scans the QR code, their phone browser opens the PDF automatically.

Where should I host the PDF for my QR code?

You can host it on your own website, Google Drive (with public sharing enabled), Dropbox, or any file hosting service that gives you a public URL. Make sure the link doesn't require a login to access.

How large can the PDF be?

There's no technical limit from the QR code side — it only stores the URL, not the file. However, keep your PDF under 5MB so it loads quickly on mobile devices. Use OmnisPDF's Compress PDF tool to reduce large files.

Will the QR code still work if I update the PDF?

If you replace the file at the same URL, yes. If the URL changes (new upload with a different link), the QR code will break. Use a redirect URL or replace the file in-place to avoid this.

Can I password-protect the PDF behind the QR code?

Yes, but the person scanning will need to enter the password to open the PDF. Use OmnisPDF's Protect PDF tool to add a password. Share the password separately — don't put it next to the QR code.

Is the QR Code tool free?

OmnisPDF's QR Code generator is a Pro feature ($7.99/month). Pro includes unlimited QR codes, PDF compression, conversion tools, and more.