Free & unlimited

UTM QR Code Generator

A scannable QR code that carries your full tagged campaign URL.

Enter a URL to generate a QR code

320 px raster image with a 4-module white border. Scale by whole-number multiples or regenerate larger; do not stretch it.

What a UTM QR code is for

A QR code is just a scannable version of a URL — but if that URL carries UTM parameters, every scan shows up in your analytics tagged to the exact source. That's what turns a flyer, storefront sign, or print ad from an untrackable guess into a measurable channel. Think of it as a campaign code generator for anything printed: one QR code per placement, each with its own tagged URL.

Without tagging, a QR scan typically appears as direct traffic in GA4 (Google reports visits with no campaign or source data as “(direct) / (none)”), so you can't tell it came from the poster outside your store.

How to use this tool

1Paste the destination URL.
2Add Source, Medium, and Campaign to tag it — for example flyer / print / storefront_launch.
3The QR code updates automatically as you type.
4Click Download PNG and drop it straight into your print or design file.

Where these work best

  • Print ads, flyers, and posters, where a typed URL is friction a scan removes
  • Packaging and in-store signage, tagged separately from your online campaigns
  • Event booths and business cards, so you know exactly which event drove a signup

FAQ

Do I need all three UTM fields?
No — a plain URL still generates a working QR code. Adding Source, Medium, and Campaign is what makes the scans show up separately in your analytics.
What size should I print this at?
The downloaded PNG is 320×320 pixels including its white border, which is fine for a few centimetres of print. A PNG is a raster image, so stretching it blurs the edges of the squares. Enlarge it only by whole-number multiples (2x, 3x) with smoothing turned off, or regenerate it at a larger size. A scanner needs crisp, high-contrast modules.
Why does the code have a blank border, and should I crop it?
The white margin is the quiet zone. DENSO WAVE, the inventor of the QR Code, says a white space of 4 modules is needed around the symbol, and this tool uses 4. Do not crop it, and do not place other artwork or a coloured edge inside it.
Do QR codes expire?
The code itself does not expire, because the URL is encoded directly in the pattern. What can stop working is the destination: if you redirect or take down the page, scans will fail. If you plan to change the destination later, print a code that points to a redirect you control.
Does the code hold my tagged URL or a short link?
It holds the full tagged URL shown next to the preview. Longer URLs need a denser pattern with smaller squares, which is harder to scan at small sizes. Keep the campaign values short, or print the code larger.

Sources

  1. Google “Collect campaign data with custom URLs.” Analytics Help. support.google.com/analytics/answer/10917952 — Source, medium and campaign are the parameters to always use; values are case sensitive.
  2. Google “[GA4] Understand (direct) / (none) traffic.” Analytics Help. support.google.com/analytics/answer/15258820 — Traffic without UTM tags or source data is reported as (direct) / (none); the page does not name QR codes, so applying it to scans is an inference.
  3. DENSO WAVE “QR Code Standardization.” QRcode.com. qrcode.com/en/about/standards.html — QR Code is standardized as ISO/IEC 18004; error correction levels L, M, Q and H.
  4. DENSO WAVE “FAQ.” QRcode.com. qrcode.com/en/faq.html — A white space of 4 modules (the quiet zone) is needed around a QR Code.
  5. soldair and contributors “node-qrcode.” GitHub. github.com/soldair/node-qrcode — The library this tool uses; its default margin is 4 modules.

Last reviewed: October 2026