QR Code Generator
Generate QR codes for any text, URL, WiFi credentials, email, or phone number. Download as PNG image. Everything runs in your browser — your data never leaves your device.
How the QR Code Generator Works
This generator encodes your text or data into a QR (Quick Response) code matrix using the qrcode-generator library running entirely in your browser. The algorithm converts your input into binary data, adds error correction using Reed-Solomon codes, and arranges the result into a grid of dark and light modules. The canvas element renders the final image, which you can download as a PNG file. Because everything runs client-side with JavaScript, your data never leaves your device — no server processes your input, and nothing is stored or logged. You can generate unlimited QR codes for free, and they work immediately when scanned by any smartphone camera or QR reader app.
QR Code Capacity
Maximum data: 7,089 numeric characters or 4,296 alphanumeric characters
Error correction level M recovers up to 15% of damaged data, balancing size and reliability.
Types of QR Codes You Can Create
This tool supports multiple data formats. For URLs, simply paste the full web address including https:// and the QR code will open the link when scanned. For WiFi credentials, use the format WIFI:T:WPA;S:YourNetworkName;P:YourPassword;; and guests can join your network by scanning. For email, use mailto:user@example.com to open a pre-addressed email draft. For phone calls, use tel:+1234567890. For SMS messages, use smsto:+1234567890:Your message here. You can also encode plain text, vCard contact information, calendar events, and geographic coordinates. Each format triggers a specific action on the scanning device, making QR codes versatile for both personal and business use.
QR Code Best Practices
Size matters for scannability. Print QR codes at a minimum of 2 cm (0.8 inches) per side for close-range scanning, and scale up proportionally for signs or banners viewed from a distance. Maintain high contrast between the dark modules and background — standard black on white works best. Avoid placing QR codes on curved surfaces or over busy patterns that interfere with scanning. Always test your QR code with at least two different scanner apps before printing or publishing. Use URL shorteners for long web addresses to reduce the density of the QR matrix, which improves scan reliability. For marketing materials, add a short call-to-action near the code such as "Scan for menu" or "Scan to connect to WiFi" so users understand what they will get.