EndureQR

Use cases

How to make a QR code for a Google Doc, Sheet or Drive file

A QR code can open any Google Doc, Sheet, Slides deck or Drive file. The code is the easy part; the sharing setting decides whether people see your file or a "You need access" page. Here's how to get both right.

By Armaghan Abdul Qayyum · Updated · 6 min read

To make a QR code for a Google Doc, open the document, click Share, set General access to Anyone with the link with the role Viewer, and click Copy link. Paste that link into a free URL QR code generator, download the code and scan it on a phone that isn't signed in to your Google account. The same steps work for Sheets, Slides, Forms and any file or folder in Google Drive.

Step 1: Set the sharing so anyone can open it

  1. Open the file in Google Docs, Sheets or Slides, or right-click it in Google Drive and choose Share.
  2. Under General access, change Restricted to Anyone with the link.
  3. Set the role on the right to Viewer, unless you really want strangers to edit or comment.
  4. Click Copy link, then Done.

Step 2: Make the QR code

  1. Open the free QR code generator and paste the link.
  2. Add a frame with text such as "Scan for the timetable" or "Scan for the price list", so people know what they'll get. See how to add text to a QR code.
  3. Download SVG or PDF for print, or PNG for slides and screens.
  4. Scan it with a phone in a private browser window, or one that's signed out of Google, to see what everyone else will see.

Google Docs, Sheets and Slides links end in /edit followed by extra text. Change that ending before you make the code to control what people get:

Change the end of the link toWhat people getGood for
/previewA clean read-only view, without the editing toolbarMenus, timetables, notices
/copyA prompt to make their own copy (they need a Google account)Templates, worksheets, planners
/export?format=pdf (Docs and Sheets)A PDF download of the current versionHandouts people want to keep
/present (Slides)The deck opens straight into full-screen presentation modeTalks, kiosks, screens

Test each changed link in a browser before making the code. Everything after /edit, such as ?usp=sharing, can be removed; that also makes the link shorter and the code simpler to scan.

Sharing a Doc publicly without a Google sign-in

Some phones open Google links in the Docs or Sheets app and ask people to sign in. For a public notice, a menu or a price list, Publish to the web avoids that: in Docs, Sheets or Slides, open File, then Share, then Publish to web, and click Publish. You get a separate link to a plain web page that anyone can open, which updates when you edit the file. Use that link for the QR code.

Work and school accounts

If your Google account belongs to a company or school, the administrator may only allow sharing inside the organisation. In that case "Anyone with the link" won't appear, and the code will only work for colleagues or students who are signed in. Ask your administrator, or move the file to a personal account if it's meant for the public.

Will the code keep working?

A Google Docs link never changes while the file exists, even as you edit it, so a free static code keeps working. It stops if you delete the file, move it out of a shared drive you don't own, or set sharing back to Restricted. If you'll replace the file with a new one each term or season, use a dynamic QR code and point the printed code at the new file. For PDFs, see how to make a QR code for a PDF; for sign-up forms, see Google Form QR codes.

FAQ

Quick answers.

Something else? Email hello@endureqr.com and a person will reply within one business day.

The file's General access is still Restricted. Open Share, change it to Anyone with the link with the Viewer role, and the same QR code will open the file.

Yes. Share the folder with Anyone with the link, copy its link and turn it into a QR code. People see the list of files and can open or download them.

Not to view a file shared with Anyone with the link. Some phones open the Docs or Sheets app and ask to sign in; using Publish to web, or the /preview link, gives a plain page instead.

Yes. The link points to the live document, so people always see the latest version without a new code.

Yes. Set the sharing role to Viewer. Anyone who scans can read the file but not change it.

Print it once. Change it any time.

Make your first dynamic code in a minute. If you ever leave, it keeps working.