How to Make a QR Code for a PDF, Image or Video
A QR code cannot hold a file. It holds a link to the file. Here is the right way to set it up.
Make a QR code for your file linkUpdated 19 November 2026 · 5 min read
Short answer
A QR code holds only a short piece of data, so it cannot contain a PDF, a photo or a video. Upload the file to an online place (Google Drive, Dropbox, your website or YouTube), set sharing to "anyone with the link", copy the link, and turn it into a QR code with a URL generator. QR4URL does not host files.
Why a QR code cannot contain a file
The biggest QR code holds under 3 KB of data. A normal PDF is hundreds of kilobytes, and a photo is megabytes. So every "PDF QR code" works the same way: the code holds a link, and the link opens a file stored somewhere else. QR4URL does not store or host files, so you will use a service for that part.
Pick where to store the file
| File type | Good place to host | Why |
|---|---|---|
| PDF (menu, brochure, manual) | Your own website, or Google Drive | Your website is the most permanent |
| Image or photo | Google Drive, Google Photos album, your website | Easy share link |
| Video | YouTube (unlisted works), your website | Streams well on mobile data |
| Several files | A Drive folder, or one web page listing them | One code for all files |
Steps with Google Drive
- Upload the file to Google Drive.
- Right-click it and choose Share.
- Under General access, change to Anyone with the link, with the role Viewer.
- Click Copy link.
- Open the URL QR code generator, paste the link and download your code.
- Open an incognito window, scan the code and confirm the file opens without a login.
Updating the file without changing the code
This saves reprints. In Google Drive, right-click the file and choose Manage versions, then upload a new version. The link stays the same, so your printed QR code now shows the updated PDF. This works for uploaded files like PDFs and images. It does not work if you delete the file and upload a new one, because the link changes.
Make files that work on a phone
- Compress the PDF so it opens quickly on mobile data.
- Use readable text sizes. A tiny A4 page on a phone is hard to read.
- Prefer a short web page over a huge file when you can.
- For a video, use a normal streaming link, not a download link.
Privacy check
"Anyone with the link" means anyone who gets the link, including everyone who sees your printed code. Do not use this setup for private documents. For something sensitive, use a service with a login, and tell your audience how to access it.
Related: YouTube QR codes and QR codes for any link.
Frequently asked questions
Can a QR code contain a PDF?
No. A QR code holds a small amount of data. It holds a link to the PDF stored online.
How do I make a QR code for a PDF?
Upload the PDF to Google Drive or your website, copy the public link, and make a URL QR code from it.
Can I make a QR code for an image or a photo?
Yes. Upload the image online, copy its share link, and generate a QR code for that link. A photo album link works well for several images.
Can I update the PDF without changing the QR code?
Yes, if you use Manage versions in Google Drive or replace the file at the same web address. The link, and so the code, stays the same.
Does QR4URL host my files?
No. QR4URL creates the code for your link. You host the file on a service you choose.