How do I generate a QR code online?
Enter any text or URL and instantly generate a QR code you can download as PNG or SVG. Customize the size, error correction level, and foreground/background colors. The QR code is generated entirely in your browser with no server call.
https://devbolt.dev
[QR Code Image] Size: 256×256px Error correction: M
QR Code Generator
Generate QR codes from text or URLs. Customize colors, size, and error correction level. Download as PNG.
Up to ~4,296 alphanumeric or ~2,953 bytes
QR code preview will appear here
About QR Codes
QR (Quick Response) codes are two-dimensional barcodes that can store text, URLs, contact info, Wi-Fi credentials, and more. They were invented in 1994 by Denso Wave for tracking automotive parts and are now used everywhere from restaurant menus to payment systems.
Error correction allows QR codes to be read even when partially damaged or obscured. Level L recovers ~7% of data, M ~15%, Q ~25%, and H ~30%. Higher levels make the code larger but more resilient — use H if you plan to overlay a logo.
Capacity depends on the data type and error correction level. A Version 40 QR code (the largest) can hold up to 4,296 alphanumeric characters or 2,953 bytes of binary data at the lowest error correction level.
Common uses: URLs (https://...), plain text, email addresses (mailto:...), phone numbers (tel:...), SMS (smsto:...), Wi-Fi credentials (WIFI:T:WPA;S:network;P:password;;), and vCards for contact sharing.
Tips & Best Practices
Error correction level affects both density and resilience
QR codes have 4 error correction levels: L (7%), M (15%), Q (25%), H (30%). Higher correction means larger codes but survive more damage — important for printed materials. Use L for screen display (minimal damage risk), M for standard print, H for codes that will have a logo overlay or be in harsh environments.
QR codes have a maximum data capacity
A QR code holds at most ~4,296 alphanumeric characters or ~2,953 bytes. Long URLs with UTM parameters easily exceed practical limits, making the QR code too dense to scan reliably. Use URL shorteners for long links. Keep QR content under 100 characters for reliable scanning at distance.
WiFi QR codes eliminate manual password typing
The format WIFI:T:WPA;S:NetworkName;P:Password;; creates a QR code that auto-connects to WiFi when scanned. Supported on iOS 11+ and Android 10+. Perfect for guest networks, offices, and Airbnbs. Use T:WPA for WPA/WPA2, T:WEP for WEP, or T:nopass for open networks.
QR codes can be weaponized for phishing
Attackers place malicious QR codes over legitimate ones (quishing attacks). A QR code linking to a fake login page is indistinguishable from a legitimate one visually. Always verify the URL domain after scanning before entering credentials. For business use, use branded short domains to make legitimate QR URLs recognizable.
Frequently Asked Questions
How do I generate a QR code from a URL?
What is QR code error correction and which level should I use?
What content types can QR codes encode?
Related Generate Tools
Git Command Builder
Build git commands visually with an interactive builder — branching, merging, rebasing, stashing, tags, and 80+ cheat sheet entries
CSP Header Builder
Build Content Security Policy headers visually with framework presets, security analysis, and multi-format output for Nginx, Apache, Vercel, Netlify
Code Screenshot Generator
Create beautiful code screenshots with 8 themes, syntax highlighting, customizable backgrounds, and window chrome — free Carbon/Ray.so alternative
AI Prompt Builder
Build structured AI prompts with templates, variables, and multi-format output for OpenAI, Anthropic, and Gemini APIs