Skip to content

PubWeb

Tools

QR code generator

QR code generator for links, text and Wi-Fi, with UTM tags for print

Make a static QR code for a page, a text or a Wi-Fi network, with UTM tags on links so visits from print arrive under their own source. Download PNG or SVG.

Runs in your browser. What you type stays on this page.

QR code generator

Runs in your browser. What you type stays on this page.

What a static QR code holds

A QR code is a square grid of dark and light modules that stores a text: a phone camera reads it and opens the link, shows the text or offers to join the network. This generator makes static codes, with the content inside the image itself. There is no redirect and no scan counting on our side, and the code never expires, but it cannot be changed after printing.

Pick what the code holds. A Link can carry utm_source, utm_medium and utm_campaign, written into the address before it is encoded. A Text is stored as typed. A Wi-Fi code uses the WIFI: format phone cameras read, with the network name, the security type and the password.

With the tool’s example (page https://example.com/promo, source qr, medium print, campaign flyer_oct), the content is https://example.com/promo?utm_source=qr&utm_medium=print&utm_campaign=flyer_oct: 79 bytes, which at the default error correction M becomes a version 5 code of 37 × 37 modules.

How to use it

  1. Under Content type, choose Link, Text or Wi-Fi.
  2. For a link, type the Page address, turn on Add UTM and fill Source, Medium and Campaign. For Wi-Fi, fill Network name (SSID), pick the Security and type the Password.
  3. In Options, set the Error correction: M is the default; choose Q or H if the code may get scratched or folded.
  4. Keep the Code colour darker than the Background and the Quiet zone at 4 modules, and fix any warning that appears.
  5. Pick a PNG size (px), then click Download PNG, or Download SVG for print.
  6. Scan the code on screen, and again from a printed proof, before you print the whole run.

Static code: what you get and what you don’t

Everything the phone needs is inside the image, so the code does not depend on any service staying online: a link code works as long as the page does. The trade-off is that nothing can be changed after printing, and nobody counts the scans.

If the destination may change, point the code at an address you control and can redirect later, rather than at the final page, and check the address before you print.

Counting visits from print with UTM tags

A scan opens the page with no referrer, so analytics usually files the visit as direct traffic. With Add UTM on, the visit arrives with the source, medium and campaign you chose, for example qr, print and flyer_oct. You count sessions that reached the page, not scans: a scan that never loads the page leaves no trace.

Use one campaign per placement (one flyer, one poster, one package) to compare them. This tool does not change the case of what you type, so write the values in lowercase. For utm_content or utm_term, build the link in the UTM builder and paste it into Page address with Add UTM off; it is encoded as it is.

Error correction, density and size

Error correction lets a reader restore part of a damaged code: about 7% at L, 15% at M, 25% at Q and 30% at H. Higher levels store more recovery data, so the same content can need a larger, denser code. The example link is a version 5 code (37 × 37 modules) at L and M, version 7 (45 × 45) at Q and version 8 (49 × 49) at H.

Content that does not fit even the largest QR code (version 40) at the chosen level is refused: shorten it or pick a lower error correction. A shorter link also gives larger modules at the same printed size.

Colours, quiet zone and file size

Most scanners expect a dark code on a light background. The tool warns when the code colour is lighter than the background and when the contrast between the two is below 4 to 1.

The quiet zone is the blank margin around the code. 4 modules is the standard; the tool accepts 2 to 10, and less than 4 may not scan.

PNG comes at 256, 512, 1,024 or 2,048 px wide; when that leaves less than 3 px per module, the tool warns that it may print unevenly. SVG is a vector file that scales without loss, the better choice for print.

Wi-Fi codes

A Wi-Fi code writes the network name and password in plain text inside the image: whoever scans it joins the network, and any QR reader shows the password. Print it only where the network can be shared.

WPA/WPA2/WPA3 covers all three, since the phone joins whatever the network offers; Open writes no password. Turn on Hidden network if the network does not broadcast its name. Backslashes, semicolons, commas, colons and double quotes in the name or password get a backslash in front so phones read them correctly.

Questions

Is this QR code generator free?

Yes. It needs no account, and the code is made in your browser. A static code has no service behind it, so there is no scan limit to hit.

Do these QR codes expire?

No. The content is inside the image, with no redirect, so a link code keeps working as long as the page at that address is online.

Can I see how many people scanned my QR code?

Not from the code: a static code counts nothing. Turn on Add UTM and read the visits in your analytics under the source, medium and campaign you chose.

Can I change the link after printing?

No. To keep that option, point the code at an address you control and can redirect, and print that.

What is the difference between a static and a dynamic QR code?

A static code stores the content itself. A dynamic code stores a short address that redirects through a service, which lets the owner change the destination and count scans for as long as that service runs. This tool makes static codes only.

PNG or SVG: which should I download?

PNG for screens, documents and social posts, at the largest size you need. SVG for print, since it stays sharp at any size.

How do I make a QR code for Wi-Fi?

Choose Wi-Fi under Content type, type the Network name (SSID), pick the Security and type the Password. Phones that scan it offer to join the network.

Is what I type sent to a server?

No. The code is encoded and drawn in your browser, and both downloads are made there too.

All free tools

PubWeb

Follow printed traffic to the revenue it earns

In the PubWeb panel, short links on your own domains carry UTMs and pixels, and analytics breaks visits down by UTM source, medium and campaign, tied to the ad revenue they earned.