QR Code Generator
Create QR codes from text or URLs instantly. Zero dependencies, 100% client-side.
Create QR codes from text or URLs instantly. Zero dependencies, 100% client-side.
QR Code Generator creates QR codes for URLs, plain text, email addresses, phone numbers, Wi-Fi credentials, and vCard contact information. Choose the error correction level (L, M, Q, H), set the size and colors, and download the code as PNG or SVG. All generation happens in your browser β no data is sent to a server.
A QR (Quick Response) code is a 2D barcode that encodes data as a pattern of black and white squares. Any smartphone camera can scan one without a dedicated app. QR codes can encode up to 4,296 alphanumeric characters or 7,089 numeric characters. The four error correction levels determine how much of the code can be damaged and still be readable: L=7%, M=15%, Q=25%, H=30% data recovery.
Common use cases: linking printed materials to web pages, encoding Wi-Fi passwords so guests can connect without typing, embedding contact information in business cards, providing payment links at retail locations, and encoding deep links to mobile apps. QR codes became ubiquitous during COVID-19 for contactless menus and check-ins and remain a standard part of marketing and UX toolkits.
URL QR code for a website
Result: Input: https://devnestio.pages.dev β QR code that phones scan to open the URL directly
Wi-Fi credentials
Result: SSID: 'GuestWifi', Security: WPA2, Password: 'secret123' β encoded as WIFI:T:WPA;S:GuestWifi;P:secret123;; β scanned by phones to auto-connect without typing
vCard business card
Result: Name + email + phone β encoded contact card that the phone's camera app adds directly to Contacts
What error correction level should I use?
Level M (15%) is sufficient for screen display. Use Level Q (25%) or H (30%) for print because physical codes can be damaged, dirty, or partially obscured. H is required if you overlay a logo on the QR code, since the logo covers part of the code.
What is the maximum amount of data a QR code can hold?
Maximum capacity: 7,089 numeric digits, 4,296 alphanumeric characters, or 2,953 bytes of binary data (at the lowest error correction level). In practice, keep URLs short β long URLs create denser codes that are harder to scan from a distance.
Can I put a logo in the center of a QR code?
Yes β QR codes with error correction Level H can tolerate up to 30% data damage. A centered logo covering less than 30% of the code area is still scannable. Use the highest error correction level and always test scanning after adding the logo.
What colors can I use for a QR code?
The dark modules (foreground) must have sufficient contrast against the light modules (background). Black on white has the highest reliability. Custom colors work if the contrast is high β avoid light-on-dark or colors that are hard for scanners to distinguish. Test scanning on multiple devices before printing.
Why does my QR code fail to scan?
Common causes: contrast too low (light colors), too much data making the code too dense, damage to physical print, image resolution too low (use at least 300 DPI for print), or the scanning distance exceeds what the code density allows. Use SVG for print to ensure crisp edges at any size.