How to Create a QR Code for a PDF: Step-by-Step Guide
Link to PDFs with a QR code. Host your file, get a URL, and generate a scannable QR code. Tips for file size and mobile-friendly access.
Introduction
QR codes are a convenient way to share PDFs—menus, catalogs, manuals, or reports—without handing out files in person. You create a QR code that encodes the URL where your PDF is hosted; when someone scans, they open or download the PDF. This guide walks you through creating a QR code for a PDF using our free QR code generator and how to host the file so the link works reliably.
Step 1: Host Your PDF Online
A QR code can only link to a URL. So your PDF must be available at a public (or shared) link. Options include:
- Cloud storage: Google Drive, Dropbox, OneDrive, or similar. Upload the PDF and get a shareable link. Ensure the link is set to "Anyone with the link can view" (or equivalent) so scanners can access it without signing in.
- Your website: Upload the PDF to your server or CMS and use the direct URL to the file.
- Document platforms: Services like Scribd or Notion can host PDFs and provide shareable links.
Test the URL in a browser (including on a phone) to confirm it opens or downloads the PDF. Avoid links that expire quickly unless you plan to update the QR code.
Step 2: Copy the PDF URL
Use the full URL including https://. Some hosting services give long URLs; that's fine—QR codes can store long URLs. If the URL is too long, some generators may have limits; ours handles typical lengths. Shorteners are optional and add another service to depend on; for simplicity, the direct link often works best.
Step 3: Generate the QR Code
In our free QR code generator:
- Select URL as the input type.
- Paste the PDF link. Our tool will add https:// if you omit it.
- Optionally customize colors or add a logo (keep contrast high for scanning).
- Download as PNG (for screen) or SVG (for print). For print, see size and DPI tips.
No signup required; generation happens in your browser. For other content types, see our guide to QR code types.
Tips for PDF QR Codes
- File size: Large PDFs may load slowly on mobile. Consider compressing or splitting very large files.
- Mobile: Many phones will open PDFs in the browser or a viewer. Ensure the hosting service doesn't block mobile or require an app to view.
- Print: If you're printing the QR code (e.g. on a menu or catalog), use an adequate size and test a print sample (see if your code won't scan).
Conclusion
Creating a QR code for a PDF is simple: host the PDF, get a shareable URL, and generate a URL QR code with our free QR code generator. For more ideas, check our blog on restaurant menus and business use cases.
About the author
Codzee Team builds free online tools and writes guides to help individuals and small businesses use QR codes and barcodes effectively. We focus on privacy-first, no-signup tools and practical content you can use right away. Learn more on our About page or reach us via Contact.
Tags
Related Articles
How to Create QR Codes for Business
A practical workflow for teams: choose the right payload, design for reliable scans, place codes where people expect them, and keep destinations maintained.
QR Code Uses in 2025
Where QR codes show up in 2025: retail, hospitality, field service, events, and public services—and what “good” looks like for each.
Are QR Codes Safe?
QR codes are neither safe nor unsafe by themselves. Learn how phishing overlaps with QR, what to check before you scan, and how businesses reduce risk for customers.