Back to All Blog Posts
QR Code Guides

How to Share a PDF with a QR Code (and Keep It Working)

By 4 min read
A printed QR code that opens a PDF brochure on a phone
Short answer

A QR code holds a few kilobytes, so it can’t contain a PDF. Instead, put the PDF online (your website, Google Drive or Dropbox set to "anyone with the link"), compress it so it opens quickly on mobile data, and paste the link into the PDF QR Code Generator. Scan the result with two phones, signed out, before you print. If you host the PDF on your own site, you can replace it later at the same address and the printed code keeps working.

Restaurants, schools, estate agents, event organisers and small shops all use the same trick: a QR code on a table, a flyer or a window that opens a PDF. When it’s done well, people scan and read. When it’s done badly, they hit a login page, an "access denied" message or a 20 MB download on a weak signal.

The largest possible QR code holds just under 3 KB of data, about one page of plain text. Even a small one-page PDF is usually 100 KB or more. So every "PDF QR code" is really a link to a PDF stored somewhere else. That’s actually useful: change the file behind the link and the code shows the new version.

Where to host the file

OptionGood forWatch out for
Your own websiteLong-term use; you control the addressKeep the same file name when you update it
Google DriveQuick, free, familiarMust be set to "Anyone with the link"; replacing the file can change the link
Dropbox or OneDriveTeams already using themSharing settings and expired links

If the code will be printed on something that lasts (a shop window, a product label, a brochure run of thousands), use your own website. Free cloud links break when someone tidies a folder or an account closes.

Making the code

  1. Compress the PDF.

    Aim for under 2 MB, ideally under 1 MB for menus and flyers. Compress PDF keeps text sharp.

  2. Upload it and copy the public link.

    Open the link in a private browser window to check it works without signing in.

  3. Create the QR code.

    Paste the link into the PDF QR Code Generator. Add your colours or a small logo if you like.

  4. Download a print-ready file.

    SVG or PDF for printing, PNG for screens and social media.

  5. Test it on two phones,

    one Android and one iPhone, on mobile data rather than your office Wi-Fi.

Keeping the same code when the PDF changes

Prices change, menus change, brochures get updated. On your own site, upload the new version with exactly the same file name and address, and every printed code shows the new PDF. Add a cache-busting step if your site uses a CDN, or the old version may hang around for a few hours. With Google Drive, use "Manage versions" to replace the file without changing its link, rather than uploading a new file.

Make it readable on a phone

  • Use a portrait page; landscape PDFs are tiny on phones.
  • Use large text. Your reader is holding a phone at arm’s length, often in poor light.
  • Keep it short. A 2-page menu beats a 12-page one; split long documents.
  • Put the most important information on page 1, because many people won’t scroll.

Printing the code

For a table card or flyer read from 30 to 50 cm, a code of 2.5 to 3 cm is usually enough. Posters read from a few metres away need more: roughly one tenth of the scanning distance. Always leave a white margin around the code. The details are in QR code size for print.

Tell people what they’ll get

A bare code gets fewer scans than one with a short label like "Scan for today’s menu (PDF)" or "Price list – updated monthly". It also reassures people that the code is genuine, which matters given how common QR code scams have become.

Frequently asked questions

Can a QR code contain a PDF file?

No. The largest QR code holds under 3 KB, much less than any PDF. The code contains a link to the PDF stored online.

How do I make a QR code for a PDF for free?

Upload the PDF to your website or a cloud drive with public sharing, copy the link and paste it into a free QR code generator.

Can I change the PDF without changing the QR code?

Yes, if the link stays the same. Replace the file at the same address on your website, or use the version manager in Google Drive.

Why does my PDF QR code ask people to sign in?

The file is not shared publicly. Set sharing to Anyone with the link and test in a private browser window.

How big should the PDF be?

Under 2 MB, and ideally under 1 MB, so it opens quickly on mobile data.

Create a QR code for your PDF

Paste the link, style the code and download it for print or screen.

Open PDF QR Code Generator
Akhtar Ali

Founder of CleanPDF. I build the site’s browser-based PDF, image, QR code and calculator tools, and I write these guides around the questions people send in while using them.