GuidesHow to

How to make a QR code for a PDF

A QR code can’t hold a PDF, but it can link to one. Here’s where to put the file, how to make the code, and how to swap the PDF later without reprinting.

The short answer

Put the PDF online first, at an address anyone can open, then make a QR code that links to that address. Use a dynamic code if the file might ever change, so you can point the code at a new version without reprinting.

Why the code can’t hold the PDF itself

Even the largest QR code holds under 3 KB of data, which is far too little for a document. And a code that full would be so dense that most phones would struggle to read it at any printed size.

So a “PDF QR code” is really a link. The code holds the address of the file, and the phone opens it in its browser or PDF viewer. That means the file’s home matters as much as the code.

This is good news in one way. The code stays small and simple however long the document is, and you can change the document without touching the code, as long as it stays at the same address or the code is dynamic.

Put the PDF somewhere public

You have two common choices.

  • Your own website. Upload the file to your site and copy its address. This is usually the most reliable option, and the address can look like yours.
  • A cloud drive. Upload the file and turn on link sharing for anyone with the link. Make sure it’s set to view only, and that it doesn’t ask people to sign in.

Name and place the file with care

Give the file a plain, lasting name, such as menu.pdf or price-list.pdf, rather than one with a date or “final-v3” in it. People sometimes see the file name when it opens, and a lasting name is easier to replace later with a file of the same name.

Keep the address stable too. If you move the file to another folder or tidy up your site, the address may change, and a static code pointing at the old one will simply stop working. Write down where each file lives and which code points to it.

Set the document’s title in its properties before you export it. Some phone viewers show that title at the top of the screen instead of the file name, and “Untitled” doesn’t inspire much confidence.

Check it opens on a phone

Open the link on your phone in a private browser window, where you aren’t signed in to anything. This shows you what a stranger will see. If you get a login screen or a “request access” page, fix the sharing settings before you make the code.

Then look at the file itself on the small screen. A large PDF can be slow to load on a weak signal, so compress big images before uploading. A one-page document in portrait reads better on a phone than a wide multi-page spread. If the content is really a web page in disguise, such as a menu, a mobile page is often kinder to readers than a PDF.

Make the code

For a file that will never change, a static code from the free generator is fine. Choose the Website tab, paste the PDF’s address and download the code.

For anything else, make a dynamic code that points to the same address. It takes a free account, and the steps are the same: paste the link, save, download.

  1. Copy the public address of the PDF
  2. Paste it into a website code, static or dynamic
  3. Download the code as an SVG for print or a PNG for screens
  4. Scan it with two different phones and check the file opens

Why a dynamic code is safer for PDFs

Documents change. Prices go up, a brochure gets a new edition, a typo turns up on page two. With some hosts, replacing a file gives it a new address, and every printed code pointing at the old one breaks.

With a dynamic code, the printed code never points at the file directly. You upload the new PDF, paste its address into the code’s destination, save, and the next scan opens the new file. Older destinations stay in the version history in case you need one back.

You also get scan counts, which tell you whether anyone is actually opening the document.

Can PikaQR host the file?

Not as a PDF. PikaQR links to PDFs wherever you host them, but it doesn’t store PDF files itself.

If your document is a single page, such as a flyer, a price list or a menu, an image code may suit you better. On the Premium plan, an image code hosts a PNG, JPEG, GIF or WebP file of up to 5 MB and shows it when someone scans. Export the page as an image and upload that instead.

If you have several documents, a links page, also on Premium, can list them all behind one code.

Questions

Can I make a QR code for a PDF for free?

Yes. Host the PDF somewhere public, then paste its address into the free generator’s Website tab. If you want to swap the file later, a free account gives you dynamic codes too.

Will the PDF download or open on the phone?

That depends on the phone and on how the file is hosted. Most phones open a PDF link straight in the browser’s viewer, and some offer to download it. Scan your code on both an iPhone and an Android phone to see what people will get.

How do I update the PDF behind a QR code?

If the code is dynamic, upload the new file, copy its address and change the code’s destination. If it’s static, you can only replace the file at exactly the same address, which some hosts allow and others don’t.

Can I use a cloud drive link for a QR code?

Yes, as long as sharing is set to anyone with the link and nobody has to sign in. Test it in a private browser window first.

Swap the PDF without reprinting

Point a dynamic code at your file today and at the new version tomorrow. Free account, no card needed.

Learn about dynamic codes

More guides

How to track QR code scansOne QR code for both the App Store and Google PlayHow to make a QR code, step by stepHow to change where a QR code goes
How to make a QR code for a PDF · PikaQR