Google Docs QR Code Generator
Sign up to save QR Codes and create up to 2 Dynamic QR Codes completely freeTwo ways to get a link people can open
You can share the document with Anyone with the link, or publish it to the web. A code is only as useful as the permission behind it, so picking the right kind of link matters more than anything you do in the generator.
Option one: share with Anyone with the link
Click Share in the document, open the menu under General access, choose Anyone with the link, set the role and click Copy link, as Google's sharing help describes.
People who scan the code see the real document, in the Docs editor or app, and can do whatever the role allows: Viewer to read, Commenter to leave comments and suggestions, Editor to change it. For anything on public display, Viewer is the safe choice.
Option two: publish to the web
Docs, Sheets and Slides can each publish a file to the web. Google's publishing help says you then get a new URL to send to anyone or embed, and that, depending on your account's settings, the published version is visible to everyone on the web, to everyone in your organization, or to a group within it.
It's a lighter page without the editing tools, which makes it pleasant to read on a phone.
Copy whichever link you chose into the Website field above. The preview redraws to match, and the download button gives you the finished code.
Keeping the content fresh
The best thing about pointing a code at a Google Doc is that the document can change while the printed code stays the same. A shared document always opens the current version. A published one follows the original when Automatically republish when changes are made is checked, Google says; in Docs and Sheets you can turn that off if you'd rather approve each update.
That makes a Docs code a good partner for things that change often but are printed once: a church or club newsletter, a sign-up sheet in Sheets, a work schedule pinned in a break room, a reading list on a library desk, a set of lecture slides on a conference badge, or the house rules in a vacation rental.
Work and school accounts
On a Google Workspace account, your administrator decides how far files can travel. Google notes that the ability to publish can be turned off by an administrator, and sharing outside the organization can be restricted too.
Before printing, scan the code from a phone that's signed out of the work account. If it asks for access or a sign-in, members of the public will see the same thing.
Putting the code into the document itself
Sometimes you want the code printed on the document, say a link to the online version at the foot of a printed handout. Download a PNG here, then use Docs' own Insert menu to add it as an image. Leave white space around it and don't shrink it too far: Docs links are long and make dense codes, so print the page once and scan it to check.
About the preset
The preset is a document blue, #174EA6, with rounded corner squares and a frame that reads Read the doc. Its contrast with white is about 7.9 to 1, so the meter rates it Excellent, and the frame text makes clear what a scan opens. If the document might move to a different file or service, a dynamic QR code can be pointed at the new address later.
Frequently asked questions
Related pages
Browse all QR code typesQR Penguin isn't affiliated with or endorsed by Google. Google is a trademark of its owner.