For a public handout, our recommended starting point is Anyone with the link + Viewer—only if the content is suitable for public sharing. For private material, keep access restricted and authorize the intended readers instead. Google distinguishes these access settings explicitly. [3]
1. Choose who can open the file
Open your Doc, Sheet, or Drive file and select Share. Treat these as two separate decisions:
- Audience: Who can open the link?
- Role: What can an authorized person do?
Google’s sharing dialog provides both audience and role controls. [1]
Choose the audience
- Anyone with the link: People can open the file without signing in to a Google Account.
- Restricted: Only people already given access can open it.
- Your organization, when available: Access is limited to the organization under its allowed sharing settings.
Work or school administrators may restrict external sharing. Do not assume a missing public-sharing option is a QR-code problem. [3]
Choose the role
| Role | What it allows | Recommended use |
|---|---|---|
| Viewer | Read without editing or commenting | Handouts and reference material |
| Commenter | Leave comments without directly editing content | Feedback on a shared draft |
| Editor | Change content and add comments | Trusted collaborators |
Google documents these role differences. Use Viewer for handouts and reserve Editor for people who need to change the file. [4]
2. Copy the share link
On a computer:
- Open or select the file and click Share.
- Under General access, choose the intended audience.
- Select the appropriate role.
- Click Copy link, then Done.
For a restricted file, add the intended people or group in the sharing dialog as well. Copying a link alone does not authorize new recipients. [3]
3. Create and download the QR code
You can use desktop Chrome’s documented QR feature:
- Open the copied share link in Chrome.
- Open the More menu.
- Select Cast, save, and share → Create QR code.
- Select Download to save the image.
These menu steps come from Google’s desktop Chrome help, not hands-on testing for this article. [2]
Our recommendation: keep the original share link alongside your downloaded image so you can check the intended destination before placing the code in a flyer or presentation.
Google Sheets: check the entire workbook first
Use the same sharing-and-QR workflow for a spreadsheet, but review every tab before sharing it broadly. Hidden tabs are not a privacy boundary. Google says editors can unhide them, and viewers may access hidden content—for example, by making a copy and unhiding the sheets. Protected ranges also should not be treated as a security measure. [5]
For a public schedule or price list, we recommend creating a separate spreadsheet containing only the information intended for that audience.
PDFs and other shared Drive files
For a PDF or another file stored in Drive, copy that item’s share link and follow the QR-creation steps above. Drive supports sharing stored files and folders through its access controls. [1]
Check inherited access, too: someone with Editor access to a parent folder cannot simply be reduced to Viewer on an individual file inside it. Google recommends moving sensitive material or using a dedicated limited-access folder when more restrictive access is needed. [3]
Test access—not just whether the code scans
Recommended pre-publication checklist:
- Scan the downloaded image with a phone.
- Confirm the intended file opens, not another document.
- For public viewing, check the link in a signed-out or private browser session.
- For restricted sharing, ask an intended recipient to open it using their authorized account.
- If printing, check a sample at the intended size before producing the full batch.
A successful owner-account check is not enough: Google specifically advises users with multiple accounts to use the account that has access. A “You need access” message means the person lacks permission, not necessarily that the QR image is defective. [4]
Do you need “Publish to web” instead?
Not for the ordinary share-link workflow above. Publishing is a separate option that creates a new URL and a non-editable presentation of the content. Depending on account settings, its audience may be the web or a permitted organizational audience. [6]
For an intentionally public, read-only document, you can consider File → Share → Publish to web and encode the resulting published URL instead. Sheets can publish the entire spreadsheet or individual sheets. Review the publishing selection carefully; removing published content requires stopping publication, which is separate from changing collaborator access. [6]
References
[1] Google Workspace Learning Center — Share files and folders in Drive — https://support.google.com/a/users/answer/9310248?hl=en
[2] Google Chrome Help — Share tabs in Chrome — https://support.google.com/chrome/answer/10051760?co=GENIE.Platform%3DDesktop&hl=en
[3] Google Drive Help — Share and manage access to files and folders in Google Drive — https://support.google.com/drive/answer/7166529?co=GENIE.Platform%3Ddesktop&hl=en
[4] Google Drive Help — Learn more about access to Google files — https://support.google.com/drive/answer/16722399?co=GENIE.Platform%3DDesktop&hl=en
[5] Google Docs Editors Help — Protect, hide & edit sheets — https://support.google.com/docs/answer/1218656?hl=en
[6] Google Docs Editors Help — Make Google Docs, Sheets, Slides & Forms public — https://support.google.com/docs/answer/183965?co=GENIE.Platform%3DDesktop&hl=en



