QR Code Generator
Generate QR codes for any content — URLs, plain text, Wi-Fi credentials, vCards, email addresses, phone numbers, or calendar events. Control error correction level to balance data density against damage tolerance. Download as PNG for raster use or SVG for scalable vector graphics. Everything happens in your browser for complete privacy.
What does this tool do?
The QR Code Generator creates ISO/IEC 18004 compliant QR codes. It supports multiple input types with automatic format optimization: URLs open directly when scanned, Wi-Fi credentials configure network connections on phones, vCards import contacts, emails and SMS pre-fill messages, phone numbers trigger calls, and calendar events add to calendars. Four error correction levels (L 7%, M 15%, Q 25%, H 30%) let you choose between maximum data capacity or maximum damage tolerance. Output formats include PNG for immediate use and SVG for professional printing.
How it works
The tool uses a QR code generation library compiled for browser use. Input is analyzed to determine optimal encoding mode (Numeric, Alphanumeric, Byte) and version (size). Data is encoded according to QR specification, Reed-Solomon error correction codes are calculated based on the selected level, and the final bitstream is arranged in the QR matrix pattern. For rendering, PNG uses canvas drawing with module size scaling, while SVG generates path elements for each module. Finder patterns, timing patterns, format info, and version info are all generated according to the QR code standard.
Features
- Multiple input types: URL, text, Wi-Fi, vCard, email, SMS, phone, calendar
- Error-correction levels: L (7%), M (15%), Q (25%), H (30%)
- Adjustable size and quiet-zone margin
- Download as PNG (raster) or SVG (vector)
- Live preview as you type
- 100% client-side generation
- Standard QR code specification compliant
How to use
- 1
Select content type
Choose the type that matches your content. URL is most common. Wi-Fi generates the special WIFI:T:... format for automatic network configuration.
- 2
Enter your content
Fill in the fields for your content type. For Wi-Fi: network name (SSID), password, and security type. For vCard: name, phone, email, etc.
- 3
Adjust error correction
H (High) tolerates ~30% damage — best for printed codes that might get scuffed. L (Low) fits more data but any damage may make it unreadable. M or Q are good defaults.
- 4
Set size and margin
Module size controls how large each QR square is. Quiet zone is the white border — 4 modules minimum per specification.
- 5
Download your QR code
PNG for immediate digital use, websites, or small print. SVG for professional printing at any size without pixelation.
Common use cases
Marketing and advertising
Create QR codes for print ads, posters, and product packaging that link to websites, promotions, or digital content.
Wi-Fi sharing
Generate Wi-Fi QR codes for guests — they scan and connect without typing complex passwords.
Contact cards
Create vCard QR codes for business cards that import your full contact info when scanned.
Event management
Generate calendar event QR codes for invitations and tickets that add events directly to phone calendars.
Tips & best practices
- Higher error correction makes QR codes larger but more robust. Use H for outdoor/signage use, M or Q for most indoor applications
- QR codes have maximum capacity: ~3KB at L level, less at higher error correction. Very long URLs may need URL shorteners
- The quiet zone (white border) is required — don't crop it off or the QR code may not scan
- Dark color on light background is standard. Inverted (light on dark) works with some scanners but not all