QR Code for a OneDrive File or Folder
A QR code lets people open a OneDrive file or folder by pointing a phone camera at a flyer, a handout or a poster. Paste the shared link below and download a code in about a minute. You do not need an account.
Updated November 3, 2026
Where a OneDrive code works well
- On a class handout, linked to a folder of slides or readings.
- On a real estate flyer or open-house sign, linked to a folder of photos or a floor plan.
- On a portfolio card or business card, linked to a folder of your work.
- On an event program, linked to a schedule, a map or a photo folder.
- On a product box or manual, linked to a PDF guide or a set of files.
How to make a QR code for a OneDrive file or folder
- In OneDrive, select the file or folder, choose Share, then Copy link.
- Check the link settings: choose that anyone with the link can view, so people do not need a Microsoft account.
- Paste the link into the box above and press Generate QR code.
- Scan the code with a phone, signed out of OneDrive, and check that the right file or folder opens.
- Download the PNG and add it to your handout, flyer or poster, with a short caption next to it.
Avoid the common OneDrive problems
- Anyone who has the link can open it, so share only files you are happy for the public to see, and keep private files out of the shared folder.
- Choose view-only access, so nobody can change or delete what you shared.
- Do not move, rename or delete the file after you print, because the shared link may stop working.
- Say what is behind the code in a caption, such as "Scan to open the photos".
- Print a short web address as text too, for anyone who cannot scan.
Size and placement
Print the code at least 2 x 2 cm (0.8 x 0.8 inches) on a card or handout, and larger on a poster, black on white with a clear blank margin. Place it where people already look, at eye level, and not behind glare. Scan the printed copy before you print a full run.
If the file or the link changes
A code made on this page opens a short qrfrog link that forwards to your OneDrive page. With Pro, which is $7 a month or $60 a year, you can point that short link at a new file or folder, so flyers and signs already printed keep working. If you cancel Pro, your codes keep working, you just cannot edit them anymore.
The static vs dynamic guide explains the trade-off, and the permanent QR code guide covers what to check before you print.
A OneDrive code is the natural pick when your own files already sit in Microsoft 365. For recipients who prefer another service, a Dropbox shared link QR code for any device works the same way, and an Airtable form QR code for collecting replies helps when you need answers back, not just a download.
Frequently asked questions
How do I make a QR code for a OneDrive file or folder?
In OneDrive, select the file or folder, choose Share, then Copy link. Paste it into the box on this page, press Generate QR code and download the PNG or SVG.
Is a QR code for a OneDrive link free?
Making the code here is free and does not need an account, and a free code has no trial period and no expiry date.
Why does my OneDrive QR code ask people to sign in?
The link is probably limited to specific people or to your team. Open the link settings in OneDrive, choose Anyone with the link and view only, and the code will open without a sign-in.
What happens if I move or delete the file?
The shared link stops working, and every printed code that points to it stops working too. Keep the file where it is, or make a new link and point the code at it with Pro.
Can I point the code at a different file after I print?
To change the link behind the code itself, you need Pro, which is $7 a month or $60 a year. If you cancel Pro, your codes keep working.