Skip to content

Free tool

QR Code for PDF

A QR code for a PDF is really a QR code for the web address where that PDF already lives: scan it, and the phone opens or downloads the file directly. This tool generates that link-based code for free, with color and logo customization included, and this page also covers the one extra step some people miss: getting the PDF a public web address in the first place, using a free hosting option, if it doesn't have one yet.

Free, unlimited downloads. No account, no watermark, no data ever leaves your browser.

How a PDF QR code actually works

A QR code cannot contain an entire PDF file inside the pattern itself: the file format has far more data than a scannable code can hold. What it contains instead is a URL, a web address pointing to where the PDF is hosted. Scanning the code opens that address, and the phone's browser either displays the PDF inline or downloads it, depending on the phone and the hosting service. This is exactly how every "QR code for a PDF" tool works, including this one: select the Website/URL tab and enter the PDF's public link.

Getting a PDF a public link, for free, in under a minute

If the PDF is only sitting on your computer or phone right now, it needs a public web address before a QR code can point to it. A few free options, in order of how simple they are for a one-off document:

Worked example: a restaurant menu QR code

A restaurant has a menu saved as a PDF and wants a QR code for table tents. Upload the PDF to Google Drive, set sharing to "Anyone with the link," and copy that link. Paste it into the Website/URL tab on this tool. The generated code, printed and placed on each table, opens the menu directly in a guest's phone browser when scanned, no app required. If the menu changes seasonally, re-uploading a new PDF to the exact same Google Drive file (using Drive's "Manage versions" or simply replacing the file while keeping the same share link) means the already-printed QR codes keep working without a reprint, since the code points to the link, not to the file's contents directly.

Why a QR code can't be regenerated automatically when the file changes

Because the code encodes a URL rather than the file itself, a plain link-based code (like the one this tool generates) never needs to be reprinted just because the destination file's content changes, as long as it's re-uploaded to the exact same address. What does force a reprint is the address itself changing, for example if a new Google Drive share link is generated instead of reusing the old one. Keeping the same hosting link stable is the key to a QR code that survives a document being updated over time.

Other document types this works for

Everything above applies equally to any file, not only a PDF: a Word document, a spreadsheet, a set of photos, or an audio file. Host the file publicly (the same Google Drive or Dropbox steps above work for any file type), then generate a Website/URL code pointing to that link.

Branding a document QR code

The same customization available on the main tool, colors, a gradient, dot shape, and a logo, applies to a document link code exactly the same way it does to any other URL code. See the custom QR code generator page for the full set of options, or the main QR code generator if a document link is only one of several content types you need.

Frequently asked questions

Can a QR code contain a whole PDF file directly?
No. A QR code holds a limited amount of data, far less than a typical PDF. Every "QR code for PDF" tool, including this one, instead encodes a web link to where the PDF is hosted, and scanning opens or downloads the file from that link.
My PDF isn't online yet. How do I get a link for it?
Upload it to a free service like Google Drive or Dropbox and set sharing to "Anyone with the link," then copy that link into the Website/URL tab on this tool. See the "Getting a PDF a public link" section above for the exact steps.
If I update the PDF later, do I need a new QR code?
Not if you replace the file at the exact same hosting link (for example, re-uploading to the same Google Drive file rather than creating a new share link). The QR code points to the address, not the file's contents, so the same printed code keeps working.
Will the PDF open automatically, or does it download?
That depends on the hosting service and the phone's browser settings, not on the QR code itself. Google Drive links typically preview in-browser; some direct file links download immediately instead.
Can I use this for a Word document or a spreadsheet instead of a PDF?
Yes. The same approach (host the file publicly, then generate a Website/URL code for that link) works for any file type, not just PDFs.
Is there a file size limit?
There's no limit imposed by this tool, since it only encodes a link, not the file itself. Any size limit comes from whichever hosting service you use for the file.

Need a different QR code type?

The main generator also covers WiFi, contact cards, email and phone.

Go to the QR code generator

Free. No sign-up.