EndureQR

Use cases

PDF to QR code: how to make a QR code for a PDF

A QR code can't hold a PDF itself. It holds a link to the PDF, so the real work is putting the file somewhere that stays online and opens well on a phone.

By Armaghan Abdul Qayyum · Updated · 5 min read

To make a QR code for a PDF, upload the PDF somewhere anyone can open it, copy the file's link, and paste that link into a URL QR code generator. A QR code holds just under 3 KB of data at most, so the file never goes inside the code: the code opens a link, and the link opens the PDF. That makes where you host the file the most important decision.

Step 1: Turn the PDF into a link

WhereGood forWatch out for
Your own websiteMenus, brochures and manuals you'll keep for yearsKeep the same file address when you update it
Google DriveQuick sharing without a websiteSet access to "Anyone with the link"; it opens in Drive's viewer
Dropbox or OneDriveTeams that already store files thereUse a view link that doesn't need signing in

Whichever you choose, open the link in a private browser window before you make the code. If it asks you to sign in or request access, everyone who scans will hit the same wall.

In Google Drive, the steps are:

  1. Right-click the PDF and choose Share.
  2. Under General access, change Restricted to Anyone with the link, with the role set to Viewer.
  3. Click Copy link.
  4. Paste the link into a private browser window and check the PDF opens without signing in.

Dropbox and OneDrive work the same way: share the file, choose a link that anyone can view, and copy it.

  1. Open the URL QR code generator and paste the link.
  2. Add your logo and colours, and a frame with a clear call to action such as "Scan for the brochure".
  3. Scan the on-screen preview with your phone and check the PDF opens.
  4. Download SVG or PDF for print, or PNG for screens.

The generator is free, needs no sign-up and adds no watermark. The code it makes is static, so it never expires.

Will the code still work if I update the PDF?

Only if the link stays the same. A static QR code stores the link itself, so if the new version of your PDF ends up at a new address, the printed code keeps opening the old file, or nothing at all if you deleted it. There are three ways to update the file without reprinting:

  • On your own website, upload the new file with exactly the same name and location, replacing the old one.
  • In Google Drive, right-click the file, open File information, then Manage versions, and upload the new version. The link stays the same.
  • With a dynamic QR code, point the code at whichever link is current and change it from your dashboard when the file moves. Your first dynamic QR code is free with an EndureQR account, and paid dynamic codes keep working even if you cancel.

Make the PDF easy to read on a phone

Most people will open your PDF on a phone, often on mobile data. A file designed for an A4 printer can be hard work on a small screen.

  • Keep the file small. Compress large photos so the PDF opens quickly; a few megabytes is plenty for most brochures and menus.
  • Use portrait pages and large text. Tiny print and several columns force people to pinch and zoom.
  • Put the key information on page one. Prices, opening times or the main instructions should not be on page six.
  • Give the file a clear name. Some phones show the file name at the top of the viewer.
  • Consider a web page instead. For things that change often, like a restaurant menu, a simple web page is easier to read and update. Our restaurant menu guide compares the two.

Printing the code

Print the code at least 2 cm (0.8 in) wide for something scanned up close, and larger for posters and signs; QR code size for printing has the distance rule. Use dark modules on a light background, leave a clear margin around the code, and tell people what they'll get, for example "Scan for the full price list (PDF)".

FAQ

Quick answers.

Something else? Email hello@endureqr.com and a person will reply within one business day.

No. A QR code holds just under 3 KB of data at most, far too little for a PDF. It holds a link to the file instead.

Yes. Host the file for free on Google Drive or your own website, then make the code with the free URL QR code generator, with no sign-up.

The file's sharing setting is restricted. Change it to "Anyone with the link" with view access, then scan the code again.

Yes, if the link stays the same: replace the file at the same address, or upload a new version in Google Drive. A dynamic QR code lets you point to a different link instead.

A static code never expires, but it only works while the file stays online. Some services that host the PDF for you remove it when a trial or plan ends, so check before you print.

Print it once. Change it any time.

Make your first dynamic code in a minute. If you ever leave, it keeps working.