Skip to content

How to Make a QR Code for a PDF Without an Upload Service

Why a PDF cannot sit inside a QR code, where to host it, how to build a static code, who can open it, and where private PDFs belong.

Get Stash

Quick answer

Host the PDF at a stable web address, then turn that address into a static QR code. The code holds only the link; the inventor of the QR code puts its total capacity at about 3 KB.

Where the PDF lives
On your own website, or in iCloud Drive with a link set to Anyone with the link. The printed code points there for good.
Making the code
Paste the link into a QR generator as a Link, test it with your phone, and download SVG for print.
Who can open it
Anyone who scans the code, or sees a photo of it, can open the PDF. Treat it as a public document.
When to use a vault
When a PDF is private, such as an ID scan, a contract or a medical letter, and should stay on your iPhone behind its own code.

Best overall: Stash

A QR code makes a PDF public to anyone who scans it, and the private PDFs on an iPhone usually sit in the Files app or as scans in Photos, which open with the phone's passcode. Stash keeps chosen PDFs, documents and photos behind a PIN of its own, inside a working calculator. Imported files are encrypted on the iPhone with AES-256 and stay inside the app. Stash is free to download with no ads, so the calculator, the PIN and the encrypted vault are ready from the first launch.

Why a PDF cannot go inside a QR code

A QR code stores a small amount of text. Denso Wave, the company that invented it, gives the total capacity as "about 3 KB or less (for Version 40 with correction level L) at the maximum", and adds that a phone camera reliably reads "271 bytes or so (for Version 10 with error correction level L)" (QR Code FAQ, as of 2 December 2026). A one-page PDF is usually many times larger than that. So every "QR code for a PDF" works the same way: the PDF sits on a server, and the code holds the web address of that file.

That has three consequences worth knowing before you print anything:

  • The code is only as durable as the address. If the file moves or the link is switched off, every printed code stops working.
  • Anyone with the code can open the file. A QR code has no lock of its own; it is a printed link.
  • Whoever hosts the file has a copy of it. That includes the PDF-to-QR services that offer to "convert" a file.

Step one: decide where the PDF lives

There are three common places, and they differ in who keeps the file and how long the link lasts.

Your own website. Upload the PDF to your site, for example at yoursite.com/menu.pdf. You control the address, and you can replace the file later under the same name, so every printed code shows the new version. This is the most durable choice.

iCloud Drive with a public link. On iPhone, Apple's guide describes the steps (Share files and folders in iCloud Drive, as of 2 December 2026):

  1. Open the Files app and go to the PDF in iCloud Drive.
  2. Touch and hold the file, tap the Share button, tap the menu under the item's title, then tap Share a Link.
  3. Change who has access to Anyone with the link.
  4. Under New Participants Can, choose view and download only.
  5. Copy the link.

Apple notes two things that matter for a printed code: "The link to a shared file includes its name", and if you move the shared file "to another folder or location, the link no longer works". Stopping sharing breaks the link too. So name the file the way you want people to see it, and leave it where it is.

A PDF-to-QR service. These upload your file to their server and usually give you a short link on their domain, which makes a dynamic code. The code works as long as the service and your plan with it do. When a trial ends or an account lapses, the printed codes can stop working, and the service keeps a copy of the file in the meantime.

Step two: build the code

The QR code generator on this site makes static codes in the browser tab. It does not take files; it encodes the link you paste, and nothing you type is sent to a server.

  1. Open the link to your PDF in a private browser tab to check that it loads without a login.
  2. Open the generator and choose Link.
  3. Paste the full address of the PDF.
  4. Choose error correction M for paper; Q for a code that may get scuffed.
  5. Scan the code on screen with your iPhone. Apple's guide: hold the camera so "the QR code appears inside the camera frame", then "Tap the link that appears at the bottom of the screen" (Scan a QR code). The PDF should open.
  6. Download SVG for print or a large PNG for documents and slides.

Shorter addresses make simpler codes with bigger squares, which scan more easily from a distance. A file name like menu.pdf is better than a long cloud link if you have the choice.

Who can open a PDF behind a QR code

This table compares the three places to host the file.

Your own website iCloud Drive link PDF-to-QR service
Who can open the PDF Anyone with the code or the address Anyone with the link, when set to Anyone with the link Anyone with the code
Who holds a copy of the file You and your web host You and Apple The service
Can you replace the file later Yes, same name and place Only by editing the same shared file Depends on the plan
What breaks the printed code Deleting or renaming the file, a lapsed domain Moving the file or stopping sharing The service, the plan or the account ending
Kind of code Static Static Usually dynamic

