Google Docs is where a lot of handouts, worksheets, sign-up sheets, resumes and event flyers get written, so it is natural to want a QR code right on the page. Docs doesn't have a built-in QR code button, but you don't need one: you make the code as an image and insert it like any picture. This guide covers both jobs people usually mean by "QR code in Google Docs": putting a QR code into a document, and making a QR code that opens the document itself.
The short answer
- Make the code: create it in a generator such as QR Studio and download the PNG.
- Insert it: in Google Docs, click Insert → Image → Upload from computer and pick the PNG.
- Size and place it: drag a corner handle, keep it square, and choose a text-wrapping option.
- To link to the Doc itself: set Share → General access to "Anyone with the link" (or the right group), copy the link, and make a QR code from that link.
- Before printing or sharing: scan the code from the screen and from a test print.
Step 1: Make the QR code image
Google Docs needs an image file, so start in a QR generator:
- Open QR Studio and choose the mode you need: URL for a website, form or file link, WiFi for network details, vCard for a contact card, or Text.
- Enter the content. For links, paste the full address including https://.
- Keep dark modules on a light background. Colors that look great on screen can fail to scan in print; see QR code colors that scan.
- Download the PNG. Everything is generated in your browser.
Docs uploads common image formats such as PNG and JPG, so PNG is the right choice here. (If you design elsewhere and prefer vector files, our SVG vs PNG guide explains the trade-offs.)
Step 2: Insert it into your Google Doc
On a computer:
- Click where you want the code to go.
- Open Insert → Image → Upload from computer.
- Choose the PNG you downloaded.
You can also use Insert → Image → Drive if you saved the file to Google Drive, or simply drag the PNG from your desktop into the document.
In the Google Docs mobile app, tap the + (insert) button, choose Image, and pick the file from your photos or files. Menu names change from time to time, so look for the closest match if yours looks different.
Step 3: Size it and keep it square
Click the image and drag a corner handle, not a side handle, so it stays square. A stretched QR code may not scan. For exact sizing, open Image options (from the toolbar or by right-clicking the image) and use Size & rotation, with the aspect ratio locked.
How big? It depends on how far away people will scan from. Codes on a handout held in the hand can be fairly small, while a code on a poster across a room needs to be much larger. Our minimum QR code size and QR code size for print guides give practical rules of thumb. When in doubt, go bigger, especially for long URLs, which make denser codes.
Step 4: Choose a text-wrapping option
When you click the image, Docs shows layout options under it:
- In line: the code sits in the text like a big character. Simplest and most predictable; good for centering a code on its own line.
- Wrap text: text flows around the code. Useful for a flyer or resume with the code beside a block of text.
- Break text: the code sits on its own with text above and below.
- Behind text / In front of text: avoid these for QR codes. Text overlapping the code will stop it from scanning.
Whichever you choose, keep a clear margin of white space around the code. That margin, called the quiet zone, is part of what scanners look for; see QR code quiet zone.
Step 5: Make it clickable for digital readers
People reading your document on a screen can't easily scan a code on that same screen. Add a link to the image so they can click it instead: select the image, choose Insert → Link (or press Ctrl+K, or Cmd+K on a Mac), and paste the same URL that is in the code. When the Doc is exported as a PDF, the link usually carries over too. It is also good practice to print the short URL as text under the code, for anyone who can't scan.
How to make a QR code for the Google Doc itself
Sometimes the goal is the reverse: you want a code on a poster or slide that opens your Doc. The most common problem here isn't the QR code at all; it is sharing permissions.
- In the Doc, click Share.
- Under General access, choose who can open it. "Anyone with the link" works for the general public; a school or company account may let you restrict access to your organization.
- Set the role, usually Viewer, unless you really want scanners to edit the document.
- Click Copy link.
- Paste the link into QR Studio in URL mode and download the PNG.
- Test it on a phone that is not signed in to your account, or in a private browser window, to see what a stranger will see.
If the Doc is restricted, people who scan will hit a "request access" page instead of your content. If you later move or delete the Doc, the code will point to a dead page, because a static QR code contains the URL itself. Our guide to static vs dynamic QR codes explains your options if the link may change.
Chrome on desktop also offers a QR code for the page you are viewing through its share options, which can be a quick way to generate one, but QR Studio lets you control colors and download a clean PNG for printing.
Common uses
Pre-print checklist
- Scan from the screen with two different phones if you can.
- Check the destination is exactly right and opens without asking for access.
- Download as PDF (File → Download → PDF document) and scan the PDF, since that is often what gets printed.
- Print one test copy at actual size and scan it from the distance people will use.
- Look at contrast and margins on the printout. Light printers and colored paper can weaken a code. If it won't scan, see QR code not scanning.
Frequently asked questions
Does Google Docs have a built-in QR code generator?
Not as a standard menu option. Make the code in a QR generator, download the PNG, and insert it with Insert → Image. Some third-party add-ons exist, but check what permissions they ask for.
How do I make a QR code for a Google Doc?
Click Share, set General access so the right people can open it, copy the link, and turn that link into a QR code in URL mode. Test it while signed out.
Why does my Google Doc QR code say I need access?
The Doc's sharing settings are restricted. Change General access to "Anyone with the link" (or your organization) and choose Viewer. The QR code itself doesn't need to change if the link stays the same.
Can I make a QR code in a Google Doc clickable?
Yes. Select the image, insert a link with the same URL, and readers on a screen can click it.
What size should a QR code be in a Google Doc?
It depends on scan distance and how much data the code holds. For a handout held in the hand, a modest size is usually fine; for posters, go much larger. Always test a printed copy.
Keep reading