How to Create a QR Code: Step-by-Step Guide
A QR code encodes text, a URL, Wi-Fi credentials, or contact information into a scannable square barcode. The QR Code Generator creates high-resolution QR codes directly in your browser β no account or server upload required. This guide covers when QR codes are useful, how to create and print them, and how to avoid common mistakes that make codes unscannable.
What can you put in a QR code?
| Content type | Example | What the scanner does |
|---|---|---|
| URL (website link) | https://yourcafe.com/menu | Opens the link in the browser |
| Plain text | Order #12345 | Displays the text |
| Wi-Fi credentials | SSID: MyWifi, Password: abc123 | Offers to connect to the network |
| Email address | mailto:hello@yourbusiness.com | Opens email composer |
| Phone number | tel:+923001234567 | Offers to dial the number |
| SMS | smsto:+923001234567:Hello | Opens SMS with pre-filled message |
| vCard (contact) | Name, phone, email, address | Offers to save as a contact |
Step-by-step: how to create a QR code
- 1.Choose the content type Select URL, text, Wi-Fi, or another content type from the options. Each shows the relevant input fields.
- 2.Enter your content Type the URL, text, or credentials. For URLs, include the full https:// prefix.
- 3.Customise the appearance (optional) Adjust the foreground colour, background colour, and size. For print, use a minimum of 300Γ300 pixels.
- 4.Download or copy the QR code Click 'Download' to save the QR code as a PNG image. You can then insert it into documents, slides, posters, or business cards.
Sizing QR codes for print
A QR code must be large enough for a camera to scan at the expected distance. The general rule: the printed QR code should be at least 1/10th of the scanning distance.
| Use case | Scanning distance | Minimum print size | Recommended pixels |
|---|---|---|---|
| Business card | 15β30 cm | 2 cm Γ 2 cm | 300 Γ 300 px |
| A4 flyer or document | 30β60 cm | 3 cm Γ 3 cm | 400 Γ 400 px |
| Poster (A3 or larger) | 1β3 metres | 10 cm Γ 10 cm | 600 Γ 600 px |
| Billboard / signage | 5+ metres | 50+ cm Γ 50+ cm | 1000+ Γ 1000+ px |
Common QR code mistakes
- Low contrast: QR codes need strong contrast between foreground and background. Black on white is best. Avoid light grey on white or dark blue on black.
- Too small: A QR code smaller than 2 cm Γ 2 cm is hard to scan on older phones.
- Encoding too much text: The more text a QR code contains, the denser (and harder to scan) it becomes. For long content, use a URL instead of encoding the full text.
- Missing https://: Some scanners do not recognise bare domains as links. Always use the full URL.
- Placing on curved surfaces: QR codes on mugs, bottles, or tightly curved surfaces may distort and become unscannable.
- Not testing before printing: Always scan the code from the exported image before sending it to print.
Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
| QR code does not scan | Too small, low contrast, or too much data | Make it larger, increase contrast, or shorten the content |
| Link opens wrong page | Typo in the URL | Check the URL letter by letter before generating |
| Wi-Fi code does not connect | Wrong password or SSID | Double-check credentials; ensure SSID and password are exact |
| Downloaded image is blurry | Image too small for print | Generate at a larger pixel size (600+ for posters) |
| Scanner shows raw text instead of opening a link | URL missing https:// | Re-generate with the full URL including https:// |
Ready to try it?
Open the QR Code Generator and follow the steps above.
Related tools and guides
Frequently asked questions
Do QR codes expire?
Static QR codes (like the ones this tool creates) never expire. They encode data directly into the image. As long as the encoded URL or content is still valid, the code will work forever. Dynamic QR codes (from paid QR platforms) can expire because they redirect through a server.
Can I change the content of a QR code after creating it?
No. A static QR code permanently encodes its content. To change the link, you must generate a new QR code. If you need editable links, use a URL shortener (like bit.ly) as the encoded content β you can then change where the short link points.
Is my QR code content uploaded to any server?
No. The QR code is generated entirely in your browser. Your URLs, Wi-Fi passwords, and other data are never sent to any server.
Can I use a coloured QR code?
Yes, as long as there is strong contrast between the foreground modules and the background. Dark foreground on light background works best. Avoid using colours that are too similar in brightness, and always test the code after customising colours.
What is the maximum amount of data a QR code can hold?
A standard QR code can hold up to approximately 4,296 alphanumeric characters or 2,953 bytes of binary data. In practice, keeping content under 300 characters produces the most reliable, easy-to-scan codes. For anything longer, encode a URL that points to the full content.