How to Create a QR Code to Download a File: PDF, Word, Excel, Images, and More


A QR Code is a secure and easy way to share files for downloading. Check our step-by-step guide on how to create a QR Code to download a file.
A file download QR Code lets users open or download a file with a single scan. If the file might change after printing, use a dynamic QR Code as you can update the file without touching the printed code.
Here's why it matters: print 500 brochures with a QR Code linking to a product specification PDF, update the PDF six months later, and a static QR Code keeps sending every scanner to the outdated version. A dynamic QR Code lets you swap the file behind the same code, so every future scan reaches the latest version automatically.
Creating a file download QR Code is straightforward. The decision that actually matters is whether to use a static QR Code, which permanently locks in the original file, or a dynamic QR Code, which lets you update the destination without reprinting anything.
This guide covers how to create a file download QR Code in five steps, generate QR Codes for different file types, choose between static and dynamic options, and create QR Codes for Google Drive files when direct upload isn't possible due to format or size limits.
How to create a QR Code to download a file
Create a file download QR Code by selecting the matching dynamic QR type, uploading the file, customizing the design, and downloading. The complete flow in the Uniqode dashboard takes five minutes.
Step 1: Log in and click "+Create." Select "QR Code" from the options panel.
Step 2: Choose the QR Code type that matches your file. PDF files have a dedicated dynamic type. Image files (JPEG, PNG) have their own type. MP3 audio files have a separate type. For file formats not listed as standalone types, including Word, Excel, and video, use a Website QR Code pointed at a Google Drive sharing link. Selecting any dynamic type means the file destination can be updated later without reprinting the code.

Step 3: Upload the file or paste the URL. PDFs and MP3 files upload directly (50 MB limit). Images upload directly (5 MB limit). For Google Drive links, paste the shareable URL in the URL field. Uniqode stores the file and serves it at scan time.
Step 4: Customize the design. Add a logo, select a color scheme that matches your brand, and add a frame with a call-to-action label. "Download Now" and "Get PDF" work well for file download codes because they tell the scanner exactly what happens before they scan. Check the scannability indicator before moving to the next step. It grades the code EXCELLENT, GOOD, or POOR based on contrast, color ratio, and error correction level. Print only when the indicator reads EXCELLENT.

