· Everyday tools · 6 min read

How to create a QR code that scans every time: size, contrast and error correction

Open the full QR Code Generator →

A QR code is just a picture that encodes text, usually a link. Most scanning failures come from a handful of avoidable mistakes.

Steps

  1. Decide what to encode: a web address, plain text or contact details.
  2. Paste it into the generator and download the image.
  3. Print or place it, then test it with at least two phones.

Rules that prevent failed scans

Skip the maths, try your own numbersQR Code GeneratorFree, instant, no sign-up →

Error correction levels

QR codes carry redundant data so a damaged or partly covered code can still scan. The four levels in the QR standard can recover roughly this share of the data:

LevelRecovers about
L7%
M15%
Q25%
H30%

Higher levels survive logos and scratches but make the code denser, so use the lowest level that fits your situation.

Static means permanent

A code made by this kind of generator encodes your link directly, so it never expires and nothing about your scans is tracked. The trade-off is that you cannot change the destination later, so check the link before you print thousands of copies.

Create yours in the generator below. It runs in your browser with no sign-up.

What you can put in a QR code

How much data fits?

QR codes come in 40 versions, from 21 × 21 modules (squares) up to 177 × 177. The largest can hold about 7,089 digits or 4,296 letters and digits. In practice, shorter is better: a 25-character link produces a small code with big squares that scans quickly, even on a cheap camera. If your link is long, use a short redirect link you control.

How big should a printed QR code be?

A common rule is a scanning distance to code width ratio of about 10 to 1. A code on a poster read from 2 metres should be about 20 cm wide. A business card code is usually 2 cm, which is fine for close scanning with short data. Always test at the real size and distance.

File formats: PNG, SVG and PDF

Do not stretch the image, and do not compress it as a JPG, because artefacts around the squares can break scanning.

Colours and logos

Scanners need contrast between the dark and light parts, and most expect dark squares on a light background. You can use brand colours if the contrast is strong. A logo in the centre works only with higher error correction, because it covers part of the data. Test before you print.

Where to place a QR code

Static or dynamic codes?

A static code stores your data in the pattern itself. It never expires and needs no account, but you cannot change it. A dynamic code points to a redirect service, so the destination can be edited and scans can be counted. The trade-off is that the code stops working if the service stops or you stop paying. For a permanent printed item, a static code to a page you control is often safest.

Stay safe when scanning

Criminals sometimes paste fake QR stickers over real ones, or send QR codes in emails to lead people to fake sites. Check the web address your phone shows before you open it. Be cautious if a code asks for a password or payment, and do not scan codes from unknown sources.

Testing checklist

  1. Scan with at least two phones, one old and one new.
  2. Test in poor light and from the expected distance.
  3. Open the link and confirm it is the final page.
  4. Print one proof before you print a thousand.

Troubleshooting: common problems and fixes

Is the QR generator private?

The generator creates the code in your browser. Your link or text is not uploaded or tracked, and the code never expires. Always test before printing, and only scan codes from sources you trust, since fake codes are used for scams.

More free Zyphub tools you may need

Try the QR Code GeneratorEnter your own numbers and see the result instantly.

Frequently asked questions

How do I make a QR code that always scans?

Use short data, strong contrast, a clear quiet zone around the code and a large enough print size. Test it with more than one phone before printing.

What size should a QR code be?

About 2 cm for close-range scanning like business cards. For distance scanning, use roughly one-tenth of the distance as the code width.

What does error correction do?

It adds redundancy so a code that is dirty, scratched or partly covered by a logo can still be read. Levels L, M, Q and H recover about 7%, 15%, 25% and 30% of the data.

Do QR codes expire?

A static code that contains your link directly never expires, though the page it points to can disappear. Dynamic codes depend on the service staying active.

Can I make a Wi-Fi QR code?

Yes. Encode the text in the form WIFI:T:WPA;S:name;P:password;; and many phones can join the network from the scan.

Can a QR code be used for Wi-Fi?

Yes. Many phones can join a network by scanning a code that contains the network name, security type and password.

Is a free QR code safe?

A static code from a browser-based generator contains only your data. Avoid services that wrap your link in a tracking redirect unless you need it.

General information only, not tax, legal or financial advice. Rates change, so check the official source.