QR MakerGet the app

QR Maker / QR code for a PDF

Make a QR code for a PDF

A QR code holds a link, not the file. Paste your PDF's share link. We check it is one that other people can open, then draw the code. Your PDF is never uploaded here.

  • Free
  • Checks the link
  • No file upload

Paste the share link from Google Drive, Dropbox, OneDrive or your website. The file itself is never uploaded here.

Printed above the code when you choose Print. It is not part of the code.

StyleColors, shape and logo
Colors
Dots
Corners
Logo

Made on your device. What you type is never uploaded.

Fill in the form and your code appears here.

On iPhone, press and hold the code to save it to Photos.

How to make a QR code for a PDF

  1. Copy the PDF's share link

    Put the file on Google Drive, Dropbox, OneDrive or your website and copy its link. The steps for each are further down this page.

  2. Paste it above

    The check under the box says what kind of link it is. If it is the address of your own storage, a folder or a download link, it tells you and explains how to get the right one.

  3. Test signed out, then print

    Scan the code with a phone that is not signed in to your account, or with the QR code scanner. Then choose Print for a sheet that says "Scan to open the PDF".

A QR code holds a link, not the PDF

No QR code can carry a whole PDF. The dots hold a short piece of text, and for a PDF that text is the web address where the file lives. When someone scans, their phone opens that address. Three things follow from this:

A maker that asks you to upload the file has to store it on its own servers and put its own link in the code, so the code works only while that service keeps your file. Here the code holds your link and nothing passes through us. See static and dynamic codes for when a paid service is worth it.

What the link check looks for

If you pasteWhat happens
A Google Drive file link (drive.google.com/file/d/...)The code is made, with a reminder to set General access to Anyone with the link.
A Dropbox shared linkThe code is made, and you choose how the PDF opens: on Dropbox's preview page, straight in the browser, or as a download.
A OneDrive link (1drv.ms or a work or school link)The code is made, with a reminder to check who the link works for.
An address ending in .pdf on your own siteThe code is made. This is the simplest case.
A folder linkThe code is made, with a warning: people who scan see everything in the folder.
A download linkThe code is made, with a warning: a phone may save the file instead of showing it.
The address of your own Drive, Dropbox or mailboxNo code. That address opens only for you.
A file name or a path on your deviceNo code. The PDF needs to be online first.

The check runs in your browser and reads only how the address is written. It does not visit the link, so it cannot see the sharing setting itself. That is why the last step is always to scan the code signed out.

Where to get the right link

Google Drive

Select the PDF and click Share. Under General access, click the arrow and choose Anyone with the link. Google's help says anyone on the internet who has the link can then open the file without signing in to a Google Account. Keep the role as Viewer, click Copy link, then Done. With the other choice, Restricted, only people who have been given access can open the file. If you use a work or school account, your administrator may limit sharing outside the organization.

Dropbox

Log in to dropbox.com, hover over the PDF, click Share, then Copy link. Dropbox's help says anyone with a view-only link can preview the content without editing it, and people do not need a Dropbox account for that.

The end of a Dropbox link decides how the file opens, and Dropbox documents three endings. A copied link often already ends in dl=0, which opens Dropbox's preview page. dl=1 downloads the file instead of displaying it. raw=1 skips the preview page and lets the browser show the file itself. When you paste a Dropbox link above, a "How the PDF opens" choice appears and sets the ending for you.

Dropbox can also make its own QR code: click Share, open the more options menu and choose Create QR code, then Save for a PNG file. Use that if Dropbox's code is all you need. Make it here if you want an SVG for print, your own colors, a logo, or the printed sign.

OneDrive

Select the PDF, select Share, then Copy link. Before you copy, check who the link works for. Microsoft's help says Anyone lets anyone who receives the link open the item without signing in. On a work or school account, a new link usually starts at Only people added, and your administrator may have turned the Anyone choice off, in which case it is greyed out. A link that starts with 1drv.ms is OneDrive's own short link.

Your own website

Upload the PDF with your site's media or file manager and copy the address it gives you, which normally ends in .pdf. This is usually the shortest link, a public site asks nobody to sign in, and you can replace the file later without changing the address.

Before you print

Check for an expiration date or password

Dropbox's paid plans and OneDrive let you add an expiration date or a password to a link. Microsoft's help is plain about the first: after the date you set, the link stops working. A printed code cannot be updated, so leave both off unless you mean to close the PDF on a certain day.

Shorter links print better

In our maker, a typical Google Drive link of about 80 characters makes a code 37 squares across, and a Dropbox link of about 110 characters makes one 45 squares across. A short address on your own site, such as example.com/menu.pdf, makes one 29 squares across. Fewer squares means each one is larger at the same print size, so the code scans from farther away.

Think about the phone

Everyone who scans reads the PDF on a small screen, often on mobile data. A file with a few pages and large type works better than a brochure laid out for A4 paper. Open the PDF on your own phone before you decide.

Say what is inside

The printed sheet always says "Scan to open the PDF". Add a heading that names the file, such as "Our menu", "Price list" or "Assembly instructions", so people know what they will get.

QR Maker for iPhone

Your codes, saved and styled, on your iPhone

  • Every code you make is saved, ready to show or share
  • Gradient colors, templates and custom corner shapes
  • Scans QR codes and barcodes too
  • Works without an internet connection
Download QR Maker on the App Store

Scan with your iPhone camera to get the app

Free to download on the App Store.

PDF QR code questions

How do I make a QR code for a PDF?

Put the PDF online, for example on Google Drive, Dropbox, OneDrive or your own website. Copy its share link and paste it into the box at the top of this page. The code appears straight away. Download it as a PNG or SVG, or print it as a sign. It is free and needs no account.

Can a QR code hold the PDF itself?

No. Even the largest QR code holds only a few thousand characters, and a PDF is far bigger than that. So the code holds a link, and the phone opens the PDF from wherever the file is stored. That is true of every PDF QR code maker: one that takes your file has to store it on its own servers and put its own link in the code.

Is my PDF uploaded to this site?

No. This page never asks for the file, only for its link. The link check and the code are both made in your browser, and the link is not sent to us or anyone else. Your PDF stays in the storage you chose, under your control.

Why does my code ask people to sign in or request access?

Because of the file's sharing setting, not the code. On Google Drive, a file set to Restricted opens only for people who have been given access; change General access to Anyone with the link. On OneDrive, check the link works for Anyone. The code can stay as it is: the link does not change when you change the setting.

Will the QR code expire?

The code itself never expires. It works for as long as the link does. It stops if you delete the file, turn off sharing, or set an expiration date on the link, which Dropbox and OneDrive offer. More on codes that never expire.

Can I change the PDF after the code is printed?

The code points at the link, not at one version of the file. If you can replace the file and keep the same link, the printed code shows the new version. If uploading a new file gives you a new link, you need a new code. On your own website, upload the new file under the same name and the address stays the same. Test this once before a large print run.

Does this work for a PDF saved on my phone or computer?

Not until it is online. A file on your device has no address another phone can reach. Upload it to a storage service or your website first, then paste the share link here.

More QR tools

See all QR tools and guides

QR Maker for iPhone

Get QR Maker on your iPhone

Scan the code with your iPhone camera, or open the App Store.

Scan with your iPhone camera

Download QR Maker on the App Store

Free to download on the App Store. For iPhone.