How to use the QR Code Generator
- 1Choose the type of QR code, such as URL, Wi-Fi or WhatsApp.
- 2Fill in the fields. The code updates as you type.
- 3Set colours, error correction level and an optional centre logo.
- 4Scan it with your phone to test, then download PNG or SVG.
What is a QR code generator?
A QR code generator turns information, such as a web link, a Wi-Fi password or a contact card, into a square pattern that phone cameras can read. This QR code generator supports seven types (URL, plain text, Wi-Fi, vCard contact, email, SMS and WhatsApp), lets you change colours, add a logo in the centre and pick the error correction level, and downloads the code as PNG or SVG.
The codes are static: the data is stored in the pattern itself. There is no redirect server, so they never expire and nobody can switch them off or track scans. The code is generated in your browser with the open-source qrcode library (MIT licence).
How does a QR code store data?
QR codes were invented by Denso Wave in 1994 and are defined in the ISO/IEC 18004 standard. The black and white squares (modules) encode bits. Three large squares in the corners tell the camera where the code is and which way up it is.
The more data you store, the more modules are needed, so long links create dense codes that are harder to scan from far away. A short link like https://atechcraft.com/ makes a simple, easy-to-scan code.
What is error correction?
QR codes include extra recovery data (Reed-Solomon error correction), so they can still be read when part of the code is dirty, damaged or covered (Denso Wave: error correction).
| Level | Approximate data that can be restored | When to use |
|---|---|---|
| L | 7% | Clean screens, maximum data |
| M | 15% | Everyday use (default) |
| Q | 25% | Printed codes that may get scuffed |
| H | 30% | Codes with a logo in the middle |
When you add a logo, the tool automatically switches to level H, because the logo hides part of the pattern.
What do the special types contain?
| Type | What is encoded | What the phone does |
|---|---|---|
| Wi-Fi | WIFI:T:WPA;S:name;P:password;; | Offers to join the network |
| Contact | A vCard 3.0 block with name, phone and email | Offers to save the contact |
A mailto: link with subject and body | Opens a new email | |
| SMS | SMSTO:number:message | Opens a new text message |
A https://wa.me/ click-to-chat link (WhatsApp Help) | Opens a chat with that number |
Special characters such as ; or : in a Wi-Fi name or password are escaped with a backslash, so a network called Cafe;Wifi still works.
Worked example: Wi-Fi code for a shop
- Choose Wi-Fi, enter network name
MyShop-Guestand passwordchai2026, security WPA. - The tool encodes
WIFI:T:WPA;S:MyShop-Guest;P:chai2026;;. - Keep black on white, level M. Download PNG and print it about 4 cm wide or larger.
- Test it with your own phone camera before putting it on the counter.
Customers scan and join without typing the password.
Tips
- Always test-scan with two different phones before printing.
- Keep contrast high: dark code, light background. Avoid light-on-dark codes; some scanners cannot read them.
- Leave the white border (quiet zone) around the code when you place it in a design.
- Print large enough. A rough rule is a code at least one-tenth of the scanning distance; 2 cm is the practical minimum.
- Want to measure visits? Add UTM tags to your link first with the UTM Link Builder.
- Check what a code contains with the QR Code Scanner, and encode special characters in links with the URL Encoder/Decoder.
Limitations
- Static only. You cannot change the destination after printing. Point the code at a page you control if the target may change.
- No scan statistics (that needs a tracking server).
- SVG export does not include the logo. Use PNG when you add a logo.
- Very long content (over a few hundred characters) produces dense codes or fails with a "too long" message.
Key terms
- Module: one square "pixel" of a QR code.
- Quiet zone: the empty margin around the code that helps cameras find it.
- Static QR code: a code whose content is fixed in the pattern.
Frequently asked questions
Do these QR codes expire?
No. They are static codes: the information is stored inside the pattern itself, so there is no server that can switch them off.
Can I add a logo?
Yes. When you add a logo, error correction is raised to H (about 30% recovery) so phones can still read the code with the centre covered.
What colours are safe?
Use a dark foreground on a light background with strong contrast. Inverted (light on dark) codes do not scan on some phones.
How does the Wi-Fi QR code work?
It uses the WIFI: text format that iPhone and Android cameras understand. Scanning offers to join the network without typing the password.
Can I track scans?
No. Tracking needs a redirect server. Add UTM parameters with the UTM Link Builder if you want your analytics to show visits from the code.
Last updated: . Written and tested by Abdul Moid Khan, ATechCraft. Read how we build and test tools.