← Blog

Guide

How to Make a QR Code for a PDF That Never Expires (Without Uploading It)

November 18, 2026 · 4 min read

A PDF brochure shared from a folder you control, linked to a QR code that opens it.

You want people to scan a code on a flyer, a poster or a slide and open a PDF: a menu, a brochure, a price list or a report. Search for a ‘PDF QR code generator’ and nearly every tool asks you to upload the PDF. That works, until the free plan ends and the code stops working, or until you realise your file now lives on a stranger's server. Here is how to make a QR code for a PDF that you control, and that never expires.

Why most PDF QR codes expire

A QR code can't hold a PDF; it holds a link. When a QR company hosts your PDF, the code points at their copy, usually through a redirect on their server. That has two consequences:

The fix is to split the job in two: keep the PDF somewhere you control, and make a static code that points straight at it. A static code stores the link in the pattern itself, so it can't be switched off.

How to make a QR code for a PDF, step by step

  1. Clean the PDF first. A PDF you publish can carry the author's name, the software used and timestamps. Remove the metadata before it goes online.
  2. Put it online somewhere you control and copy its link (see the options below).
  3. Check the link works for everyone. Open it in a private browser window, signed out. If it asks you to sign in or request access, the code won't work for others either.
  4. Make the code. Open the free QR code generator, choose PDF, paste the link and download the code as SVG for print or PNG for screens. It runs in your browser, so not even the link is uploaded.
  5. Test it on a phone, using mobile data rather than your office Wi-Fi, before you print.

Where to put the PDF

OptionHow to get a linkGood to know
Your own websiteUpload the file and copy its addressThe most control; replace the file at the same address to update it
Google DriveShare > General access > Anyone with the link (Viewer), then copy the linkOpens Drive's preview first, with a download button
OneDrive or DropboxShare, set to anyone with the link can view, then copy the linkWork accounts may block links that anyone can open

Whichever you choose, the link must stay alive: if you delete the file or turn sharing off, the code still works but leads nowhere. And anyone who has the code can open the PDF, so don't use this for documents that should stay private.

How to update the PDF without changing the code

A static code always opens the same link, so to update the document, replace the file behind that link rather than making a new code:

Cleandocx cleans PDFs and Word files on your own machine. It removes hidden metadata and merges documents locally on Windows and macOS, with no uploads, so the file you publish is the clean one. Join the waitlist →

Make sure the code scans

Putting the code into a Word document? See how to create a QR code in Microsoft Word.

The takeaway

A QR code for a PDF only needs a link. Host the PDF where you control it, clean it before you publish it, and make a static code that points straight at it. You keep the file, the code never expires, and you can update the document later without reprinting. Make yours with the free QR code generator.