Home/Guides/How to make a QR code

How to make a QR code

Making a QR code takes about a minute. Making one that still scans after it has been printed, laminated and photographed in a dim room takes a little more thought. This guide covers both halves.

7 min read · Beginner · updated 2026-11-23

1. Decide what the code should do

Every QR code holds text. What makes it useful is the format of that text. A web address opens a browser, a mailto link opens a mail draft, a WiFi record joins a network, and a vCard opens a contact card. Choose the action first, then you know what to put inside.

Be specific about the action. A code that opens your homepage is a vague action; a code that opens the booking page for the branch you are standing in is a specific one. The more specific the destination, the more likely someone completes the thing you want, because you have removed the steps where people give up.

2. Generate the code in the browser

Paste the content into a generator and it draws the pattern. Ours runs entirely in the page: the content never leaves the device, which matters for a WiFi password or a client's phone number. There is no queue and no watermark; a free account is all it takes.

Pick the smallest payload that does the job. A 40-character link produces a sparse code that scans at 2 cm. A 400-character link with tracking parameters produces a dense one that needs 5 cm or more. If you can shorten the destination without renting someone else's short domain, do it.

3. Style it without making it unreadable

Four rules cover almost everything. Dark code on a light background, never the reverse. At least 4.5:1 contrast between the two. At least four modules of empty space on every side, the quiet zone. And if you add a logo, keep it under 30% of the code area and raise error correction to High.

Shapes are cosmetic but not free. Square dots are the most robust at small sizes; rounded and dotted styles lose a little edge definition, which matters when the print is cheap or the code is 1.5 cm wide. If the code must work on a cheap label, keep it square and simple.

4. Test before you commit to a print run

Print one copy at the final size, on the final material, and scan it with two phones: one iPhone and one Android. Scan it in the lighting where it will live, not under a desk lamp. Time how long the destination takes to load on mobile data.

This step catches nearly every real failure: a code printed too small, a URL with a typo, a dark-on-dark design that looked fine on screen, a destination page that is not mobile-friendly, a logo that covered a corner marker. None of these are visible in a design file.

5. Choose the right file for the job

OutputUse it forNote
PNGScreens, email, quick stickersRaster: sharp at its pixel size, blurs when scaled up
SVGSign makers, packaging, anything printed largeVector: scales without loss, preferred by print shops
PDFHome or office printing on A4 or LetterSet to a physical size so the print is predictable

If a printer asks for a file, send the SVG. If you are printing at home, use the PDF that is already sized. If you are putting the code on a website, use the SVG too — it stays crisp on high-density screens and weighs less than a large PNG.

6. Keep the code alive

A static code holds its content forever, which is both its strength and its limitation. The destination page can change; the address cannot. That means the address should be one you control and intend to keep: a page on your own domain, not a temporary campaign URL that a marketing team will archive next quarter.

If you need to change where the code points, host a redirect on your own domain and point the code at that. Then a change of destination is a server configuration, not a reprint. This is the only reliable way to get changeable codes without renting a redirect service.

The five mistakes that actually break codes

  • Printing too small for the viewing distance. A 1.5 cm code on a poster read from 3 m never works.
  • Cropping the quiet zone. Designers love edge-to-edge; scanners do not.
  • Inverting the colours for a dark theme. Many cameras will not read a light code on a dark ground.
  • Layering a code over a photo or a gradient. Contrast collapses even when it looks stylish.
  • Pointing at a page that is broken, slow, or not mobile-friendly. The code did its job; the destination failed.

What it costs

Static codes here are free with a free account and have no per-code limit, with no watermark: PNG, SVG and an A4 PDF, all the colours and shapes, logo support. Dynamic codes are a separate allowance: 15 on the free plan, 20 during the 7-day trial and 1,000 on the $9.99/month plan. The optional one-time Print Pack adds production files — an exact-size PDF at 600 dpi with crop marks, a multi-up sticker sheet, a print size guide and a 4096 px PNG — for $2.99. Nothing about the free tier expires, and nothing is added to your code as a watermark.

Frequently asked questions

Do QR codes expire?

A static code does not expire: the pattern holds the content, and there is no service to shut down. A code that points at a page which later disappears is a different problem — the code works, the destination does not.

Do I need an account to make a QR code?

Yes, a free one. Creating it takes an email and a password, no card and nothing to pay. After that the generator, the twelve type pages and every download are open, and the code itself is still drawn in your browser.

What is the smallest size I can print?

Around 1.5 cm for a very short payload read at 20 cm. In practice, keep it at 2 cm or larger for anything handed to a person, and scale up with viewing distance: about one tenth of the scanning distance.

Do I need a special app to scan?

No. The camera app on iOS 11 and later and Android 10 and later reads codes directly. Older devices may need Google Lens or a scanner app.

Is it safe to use a free generator?

It is safe if the generation happens in your browser, as it does here. Avoid tools that upload your content, especially for WiFi passwords and contact details, because the content leaves your device.

Can I put a QR code on a dark design?

Yes, if you keep the code dark and give it a light panel of its own. Do not invert the code to white-on-black: many phone cameras refuse to read it.

More guides

Put it into practice.

The generator is free, keeps the quiet zone and warns you when contrast is too low.

Make a QR code