QR codes are everywhere — on restaurant menus, product packaging, event tickets, and payment screens. A QR code is a two-dimensional barcode that stores text, and any modern phone camera can read it instantly. Making one is free and takes less than a minute.
This guide covers what you can put in a QR code, how to generate one step by step, and the practices that make the difference between a code that scans first try and one that doesn't.
What is a QR code?
QR stands for Quick Response. Developed in 1994 by Denso Wave for tracking car parts, the format packs data into a grid of black-and-white "modules" that a scanner reads in two dimensions — so it holds far more than the one-dimensional barcodes on groceries.
Two features made it so widely adopted. First, built-in error correction means a code can still scan even if part of it is dirty or damaged. Second, phone cameras have read them natively for years — no separate app required.
What you can put in a QR code
A QR code is just text, so the possibilities are broad. The most common uses:
- A link or URL — the most common case, from product pages to event registration.
- Plain text — serial numbers, instructions, or a short message.
- Wi-Fi credentials — scan to join a network without typing the password.
- Contact info (vCard) — scan to add someone to your contacts.
- An email address or phone number — scan to compose an email or place a call.
One trade-off to keep in mind: the more data you pack in, the denser the code and the harder it is to scan at small sizes. Keep URLs as short as you can. (Related: what URL encoding is and why special characters in links matter.)
How to make a QR code
Here's how to generate one with our free QR Code Generator:
- 1.Open the generator and type or paste your content — a URL, text, or a Wi-Fi string.
- 2.Choose a size (200–500 px) and a margin. A larger code scans more reliably, especially in print.
- 3.Click Generate QR Code, then Download to save it as a PNG or JPEG.
Like every Tool Vault tool, generation happens entirely in your browser — your content is never uploaded or stored.
QR code best practices
- Size it for the medium. Print at least 2 × 2 cm (about 300 px). For screens, 300 px or more keeps scanning snappy.
- Keep high contrast. Dark modules on a light background. Avoid inverted or low-contrast colors, which many scanners struggle with.
- Leave a quiet zone. A margin of empty space around the code helps scanners distinguish it from surrounding content.
- Test-scan before you print. A 10-second check beats reprinting a batch of flyers.
Static vs. dynamic QR codes
There are two kinds of QR codes, and they behave very differently:
- Static — the destination is encoded directly into the code. It never expires and can't be edited after printing. This is what a free generator produces.
- Dynamic — the code points to a short redirect URL managed by a service, so you can change the destination and count scans later. Useful, but it depends on the service staying alive (and usually costs a subscription).
For most one-off uses — a menu, a link on a poster, a Wi-Fi sign — a static code is all you need.
Frequently asked questions
Do free QR codes expire?
Static QR codes — where the content is encoded directly into the code — never expire. Dynamic QR codes, which point to a redirect URL managed by a service, can stop working if the subscription lapses or the service shuts down.
What size should a printed QR code be?
Print a QR code at least 2 × 2 cm (roughly 300 px) for reliable scanning from a phone. Longer URLs or text make the code denser, so increase the size for complex content and leave a quiet-zone margin around it.
Can a QR code store Wi-Fi credentials?
Yes. Wi-Fi QR codes use the WIFI:T:WPA;S:network-name;P:password;; format — when scanned, the phone reads the SSID and password and offers to join automatically. Just paste that string into any QR generator.
Is it safe to scan a QR code?
A QR code itself is just text, but it can encode a malicious URL. Only scan codes from sources you trust, and preview the destination URL before opening it. Modern phone cameras show the URL before navigating.
Ready to create a QR code?
Turn any link or text into a scannable QR code with the free QR Code Generator — no signup, runs entirely in your browser.
Generate a QR code