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
| Where | Good for | Watch out for |
|---|---|---|
| Your own website | Menus, brochures and manuals you'll keep for years | Keep the same file address when you update it |
| Google Drive | Quick sharing without a website | Set access to "Anyone with the link"; it opens in Drive's viewer |
| Dropbox or OneDrive | Teams that already store files there | Use 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.
Step 2: Copy a link that works for everyone
In Google Drive, the steps are:
- Right-click the PDF and choose Share.
- Under General access, change Restricted to Anyone with the link, with the role set to Viewer.
- Click Copy link.
- 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.
Step 3: Turn the link into a QR code
- Open the URL QR code generator and paste the link.
- Add your logo and colours, and a frame with a clear call to action such as "Scan for the brochure".
- Scan the on-screen preview with your phone and check the PDF opens.
- 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)".