PDF QR Code Generator

Create a QR code that opens a PDF. Host the file, paste its direct link, and download the code as a PNG or SVG. Free, with no upload and no account.

Contrast 21.0:1

What a PDF QR code is

A PDF QR code is a static QR code that encodes the web address of a PDF file, so scanning it opens or downloads that document. The file itself is not stored inside the code.

QR From Link does not host files. A QR code can hold a few hundred characters, nowhere near a document, so every PDF QR code in existence is really a link to a PDF sitting on a server somewhere. The question is whose server.

Upload-and-generate services host it on theirs, which means your document depends on their business staying alive and their free tier staying free. Hosting the PDF yourself and encoding your own URL removes that dependency entirely — and is why nothing is uploaded here.

How to create a QR code for a PDF

  1. 01

    Put the PDF somewhere public

    Your own website is the best option. Cloud storage works if you set the link to “anyone with the link can view” — otherwise the scan lands on a permission-request screen.

  2. 02

    Get the direct link

    Open the file in a browser and copy the address that actually shows the document. A share-dialog link and a direct file link are often different, and only one of them opens cleanly on a phone.

  3. 03

    Generate the QR code

    Paste the URL above and select Generate QR. Check the encoded address underneath — storage links are long, and a truncated one produces a perfectly scannable code that leads nowhere.

  4. 04

    Test on a phone, then print

    Scan it with a phone that has no access to your account. That is the single test that catches both broken links and permissions you forgot to change.

Where to host the PDF

  • Your own website

    A file at yoursite.com/brochure.pdf gives the shortest URL, the fewest redirects, and total control. Keeping that path stable lets you replace the file without reprinting the code.

  • Google Drive

    Set sharing to “Anyone with the link”. The standard /file/d/ID/view link opens a preview page; appending ?usp=sharing is unnecessary. Expect Drive’s viewer rather than the phone’s native PDF reader.

  • Dropbox

    Share links end in ?dl=0, which opens a preview page. Changing it to ?dl=1 downloads the file immediately instead. Pick whichever behaviour suits the context.

  • OneDrive and SharePoint

    Both produce long, opaque URLs that make a dense code. If the code is going on something small, redirect from a short path on your own domain instead.

  • Watch the file size

    People scan on mobile data. A 25 MB brochure is a wall; the same content exported at screen resolution is often under 2 MB and opens instantly.

  • Consider a web page instead

    On a phone, a PDF renders at fixed width and has to be pinched and dragged. If the content is text, an ordinary web page is faster, smaller, and far easier to read.

Documents people link to

  • Product brochures and catalogues
  • Instruction manuals and assembly guides
  • Price lists and specification sheets
  • Safety data sheets
  • Programmes and conference schedules
  • Forms to print and return
  • Warranty and compliance documents
  • Reports and whitepapers

QR From Link never receives your file or your link. The QR code is built in your browser from the address you type, so there is nothing to upload and nothing stored on any server here.

If the PDF is confidential, remember that a printed QR code is a printed link. Anyone who photographs the code can open the document, so put access control on the file rather than relying on the code being obscure.

Questions about this

No, and deliberately so. A QR code cannot contain a document — it holds a few hundred characters at most — so every PDF QR code is a link to a hosted file. Host the file yourself and encode your own URL, and the code cannot be broken by someone else’s service shutting down.

Yes. Set the file to be viewable by anyone with the link, open it in a browser, and copy the address that actually displays the document. Always test the result on a phone that is not signed in to your account.

Yes, if the URL stays the same. Upload the new version to the same path and every printed code now serves the new document. This is much easier on your own hosting than on cloud storage, which often mints a new ID for a re-uploaded file.

That depends on the phone and the host, not on the QR code. Most mobile browsers preview a PDF served with the right content type; some download it first. Dropbox lets you force a download with ?dl=1.

No. The code encodes the URL, so its density depends only on the length of the address. A 200 MB file and a 200 KB file behind the same-length URL produce identical codes — though the person scanning will certainly notice the difference.