The first row is the same in every column: a PDF behind a QR code is a public document. A photo of the code on a poster or a forwarded picture of a flyer opens the file just as well as the original. Never put an ID, a contract, a bank statement or a medical letter behind a code.

The other question: a QR code inside a PDF

Sometimes people mean the opposite: a PDF document, such as a flyer or a handout, with a QR code printed on it. That is simple:

  1. Make the code in the generator and download SVG.
  2. Insert the SVG into your document in Pages, Word, Keynote or your design tool.
  3. Keep the light border around the code clear of text and images; it is part of the code.
  4. Export as PDF, then print a test page and scan it with two different phones.

SVG stays sharp at any size, so the code prints cleanly whether it is on a business card or an A2 poster.

When an iCloud Drive link is enough

For a public document, a shared link and a static code are all you need:

  • A restaurant menu, a price list, an event programme or a product manual.
  • A file you are happy for anyone to read and forward.
  • A document you will keep in one place in iCloud Drive and not rename.

When you need more than an iCloud Drive link

A link with Anyone with the link is public by design. It suits menus and manuals, not private papers. The private PDFs on most iPhones, such as scans of a passport or ID, contracts, tax forms and medical letters, sit in the Files app or as document scans in Photos. Both open with the phone's own passcode, and Photos scans sync with iCloud Photos to every device on the account.

Keep private PDFs behind a separate lock when:

  • Someone else knows your iPhone passcode.
  • The PDF holds an ID number, an address, account details or health information.
  • You want the file on your device, not in a shared link or a converter's server.

For a password on the file itself, see how to password protect a PDF on iPhone.

How to keep private PDFs in a vault with Stash

Stash looks and works like a calculator. Your PIN opens the vault, and files you import are encrypted on your device with AES-256, with the key kept in the iOS Keychain.

  1. Install Stash from the App Store. It runs on iPhone and iPad with iOS 15 or later.
  2. Open it, choose your PIN and write down the recovery key that Stash shows once during setup.
  3. Tap + and import the PDFs from the Files app. Photos of documents come in from the photo library.
  4. Sort them into albums, for example IDs, contracts and health.
  5. Delete the originals in Files or Photos, and empty Recently Deleted so no copy stays behind.

Public PDFs go behind a QR code; private ones go in the vault.

FAQ

Can a QR code contain a PDF file?

No. A QR code holds about 3 KB at most, according to Denso Wave, so it stores the web address of a PDF that is hosted somewhere else.

Can you create a QR code for a PDF, and how do I create one?

Yes, you can create a QR code for a PDF, but the code will hold the link, not the file. How do I create a QR code for a PDF? Put the PDF at a public address first, then turn that address into a code in a generator, as in steps one and two above.

How to generate a QR code for a PDF?

How to generate a QR code for a PDF in short: host the file, copy its link, paste the link into a QR generator as a Link, test the code with your phone camera and download it as SVG for print.

How to make something a QR code?

To make something a QR code, first turn it into text. For a PDF, an image or a web page, that text is the web address where the file lives; for Wi-Fi, it is a short line with the network name and password. Choose the matching type in the generator, such as Link or Wi-Fi, paste the content and test the result before you print it.

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

Host the PDF on your website or share it from iCloud Drive with Anyone with the link, then paste that link into a static QR generator as a Link and test it.

Are free PDF-to-QR converters really free?

Many make dynamic codes that point to their own short link, which can stop working when a trial or plan ends. They also keep a copy of your file.

Can I update the PDF without changing the QR code?

Yes, if the address stays the same. On your own website, replace the file under the same name; in iCloud Drive, edit the same shared file and do not move it.

Is a PDF behind a QR code private?

No. Anyone who scans the code, or a photo of it, can open the file. Use it only for documents you would hand to strangers.

Why does my PDF QR code ask for a login?

The link is not public. In iCloud Drive, change access to Anyone with the link; on other services, check the sharing setting.

Can I put a QR code inside a PDF?

Yes. Insert the code as an SVG into your document before exporting it as PDF, and keep the light border around it clear.

The Bottom Line

A QR code for a PDF holds a link, not the file: Denso Wave puts the total capacity of a QR code at about 3 KB, far less than a typical PDF. So the real decisions are where the file lives and who can reach it. The table above shows that every option makes the PDF public to anyone with the code, and that the options differ only in who keeps a copy and what breaks the printed code.

Host public PDFs on your own site or in one fixed place in iCloud Drive, make a static code, and test the print. Keep private PDFs, such as IDs, contracts and medical letters, away from links altogether. On iPhone, a vault with its own PIN keeps them encrypted on the device, outside the Photos library and iCloud Photos.

·Written by the developer of Stash

Save this guide

Summary of this guide as an image: How to Make a QR Code for a PDF Without an Upload ServiceDownload this guide as an image