A free QR code generator turns any text, link, or structured payload into a scannable black-and-white pattern you can preview and download as PNG. On Yaya Tools you pick a template (URL, WiFi, phone, SMS, email, or vCard), edit the content, set size and error correction, click Generate, and see the code on a canvas before saving qrcode.png. Everything runs locally in your browser—the QRCode library loads from CDN and encodes your string without uploading it to a server.
People search for a QR code generator, an online QR code maker, or a free QR code creator when they need a quick code for a poster, business card, product label, or guest WiFi sign. This page explains how the tool works, which payload formats each template uses, and how to choose size and error correction so phones scan reliably on screen and in print. After you generate a code, scan it with your phone before downloading—the interface recommends that verification step for a reason.
What is a QR code generator?
A QR code generator (also called an online QR code maker or QR code creator) encodes data into a two-dimensional barcode defined by international standards. Scanners—usually a phone camera—read the pattern and interpret the embedded string as a URL, phone number, WiFi credentials, contact card, or plain text.
Quick Response codes were standardized in ISO/IEC 18004, which specifies module layout, error correction, encoding modes, and the quiet zone around the symbol. Modern generators like the one on Yaya Tools follow those rules so output works with iOS, Android, and dedicated scanners.
Yaya Tools’ QR code generator is built for everyday sharing workflows:
- Templates — URL, WiFi, phone (
tel:), SMS (sms:), email (mailto:), and vCard, plus custom plain text - Sizes — 200, 300 (default), 400, or 500 pixels square
- Error correction — L, M (default), Q, or H per ISO/IEC 18004 levels
- Live preview — canvas render on the “stage” before download
- PNG download — one-click save as qrcode.png
- Black on white — high-contrast modules for reliable scanning
- Local encoding — content stays in your browser session
It does not add logos inside the code, custom colors, SVG export, or batch generation. For reading codes from an uploaded image, use the QR code decoder on the same site. For messy URLs with special characters, prepare the string with the URL encoder first; for breaking apart an existing link before you encode it, try the URL parser.
How to use this online QR code maker
The workflow is short so you can produce a testable code in under a minute.
- Open the QR code generator on Yaya Tools.
- Click a template chip—URL, WiFi, phone, SMS, email, or vCard—or type custom plain text directly in the content field.
- Edit the prefilled example to match your real URL, network name, number, or contact details.
- Choose QR code size (200×200 through 500×500 pixels) and error correction level (L, M, Q, or H).
- Click Generate QR Code. The pattern appears on the preview canvas; success and error messages show briefly below the controls.
- Scan with your phone to confirm the payload opens or dials correctly.
- Click Download PNG to save qrcode.png, then scan the saved file once more if the code will be printed or shared widely.
- Click Clear to reset the textarea, hide the canvas, and start a new code.
The header meters display the current size and ECC level so you can see settings at a glance. Selecting a template fills the textarea and triggers generation automatically so you get an immediate preview. Changing size or error correction after editing content requires clicking Generate again unless you switch templates.
Privacy note: encoding happens in your browser. Yaya Tools does not receive or store the strings you enter. On a shared device, clear the field when finished if the payload includes WiFi passwords or personal contact data.
QR code templates and payload formats
Each template inserts a structured string that target apps recognize. You can always replace the example with your own data or skip templates and paste arbitrary text.
URL template
The URL template starts with a sample HTTPS address. Replace it with any web link—landing page, menu PDF, app store URL, or shortened link. Most camera apps open the default browser when they detect http:// or https://.
If your URL contains spaces, ampersands, or non-ASCII characters, percent-encode it with the URL encoder so scanners do not misread query parameters. To inspect hostname, path, and query pieces before encoding, paste the link into the URL parser.
WiFi template
WiFi QR codes use a de facto string format recognized by Android and iOS:
WIFI:T:WPA;S:NetworkName;P:Password;;
- T — encryption type (commonly
WPAorWPA2; usenopassfor open networks) - S — SSID (network name)
- P — password (omit for open networks)
- Trailing
;;closes the payload
The tool prefills an example you edit in place. Special characters in SSID or password may need escaping with backslashes per the WiFi QR convention. After generation, scan with a phone that supports WiFi QR join prompts—behavior varies slightly by OS version.
Phone template
Phone codes use the tel: URI scheme:
tel:+8613812345678
Include country code for international dialing. Scanning typically opens the dialer with the number filled in; the user still confirms the call.
SMS template
SMS payloads combine number and optional prefilled body:
sms:+8613812345678?body=Hello, this is a test message
Scanning opens the messaging app with recipient and body populated where the OS supports it.
Email template
Email uses mailto: with optional subject and body query parameters:
mailto:example@email.com?subject=Subject&body=Message body
Use the URL encoder for subject or body text that includes spaces, &, or =, so parameters parse correctly.
vCard template
Contact cards embed a vCard 3.0 block:
BEGIN:VCARD
VERSION:3.0
FN:Full Name
ORG:Company Name
TEL:+8613812345678
EMAIL:name@example.com
END:VCARD
Scanning saves a contact on supported devices. Keep lines in standard vCard form; long notes increase symbol density.
Custom plain text
Any string without a template works as plain text—promo codes, serial numbers, short instructions, or internal asset tags. Plain text QR codes do not trigger an app action; the scanner shows the raw string. Capacity limits still apply (see FAQ).
QR code size: 200 to 500 pixels
Output dimensions are square: 200, 300, 400, or 500 pixels per side. The default 300×300 balances on-screen clarity and file size for slides, email signatures, and social posts.
| Size | Typical use |
|---|---|
| 200×200 | Compact embeds, chat thumbnails, small web badges |
| 300×300 | Default; mobile preview, documents, moderate print |
| 400×400 | Posters, handouts, slightly longer payloads |
| 500×500 | Large print, dense data, viewing from a distance |
Pixel size is not the same as physical print size. A 300 px image printed at 300 dpi is about one inch wide—often too small for posters or outdoor signage. Export at 500 px or upscale in a graphics editor while preserving sharp edges (nearest-neighbor scaling works better than heavy blur). Always leave a quiet zone—blank white margin—around the symbol; ISO/IEC 18004 requires a minimum module border so scanners find the pattern.
Longer content produces more modules per side at the same pixel width, shrinking each square and making scans harder. If the preview looks crowded, shorten the text, use a shorter URL, or increase size and error correction.
Error correction levels (L, M, Q, H)
QR symbols include redundant data so partial damage, smudges, or logo overlays (not supported here) still decode. ISO/IEC 18004 defines four levels:
| Level | Approx. recovery | When to use |
|---|---|---|
| L (Low) | ~7% | Clean digital display, maximum capacity |
| M (Medium) | ~15% | Default; everyday screen and office print |
| Q (Quartile) | ~25% | Small prints, slight wear or partial obstruction |
| H (High) | ~30% | Harsh environments, high risk of damage |
Higher correction adds more modules for the same payload—the pattern looks denser. For a simple URL on a website, M is usually enough. For a WiFi code on a laminated cafe table tent, Q or H improves resilience. L fits more characters when you are near capacity limits but offers the least damage tolerance.
The Yaya Tools generator passes your chosen level to the QRCode library as errorCorrectionLevel, matching the standard letter codes.
How QR encoding works (standards overview)
Under ISO/IEC 18004, data passes through mode selection, codeword generation, Reed–Solomon error correction, and module placement including finder and timing patterns. This page uses the QRCode JavaScript library (qrcode.min.js from CDN), which produces symbols compliant with common reader expectations.
Key concepts when troubleshooting:
- Modules — black or white squares in the grid readers photograph
- Version — symbol size from 1 (21×21 modules) upward; longer content increases version automatically
- Quiet zone — mandatory light border; do not crop it in design tools
- Contrast — fixed black (#000000) on white (#FFFFFF) for maximum compatibility
For authoritative definitions, see ISO/IEC 18004:2015 (QR Code bar code symbology specification). The ISO/IEC 18004 overview on Wikipedia summarizes capacity tables and correction levels for quick reference.
Practical use cases
Marketing and events. Encode campaign URLs on flyers, booth banners, or slide decks. Verify UTM-tagged links with the URL parser before generating so analytics parameters survive encoding.
Guest WiFi. Print a WiFi template code for lobbies and meeting rooms. Rotate passwords independently of the printed sheet by generating a new code when credentials change.
Contact sharing. vCard templates on business cards and conference badges let attendees save your phone and email without typing. Keep vCard fields minimal to reduce density.
Support and operations. Plain-text codes label inventory SKUs or equipment IDs; pair with the QR code decoder when staff photograph labels instead of typing.
Common mistakes when making QR codes
Skipping the scan test. The tool explicitly recommends scanning before download. Typos in URLs, WiFi passwords, or mailto parameters are invisible in the pattern but fatal at scan time.
Unencoded special characters in URLs. Raw spaces or & in query strings can split parameters wrong. Run URLs through the URL encoder first.
Too small in print. A 200 px PNG blown up on a wall poster spreads modules too thin unless dpi is high. Start at 500 px for print or rebuild at larger size.
Cropping the quiet zone. Designers sometimes trim white margins; scanners then fail to lock onto finder patterns. Keep equal padding on all sides.
Wrong WiFi encryption flag. Mismatch between T:WPA and an actual WEP or open network prevents join. Match the template type to router settings.
Maximum error correction with long vCards. H plus long text creates a very dense symbol. Shorten fields or drop optional lines.
Assuming every phone action is identical. sms: and mailto: behavior depends on installed apps and OS defaults. Test on the platforms your audience uses.
Relying on color or branding inside the code. This generator outputs standard black-on-white only; stylized codes need dedicated design tools and usually higher H correction.
References
- ISO/IEC 18004:2015 — QR Code bar code symbology specification — International standard for QR Code structure, encoding, and error correction.
- QR code (Wikipedia) — Accessible summary of capacity, modes, and correction levels with links to the ISO document.