QR Code: how to create, test and use one the right way

Learn how to create QR codes for links, phone numbers and Wi-Fi, choose the right size, test before printing and avoid mistakes that block scanning.

A badly printed QR code does not announce that it failed: someone points a camera, nothing happens, and they give up. Because the code carries data you cannot see, small mistakes in size, contrast or content only show up when you test it — often after the material has already been printed.

This guide explains what a QR code actually stores, when to use each type (link, phone or Wi-Fi), how to choose size and contrast, and which mistakes make scanning fail. At the end, build yours with the QR code generator, which creates the image in your browser and lets you download it as a PNG.

What a QR code really stores

A QR code is not a link or an app: it is text encoded as black and white squares. The reader — usually your phone's camera — decides what to do with that text. If the content starts with https://, the system offers to open it in the browser; if it starts with tel:, it offers to dial; if it starts with WIFI:, it tries to join the network.

That is why the first step to a working QR code is choosing the right content type. A website address in “phone” mode becomes an invalid number; a Wi-Fi password in “text” mode just displays the password on screen without connecting.

Which mode to use in each situation

TypeWhat the QR code doesWhen to use it
Text or URLOpens a link or shows textMenus, forms, portfolios, coupons and social profiles
PhoneOpens the dialer with the numberCustomer service, delivery and business cards
Wi-FiJoins the network without typing the passwordCafés, hotels, clinics and offices

For links, prefer the page's final address rather than a shortener that may expire. For Wi-Fi, check whether the network uses WPA/WPA2, WEP or no password; the wrong type blocks the connection even with the correct password.

How to create a QR code step by step

  1. Choose the content type: text/URL, phone or Wi-Fi.
  2. Fill in the fields. In Wi-Fi mode, enter the network name (SSID), the password and the security type.
  3. Check the preview and test it with a phone before downloading or printing.
  4. Download the PNG image and use it in the final material.

Testing is quick: point the camera at the screen or at a printed proof, confirm that the destination opens and that the content is correct. Do it on at least two phones, because scanning can vary between models.

Size, contrast and distance

There is no universal size, but a practical rule helps: for close reading, such as a business card, use at least 2 × 2 cm. For posters and shop windows, scale it with the distance — the farther away the person is, the larger the code must be.

Contrast matters too. Black on white is the most reliable default; avoid light codes on dark backgrounds, patterns behind the code, and glossy paper that reflects light. Leave a white margin around it (the quiet zone) and never stretch the image out of proportion.

Common mistakes that make a QR code fail

Security and privacy

Generating the code is the easy part; the risk lies in scanning codes from unknown sources. A QR code can lead to a fake site that imitates a bank page or asks for personal data. Before opening it, check the address shown on your phone and be suspicious of codes stuck in public places without context.

When generating, prefer tools that process everything in the browser. Here, the code — including the Wi-Fi password — is built locally and never sent to a server.

Create your QR code now

In the QR code generator, choose text/URL, phone or Wi-Fi, watch the preview update as you type, and download the image as a PNG. For WhatsApp links, the WhatsApp link generator builds the wa.me address with a pre-filled message — then you just turn that link into a QR code.