QR Code Generator
Free web tool: QR Code Generator
Options
About QR Code Generator
The QR Code Generator converts any text, URL, phone number, or plain string into a scannable QR code image. Powered by the qrcode.js library, it applies Reed-Solomon error correction and produces QR codes fully compliant with the ISO/IEC 18004 standard. You can customize foreground and background colors, choose from four error correction levels (L/M/Q/H), select sizes from 128 to 1024 pixels, and download in PNG or SVG format.
Designers, marketers, developers, and educators use this tool for product packaging, event flyers, business cards, classroom handouts, and WiFi credential sharing. All generation happens entirely in your browser with no server round-trip, so your encoded data never leaves your device. The batch mode lets you generate dozens of QR codes from a simple list in one click.
Color customization allows brand-aligned QR codes: pick any foreground and background hex color while maintaining sufficient contrast for reliable scanning. The SVG export produces infinitely scalable vector output ideal for print, while PNG works for digital use. The clipboard copy feature enables quick pasting into design tools or chat applications.
Key Features
- Foreground and background color pickers with hex input for brand-aligned QR codes
- Four error correction levels: L (7%), M (15%), Q (25%), H (30%)
- Four output resolutions: 128 px, 256 px, 512 px, and 1024 px
- Download as PNG (raster) or SVG (vector) for any use case
- Copy QR code image to clipboard for quick pasting into other apps
- Batch mode: paste multiple lines and generate all QR codes at once
- Download All button to save every batch QR code as individual PNG files
- ISO/IEC 18004-compliant QR codes with configurable quiet zone margin
- 100% client-side processing — encoded text never leaves your browser
- Full dark mode support with responsive layout
Frequently Asked Questions
What types of content can I encode in a QR code?
You can encode any text string: website URLs (https://...), plain text messages, phone numbers (tel:+1...), email addresses (mailto:...), SMS links (smsto:...), WiFi credentials (WIFI:S:name;T:WPA;P:pass;;), and geographic coordinates. The QR standard supports up to ~3,000 ASCII characters, though shorter strings produce simpler codes that are easier to scan.
Which output size should I choose?
For web use or digital displays, 256 px is usually sufficient. For print materials such as flyers or business cards, choose 512 px or 1024 px to ensure the code remains sharp when scaled up. For infinite scalability without quality loss, download the SVG format instead of PNG.
Can I use custom colors in my QR code?
Yes. Use the foreground and background color pickers to set any hex color. Ensure there is sufficient contrast between the two colors for reliable scanning — dark modules on a light background work best. Avoid light-on-light or dark-on-dark combinations, as scanners rely on high contrast to detect the code.
What is the difference between error correction levels L, M, Q, and H?
Error correction determines how much of the QR code can be damaged or obscured while still scanning correctly. L allows 7% damage recovery, M allows 15%, Q allows 25%, and H allows 30%. Higher correction levels make the code denser (more modules) but more resilient. Use H if you plan to place a logo over part of the code.
What is the difference between PNG and SVG download?
PNG is a raster image at the exact pixel dimensions you selected — ideal for digital displays and web embedding. SVG is a vector format that can be scaled to any size without quality loss — ideal for print materials, large banners, and professional design workflows.
How does the batch mode work?
Switch to the Batch tab, paste multiple lines of text (one URL or string per line), and click Generate All. Each line produces its own QR code with the current color, size, and error correction settings. You can download each code individually as PNG or SVG, or use the Download All PNG button to save them all at once.
Is the QR code I generate truly private?
Yes. The qrcode.js library runs entirely inside your browser, so the text or URL you type never leaves your device. There are no analytics calls, no logging, and no server processing involved. Once you close the tab the data is gone entirely.
Does the generated QR code ever expire?
No. The QR codes created by this tool are static images that permanently encode whatever text you provided. They will keep working as long as the encoded URL or content remains valid. Only dynamic QR code services that route through a redirect server can expire.
How do I copy the QR code to my clipboard?
After generating a QR code in single mode, click the "Copy to Clipboard" button. This uses the modern Clipboard API to copy the QR code as a PNG image, so you can paste it directly into design tools, documents, or messaging apps. Note that this feature requires a modern browser with Clipboard API support.