Guide

How to create a QR code, step by step

Making a QR code takes about a minute. Making one that still scans after it has been printed, laminated and stuck on a slightly curved window takes a little more thought. This guide covers both.

Before you start: decide what the code should do

A QR code is a container. The first decision is what goes inside it, because that decides which type you pick in the generator.

  • If people should open a page (a menu, a booking form, a product page), use a website QR code.
  • If guests should join your WiFi, use a WiFi QR code. The phone connects without anyone typing the password.
  • If people should save your contact details, use a vCard QR code.
  • If people should message or call you, use WhatsApp, SMS, email or phone.
  • If the information should be readable without internet, like a serial number or a short instruction, use plain text.

For a PDF, an image or a video, the code holds a link to the file, not the file itself. A QR code tops out at a few kilobytes, so upload the file somewhere first (your website, Google Drive, Dropbox) and use its public link.

Step 1: enter the content

Open the QR code generator, pick the type and fill in the fields. The preview updates as you type.

A few habits save trouble later:

  • Copy links from the browser bar instead of typing them. One wrong letter and the code opens an error page, and you cannot fix a printed static code.
  • Use the full international format for phone numbers, starting with + and the country code. A number without it may dial the wrong country for visitors.
  • Keep it short. Every extra character adds more squares to the pattern. A short link scans faster and can be printed smaller than a long one with tracking parameters.

Step 2: design it, carefully

You can change colors, the shape of the dots and corners, add a frame with a call to action, or put your logo in the middle. All of that is fine as long as you keep a few rules in mind:

  • Dark on light. Scanners look for dark modules on a light background. A light code on a dark background (an inverted code) fails on some phones.
  • Strong contrast. Pale grey on white, or yellow on white, is hard to read. The generator shows the contrast ratio and warns you below 4:1.
  • Leave the quiet zone. The empty border around the code is part of the code. Four modules wide is the standard. Do not let a design element or the edge of a flyer eat into it.
  • Keep the logo modest. A logo hides part of the pattern and the code relies on error correction to rebuild it. Around 20% of the code width, with error correction set to H, is a safe place to start.

If a design choice puts scanning at risk, the generator shows a warning next to the preview. Take those seriously: they are based on the same limits phone cameras run into.

Step 3: download the right file

For anything printed, SVG is the best choice. It is a vector file, so it stays sharp at any size, and print shops and design tools (Illustrator, Figma, Canva, Inkscape) handle it well. For websites, slides and documents, a PNG of 1024 px or more is plenty. JPG works when a tool refuses anything else, and WebP gives the smallest file for web pages.

How big should it be on paper? That has its own guide: QR code size for printing.

Step 4: test before you print

This is the step people skip, and it is the one that matters most. Before sending anything to print:

  1. Scan the code on screen with at least two different phones, ideally one iPhone and one Android phone, using the normal camera app.
  2. Check that it opens the right page, or shows the right WiFi network or contact.
  3. Print one copy at the final size on an ordinary printer and scan that too, from the distance people will actually stand.

If you want to check a file you already have, the online QR scanner reads codes from an image or your webcam.

One thing to know about static codes

The codes made on mqrlink are static: the content is written into the pattern itself. That is why they never expire and work without any account. It also means you cannot change a printed code. If the destination might change, point the code at a page you control and update that page instead. There is more on this trade-off in static vs dynamic QR codes.

Questions

Common questions

Anything else? Write to us.

How long does it take to make a QR code?

About a minute for the code itself. Leave a few more minutes to test it on two phones and on one test print before you order anything.

Do I need an app to create a QR code?

No. The generator runs in any modern browser on a phone or computer. People scanning it do not need an app either: the built-in camera on current iPhones and Android phones reads QR codes.

Can I make a QR code for a PDF?

Yes, but the code holds a link to the PDF, not the PDF itself. Upload the file to your website or a cloud drive, make sure the link is public, and create a website QR code with that link.

Keep reading

QR code size for printing

What size a printed QR code should be: the minimum size, the distance rule, pixels needed at 300 DPI, and why longer content needs a bigger code.

Read the guide, 5 min

Static vs dynamic QR codes

The difference between static and dynamic QR codes: expiry, editing, scan tracking, cost and privacy, and why a static QR code generator never expires.

Read the guide, 5 min

Why a QR code will not scan

Why a QR code does not scan and how to fix it: low contrast, inverted colors, missing quiet zone, too small, too dense, big logos, glare and broken links.

Read the guide, 6 min

WiFi QR codes that connect first time

How to make a WiFi QR code guests can scan to join your network: getting the name, password and security type right, and fixing codes that do not connect.

Read the guide, 5 min

Adding a logo without breaking the code

How to put a logo in the middle of a QR code and keep it scannable: the error-correction level to use, how big the logo can be, and how to test the result.

Read the guide, 5 min

vCard QR codes for business cards

How to put a contact QR code on a business card: which vCard fields to include, how to format phone numbers, and how small the code can go.

Read the guide, 5 min

QR code colours that still scan

How to choose QR code colours, gradients, shapes, frames and transparent backgrounds that match your brand and still scan on every phone.

Read the guide, 5 min

Error correction levels explained

What QR code error correction does, what levels L, M, Q and H mean, how much damage each survives, and which level to pick for logos, print and small codes.

Read the guide, 4 min

The quiet zone, and why it matters

What the quiet zone around a QR code is, how wide it should be, and the design mistakes that remove it: cropping, borders, text and busy backgrounds.

Read the guide, 3 min

QR codes for restaurant menus

How to make a QR code menu that works at the table: web page or PDF, table card size, lighting and lamination, and updating the menu without reprinting.

Read the guide, 5 min

QR codes for Airbnb and rental hosts

The QR codes worth printing for a holiday rental: guest WiFi, house manual, check-in and check-out, local tips, and where to place them so they keep working.

Read the guide, 5 min

QR codes on product packaging

How to put a QR code on packaging that still scans: what to link to, minimum size, curved and glossy surfaces, colour contrast and testing a print proof.

Read the guide, 5 min

Make your code now

Free, private, and it never expires.

Open the generator