QR Code for a PDF

One scan takes someone straight to your document - no typing a long URL, no hunting through a site menu.

A QR code cannot store a PDF itself. A file with any real content is far larger than the few kilobytes a QR symbol can hold, so the practical solution is to encode a short web address that points to the hosted PDF. When a phone scans it, the browser opens the file directly. That is why the first step is always getting a stable, public link to your document - from your own site, a cloud drive set to 'anyone with the link', or a document host - and then turning that link into a code.

This matters most on printed material. Menus, manuals, product specification sheets, safety data sheets, event programmes, warranty terms and real-estate brochures all have a document behind them. Printing a QR code in the corner means the reader gets the full, current version instead of a truncated URL they will never type. If you later replace the file at the same address, every code you already printed keeps working.

Paste your PDF link into the generator below, choose a dark foreground on a light background, and download a high-resolution PNG for web use or an SVG that stays sharp at any print size. The whole thing runs in your browser, so your unpublished document link is never sent to us.

Generating…

How to make a QR code that opens a PDF

  1. Upload the PDF somewhere with a permanent public URL, and set sharing to anyone with the link can view.
  2. Copy that URL and paste it into the box above, replacing the example address. Keep the https:// prefix.
  3. Open the link in a private/incognito window to confirm it works without a login - a scanner will not be logged in either.
  4. Style the code if you want it to match your document, then scan the preview with your own phone before printing.
  5. Export SVG for print (it scales without blurring) or PNG for a slide, email signature or web page.

Why the link, not the file, goes inside the code

A QR code is a grid of modules. Even at the highest density and largest practical size it holds only a few thousand characters, while a one-page PDF is routinely tens or hundreds of kilobytes. Encoding the file directly is not physically possible. Encoding a short URL is, and it has a useful side effect: you can update, correct or translate the document later without reprinting anything.

The trade-off is that the code depends on that link staying alive. Use a URL you control, avoid link shorteners that can expire or be flagged, and keep the hosting on a domain you expect to keep. For compliance documents with a long shelf life, put the PDF on your own domain rather than a free file-sharing service.

Print settings that keep the code scannable

Keep at least a four-module quiet zone (empty margin) around the symbol and never let a border or caption intrude into it. Contrast is more important than colour: a dark code on a white or very light background scans far more reliably than a light code on a dark one. As a rule of thumb, print roughly 1 cm of code width for every 10 cm of expected scanning distance, so a code on a wall needs to be much larger than one on a business card.

Frequently asked questions

Can a QR code contain the PDF file itself?

No. A QR code holds only a few kilobytes at most, while a typical PDF is much larger. The code stores a link to the hosted PDF instead, which is also better because you can update the document later without reprinting the code.

What happens if I change or replace the PDF later?

As long as the file stays at the same public URL, every printed code immediately points to the new version. If you move the file to a different address, you will need to generate and reprint the codes.

Will Google Drive or Dropbox links work?

They can, provided the sharing setting is 'anyone with the link can view'. Test the URL in an incognito window first - if it asks for a login, a scanner will fail. For anything long-lived, host the file on your own domain instead.

Should I use PNG or SVG for a printed PDF link?

Use SVG for print: it is a true vector and stays sharp at any size, so a poster or a box label will not blur. PNG is fine for screens, presentations and email.

Turn your PDF link into a scannable code

Free, unlimited, no sign-up, and nothing you type ever leaves your browser.

↑ Back to the generator

More free QR code tools