Step 5: Download the QR Code. Select SVG for print materials. SVG scales to any size without quality loss. Select PNG for digital use: email, website, and social media. Do not use JPEG for QR Codes. JPEG compression degrades the fine grid details that the scanner needs to read the code reliably.
Set the minimum print size at 2.5 cm by 2.5 cm (about 1 inch). Codes printed smaller than this will not scan on most smartphone cameras, regardless of quality rating.
How to create QR Codes for different file types
A file QR Code can be used for any file format with a public URL. Choose the QR Code type based on whether the file has a dedicated type in the dashboard or requires the Google Drive workaround.
In Step 2, select "PDF" from the dynamic QR Code types and upload your file (up to 50 MB). The code links directly to the hosted PDF. When the document needs updating, replace the file from the code's Edit screen in the dashboard. Every existing code immediately delivers the updated version, with no reprinting required.
Common uses: product spec sheets, event programs, training manuals, patient intake forms, and conference handouts.
Word and Excel documents
Word and Excel files don't have a dedicated QR Code type. To share them, upload to Google Drive, set sharing to "Anyone with the link can view," and copy the shareable URL. In the Uniqode dashboard, select Website QR Code and paste the Drive URL. This method works for any file format and removes file size restrictions entirely.
Which QR Code type to use for each file format
| File type | Direct upload | Size limit | QR Code type | Google Drive workaround |
|---|---|---|---|---|
| Yes | 50 MB | PDF type | No | |
| JPEG/PNG | Yes | 5 MB | Image type | For files over 5 MB |
| MP3 | Yes | 50 MB | MP3 type | No |
| Word/Excel | No | - | Website type | Yes - required |
| MP4 Video | No | - | Website type | Yes - required |
| ZIP/Other formats | No | - | Website type | Yes - required |
Images (JPEG and PNG)
Select "Image" from the dynamic QR Code types. JPEG and PNG files upload directly (5 MB limit). For high-resolution assets that exceed 5 MB, use the Google Drive method.
Audio files (MP3)
Select "MP3" from the dynamic QR Code types. MP3 files upload directly (50 MB limit). When the code is scanned, the file opens in the phone's default audio player.
Video and other formats (MP4, PowerPoint, ZIP)
Video files and other formats do not have a standalone QR type. Upload to Google Drive (for documents and presentations) or YouTube (for video) and create a Website QR Code pointing at the sharing URL. Google Drive handles MP4, PowerPoint, ZIP, and any format Google Drive can preview or serve.
Google Drive workaround: step-by-step
Upload the file to Google Drive. Open the file, click Share, and set the access level to "Anyone with the link can view." Click "Copy link." In the Uniqode dashboard, create a new QR Code, select "Website," and paste the Drive URL. This QR Code behaves as a dynamic code: update the Drive file and the code reflects the change at the next scan.
Before publishing a Google Drive QR Code, verify two things. First, confirm the file access is set to "Anyone with the link" and not "Restricted." Restricted files require sign-in, and users without a Google account hit an access error. Second, test the QR Code on a device where you're not signed into Google Drive. Drive grants owners access without prompting for permissions, which masks the errors everyone else will encounter.
Dynamic vs. static QR Codes for file sharing
Use a dynamic QR Code for any file that might need updating. Static codes lock in the destination URL at creation. A static code printed on 500 brochures delivers the same file version forever, regardless of what changes in the source document.
Dynamic QR Codes remove that constraint entirely. Upload the revised PDF to the dashboard, update the file on the code's edit screen, and every existing code delivers the latest version immediately. No reprinting, no redistribution.
Version control problems rarely surface until they cause real damage like a spec sheet linking to a discontinued product, a patient form with outdated dosages, a training manual referencing an obsolete policy. Printed codes give no indication that the file behind them has changed.
Static codes from free QR generators work for permanent content: an unchanging YouTube video, a stable website address. For business documents distributed in print, any update requires a full reprint.
Dynamic file QR Codes also provide scan tracking. Every scan records the date, time, device type, and location and because each scan corresponds to a download, scan count is your distribution metric. Uniqode integrates with Google Analytics, so scans appear as tagged sessions in GA4 and feed directly into campaign attribution.
According to Uniqode's State of QR Codes 2026 report, 44% of marketers consider analytics the most important QR Code feature, based on analysis of 188 million scans across 796,000 QR Codes and a survey of 524 marketers. For file distribution, confirming document downloads gives teams attribution data they have no other way to access.
"Creating QR Codes is quick, and being able to track their performance has proven to be essential for our business."
— Marcelo Yanez, Product Manager at Nestlé Waters
Best practices before you create a QR Code to download a file
Three decisions made before printing determine whether your QR Code works as intended throughout its lifespan. The most common failure point is using a static code on a document that later changes.
Choose dynamic codes for all business files: Most free QR generators create static codes, which work for personal or one-time uses like portfolios, wedding programs, single-use flyers. Business files that get updated, revised, or tied to ongoing campaigns require dynamic codes.
Check scannability before downloading the final file: The scannability indicator in the Customize step grades the code EXCELLENT, GOOD, or POOR based on contrast ratio, color selection, and error correction level. Print only at EXCELLENT. A GOOD rating means some phones will fail to scan, particularly at print sizes below 4 cm, in low ambient light, or on textured or slightly reflective stock.
Use SVG for print and PNG for digital: SVG scales without quality loss and is required for commercial printing. PNG works for websites, email footers, slide decks, and social posts. Avoid JPEG as its compression degrades the pattern details QR scanning depends on.
Password protect restricted files: For confidential documents, internal materials, or files not intended for public access, set a password in the Customize step under Show Advanced Settings. Scanners see a password prompt before downloading. You can change the password at any time without reprinting the code. Passwords must be at least six characters.

