How to Generate a QR Code
Type or paste the URL, text, phone number, or Wi-Fi credentials you want to encode into a QR code.
Adjust the size and error correction level if needed.
Click Download to save the QR code as a PNG image.
What to type for each kind of QR code
A QR code simply stores text. Phones decide what to do with it from the way the text begins, so the format matters.
Formats phones understand
| To make a code that… | Type this |
|---|---|
| Opens a website | https://www.example.com — always include https:// |
| Starts an email | mailto:[email protected] |
| Dials a number | tel:+38761123456 |
| Opens a text message | sms:+38761123456 |
| Joins Wi-Fi | WIFI:T:WPA;S:NetworkName;P:Password;; |
| Shows plain text | Just the text |
Size and error correction
- Error correction is spare information that lets a scanner read a code that is dirty, scratched or partly covered. Low restores about 7% of the code, Medium 15%, Quartile 25% and High 30%. Higher levels need more squares, so the pattern gets finer.
- Medium is right for screens and clean prints. Choose Quartile or High for stickers, packaging, outdoor posters, or if you plan to place a small logo in the middle.
- Shorter text gives a simpler code. A long address with tracking parameters produces a dense pattern that is harder to scan from a distance. Shorten the link if the code will be printed small.
- Print size: keep a code at least 2 × 2 cm for scanning at arm's length, and allow about a tenth of the viewing distance — a poster read from 2 m needs a code of roughly 20 cm.
- PNG or SVG: PNG at 1024 px suits screens and small prints. SVG stays sharp at any size and is the format print shops prefer.
Before you print 500 copies
- Leave a white margin of about four squares around the code, and keep it dark on a light background. Inverted or low-contrast codes fail on many phones.
- Test with two different phones at the real printed size.
- These codes are static. The text is stored in the pattern itself, so the code never expires and nothing is tracked — but it also cannot be changed after printing. If the address may change, point the code at a page you control and redirect from there.
More in our QR code guide.
Frequently Asked Questions
What can I encode in a QR code?
URLs, plain text, email addresses, phone numbers, Wi-Fi credentials, vCard contacts, and more.
How much data can a QR code hold?
Up to 4,296 alphanumeric characters. For best scanning results, keep content under 300 characters.
Do QR codes expire?
QR codes themselves never expire. However, if it points to a URL, the link could become unavailable if the website goes down.
What is error correction?
QR codes use Reed-Solomon error correction at four levels: L (7%), M (15%), Q (25%), and H (30%). Higher levels work even when partially damaged.