Skip to content
LineOtter

Making QR codes that scan first time: links, WiFi and print

How to make a QR code for a link or WiFi network, choose error correction, and size and test it before printing.

Pick the right type

Text or link for a website, menu or document. WiFi lets guests join without typing the password; the phone camera offers to connect. Email opens a pre-filled message and Phone starts a call.

Codes made here are static: the content is inside the code. They never expire and nobody tracks scans, but you cannot change a printed code's destination later. If you expect the link to change, point it at a page you control.

Getting WiFi codes right

Type the network name exactly, including capital letters and spaces. Choose WPA for almost all modern routers, including WPA2 and WPA3. Tick Hidden network only if the network does not appear in the list on your phone.

The password is put into the code on your device and is not uploaded. Anyone who can photograph the printed code can join, so keep it inside your home or venue.

Printing

Download SVG for print; it stays sharp at any size. Keep the white border around the code and print at least 2 cm (about 0.8 inch) wide, larger if people scan from a distance.

Use Medium error correction normally and High if the code may get scratched or you plan to place a small logo over it. Always scan the final printout with a phone before printing many copies.

Why a code might not scan

Too little contrast: keep dark modules on a light background. Light-on-dark and coloured codes fail on some phone cameras.

Too much data: long links make dense codes with tiny squares. Use a shorter link where possible, especially for small prints.

A cut-off border: the quiet zone around the code is part of it. Trim it and many scanners give up.

Testing before you print

Scan the code from the screen with two different phones, one iPhone and one Android if you can. Then print one copy at the final size and scan that from the distance people will actually stand. For WiFi codes, forget the network on your phone first so the test really joins from the code. If you change the link or the password later, make a new code and test it again before replacing the old print.

Tools for this