Keep the code at or above 2.5 cm when printing. A QR Code printed at less than 2.5 cm by 2.5 cm (1 inch) will fail on most smartphone cameras regardless of how it scores in the scannability checker. At 2.5 cm, the code requires high contrast between the QR pattern and background. At 3 cm or larger, the margin for error grows substantially.
Get started: Create your QR Code for downloading a file with Uniqode
Whether it is a PDF document or any other multimedia such as audio, video, and image, share any document you want with Uniqode’s QR Code generator.
Uniqode’s QR Code solution is safe, easy to use, and cost-effective. We are SOC 2® Type 1 and Type 2 certified and rated as the best QR Code generator on G2.
Frequently Asked Questions
- Can you track how many times someone downloads a file from your QR code?
Yes, dynamic QR codes provide comprehensive tracking data including total number of scans, scan date and time, device type used, and location information. Since each scan triggers an automatic file download, the total scan count directly represents the number of file downloads. Platforms like Uniqode offer integration with Google Analytics for more extensive data analysis of your QR code performance.
- Why should you add a logo to a file download QR code?
Adding your brand logo to a QR Code builds trust and helps prevent users from fearing malignant file downloads, as plain black-and-white codes may appear suspicious. Branded QR Codes with logos provide immediate brand recognition and lend organizational authority, making users more confident about scanning and downloading files. Dynamic QR Codes specifically offer advanced customization allowing you to add logos, custom colors, shapes, frames, and clear call-to-action text like 'Download Now.'
- How to create a QR Code for file downloads?
Creating a file download QR Code requires 5 simple steps: log into your QR Code generator dashboard, select the type of QR Code based on your file type, upload your file or paste the shareable URL, customize the appearance with colors and branding, and then download the finished code. The entire process takes just minutes and requires only the document file you want to share and access to a QR Code generator platform.
- Can you share a file with a QR Code?
Yes, you can share a file with a QR Code easily. Whether a PDF, audio, video, or image, share any file with your audience using dynamic QR Codes.
- Can a QR Code generate a PDF?
Yes, a QR Code can redirect to a PDF file. Create a PDF QR Code on Uniqode’s PDF QR Code generator and easily share PDF files.
- What is a file download QR Code?
A file download QR Code is a QR Code that, when scanned, opens or downloads a specific file. The file is hosted on a server and accessed via a URL stored in the QR Code. PDFs open in the mobile browser or download directly depending on the phone's settings. Images display immediately on screen. Audio files open in the device's media player. The QR Code itself contains the delivery mechanism; the file lives on the server.
- Can I update the file without printing a new QR Code?
Yes, with a dynamic QR Code. Dynamic codes store a redirect URL rather than the file address directly. When you upload a replacement file and save the change, the redirect updates. Every existing code immediately points to the new file. Static codes store the destination permanently and cannot be changed after printing.
- What file types work with a QR Code?
Any file accessible via a public URL works with a QR Code. PDFs, JPEG and PNG images, and MP3 audio files upload directly to the Uniqode dashboard. Word, Excel, PowerPoint, MP4 video, and other formats use the Google Drive workaround: upload to Drive, set sharing to "Anyone with the link can view," then create a Website QR Code with the Drive URL.
- What is the maximum file size for a QR Code?
The direct upload limit is 50 MB for PDFs and MP3 files, and 5 MB for JPEG and PNG image files. Files larger than these limits upload to Google Drive and connect via a Website QR Code. The Google Drive method removes the size ceiling entirely.
- How do I make a QR Code for a Word document?
Upload the Word file to Google Drive, copy the shareable link, and create a Website QR Code in Uniqode using that link. Open Google Drive, upload the Word file, click Share, set access to "Anyone with the link can view," and copy the URL. In the Uniqode dashboard, click "+Create," select "QR Code," choose "Website," and paste the URL. The QR Code links to the Google Drive preview of the document.
- Can I track how many times a file has been downloaded?
Yes, with a dynamic QR Code. Every scan records the date, time, device type, and scan location. Because each scan triggers a file load, scan count equals download count. Uniqode connects to Google Analytics so scans appear as tagged sessions in GA4, letting you attribute downloads to specific campaigns. 44% of marketers rank analytics as the most important QR Code feature, according to the State of QR Codes 2026 report (188 million scans analyzed).
- Can I password protect a file QR Code?
Yes. In the Uniqode dashboard, open the Customize step and select Show Advanced Settings. Enable the Passcode option and set a password of at least 6 characters. Scanners see a prompt before the file loads. The password can be updated at any time without reprinting the code.
- Is it safe to scan a QR Code that links to a file?
QR Codes from certified platforms are safe to scan. The risk with QR Codes generally comes from codes placed on unverified, unknown surfaces, particularly in public spaces. Look for branded codes with a logo and a visible CTA frame: these identify the source before you scan. Uniqode runs automatic malware and phishing detection on all QR Code destinations and is SOC 2 Type II, GDPR, HIPAA, and ISO 27001 certified.
- How do I use Google Drive to create a file QR Code for large files?
Upload the file to Google Drive, open sharing settings, set access to "Anyone with the link can view," copy the URL, and create a Website QR Code in Uniqode using that URL. This method works for any file format Google Drive can host, including MP4 video, ZIP archives, and large PowerPoint files. The QR Code behaves as a dynamic code: replace the Drive file and the code serves the updated version at the next scan.

