How-to guides
How to make a QR code in Google Docs
In Google Docs use Insert → Image → By URL and paste a UseQR API link such as https://useqr.app/api/v1/qr?data=your-link&size=600 — the code appears immediately, no download or upload needed. Docs fetches the image once and stores its own copy, so the document keeps working regardless of the URL later.
1. The one-step route: insert by URL
Google Docs can insert an image straight from a URL, and every UseQR code has one — the keyless API turns any payload into a PNG:
- Build the URL. The pattern is:
https://useqr.app/api/v1/qr?data=https://example.com/your-page&size=600
If your payload contains spaces, & or other special characters, URL-encode it —
or simpler, build the code in the generator first and copy the API link.
2. In the Doc: Insert → Image → By URL, paste, and confirm.
The code appears in the document immediately. No file was downloaded to your machine or uploaded to Drive.
2. What Docs actually stores
A detail worth knowing: Docs fetches the image once at insert time and stores its own copy inside the document. The image does not re-fetch on every open. Consequences:
- The document keeps working forever, offline included — it does not depend on the API being reachable later.
- Changing the code means repeating the insert with a new URL. Editing the old URL changes nothing already placed.
- The payload itself is still static — the destination is baked into the code, and static codes never expire.
3. Size it for how the doc will be read
Click the image and drag a corner handle (sides distort), or use Image options → Size for exact dimensions. Two regimes:
- Printed docs: at least 2 cm wide at reading distance — the
print size rules apply the moment paper is
involved. Generate with
size=600or more so 300 DPI is available at that width. - Screen-only docs: anything from ~150 px display width scans from a phone pointed at the monitor, but bigger is kinder.
Keep clear space around it — no table borders or text against the code's white margin, which is its quiet zone.
4. The alternative: insert a file
If you want styling — colours, logo, module shapes — build the code in the generator, download the PNG, and Insert → Image → Upload from computer. Same result, one extra step, full styling control. (Docs does not accept SVG uploads; use PNG at 600 px or more.)
5. Verify from the final artefact
If the document will be printed, print one copy and scan it. If it ships as a PDF (File → Download → PDF), scan the PDF on screen or run it through the validator. Google's PDF export preserves image quality well, but thirty seconds of checking beats a reprint.
Gotchas
- The URL must return a raw image. A link to a QR page will not insert; the API URL above returns the PNG itself.
- Docs recompresses very large images —
size=600tosize=1024is the sweet spot; there is no need for 4096 px in a document. - Copy-pasting a code from a website often carries a tiny thumbnail into the doc. Insert by URL or upload the real file.
- Templates: a code left in a shared template gets copied into every new document — make sure the payload is meant to be that permanent.
Build the code and copy its API link: make a QR code.
FAQ
How do I insert a QR code into Google Docs?
Use Insert → Image → By URL with a QR API link like https://useqr.app/api/v1/qr?data=your-link&size=600. The code appears immediately without downloading or uploading anything.
Does the QR code in my Doc stop working if the API goes away?
No. Docs stores its own copy of the image at insert time, and a static QR code encodes its destination directly, so the printed or shared document keeps working regardless.
Can I make a styled QR code for Google Docs?
Yes — build it in a generator with colours and a logo, download the PNG, and use Insert → Image → Upload from computer. Docs does not take SVG, so upload a large PNG.
What size should the QR code be in the document?
At least 2 cm wide if the document will be printed and scanned at reading distance. Resize with corner handles only, so the code stays square.
Try it — free, no signup
Related
- How to make a QR code in Google Sheets — One formula — =IMAGE("https://useqr.app/api/v1/qr?data="&ENCODEURL(A2)) — puts a live QR code in a cell. Fill it down and every row gets its own code.
- How to make a QR code in Google Slides — Insert → Image → By URL with a UseQR API link drops a QR code onto a slide in one step. Size it for the farthest viewer and keep it on screen long enough.
- How to make a QR code in Word — Insert the PNG or SVG, set the exact size in cm via the Layout dialog, and use square text wrapping. For many codes, mail merge with an IncludePicture field.
- A free QR code API with no key — UseQR's REST API needs no signup, no API key and no SDK. GET /api/v1/qr?data=hello returns a PNG. The shortest form is /q/hello.png, which drops straight…
- What size should a QR code be? — Printed width should be at least the scanning distance divided by ten. A code read from 30 cm needs 3 cm; from 2 m, 20 cm; from 10 m, 1 m. If there is not…