Skip to content
Free, no account, runs in your browser

Google Drive QR code generator: share a file, Doc or folder

Most Drive codes that fail have nothing wrong with the code: the file is still restricted. Set the sharing first, then make the code from the link.

Updated

url

No https:// needed; it is added for you.

Colours, size and error correction
#0b1530
#ffffff
Quiet zone
Colour options
Dots
Corners
Error correction

Higher levels survive scratches and logos but make the code denser. M suits most uses.

Logo and frame

Error correction switches to H when you add a logo. Sizes from 10% to 30% are allowed; the scan test below tells you if the logo is too big.

Frame

Fill in the fields and your code appears here.

What the code contains
How do I make a QR code for a Google Drive file?In Drive, select the file and click Share. Under General access, choose Anyone with the link and set the role to Viewer, then click Copy link. Paste the link into the generator above and download the code. Test it on a phone that is not signed in to your Google account to make sure it opens for everyone.

How to use it

  1. Open the sharing settings

    Select the file, Doc, Sheet or folder in Drive and click Share.

  2. Allow anyone with the link

    Under General access, choose Anyone with the link and set the role to Viewer. Commenter and Editor let people comment on or change the file.

  3. Copy the link

    Click Copy link, then Done. Paste the link into the Link field above.

  4. Test signed out

    Scan the code on a phone in a private browser window, not signed in to your account. If it asks for access, the sharing is still restricted.

Which sharing setting should a QR code use?

A QR code goes to anyone who sees it, so treat the file as public. Viewer is the right role for almost every printed code. Google Drive lets viewers and commenters download, print and copy the file by default; the owner can turn that off in the sharing settings if it should only be read online. Never give Editor access through a printed code: editors can change the file and its sharing.

RoleWhat people who scan can doUse for
ViewerOpen, and by default download or printMenus, brochures, handouts, price lists
CommenterOpen and add commentsFeedback on a draft from a known group
EditorChange the file and its sharingNot for printed codes

What if the file changes?

Edits to the same Google Doc or Sheet show up for everyone who scans, so a living document needs no new code. Uploading a new PDF to Drive, though, creates a new file with a new link, and the printed code keeps opening the old one. A dynamic code from BN Shortener holds a short b1.lc address you can repoint to the new file, and it counts every scan. BN Shortener file links are another option: upload the file itself and share it through a short link.

Drive links open in the Drive app or the browser and can be slow for large files on mobile data. For a one-page flyer or menu, a PDF or a mobile web page is quicker to read. See how to make a QR code for a PDF.

  • Name the file clearly: people see the name when it opens.
  • Keep personal data out of any file shared with 'Anyone with the link'.
  • Check the sharing again after moving the file to a shared drive.

Sources

  1. Share files from Google Drive, Google Drive Help, checked 2026-10-24

Questions

Why does my Google Drive QR code say I need access?

The file is still restricted. Open Share, set General access to Anyone with the link, and test again on a phone that is not signed in.

Can people download the file from the QR code?

By default, viewers and commenters can download, print and copy it. The owner can turn that off in the file's sharing settings.

Can I make a QR code for a whole Drive folder?

Yes. Share the folder with Anyone with the link as Viewer, copy its link and make the code. Everyone who scans sees every file in the folder.

Will the code still work if I replace the file?

Not if the new file has a new link. Edit the same Doc or Sheet instead, or use a dynamic code you can repoint to the new file.

Is a Google Drive QR code private?

No. Anyone who sees the code, or a photo of it, can open the file. Only share files that are fine to be public.

Try it on your next link

The Free plan includes a custom domain, 5 dynamic QR codes, a bio page and click analytics. No credit card.