QR Code Generator
Generate a QR code from any text string, URL, or data payload. The code is created entirely in your browser using the qrcode library, which implements the ISO/IEC 18004 QR code specification. Nothing is sent to a server.
How to Use
- Enter text or paste a URL into the input field. The QR code generates automatically as you type
- Adjust settings if needed. Change the pixel size, pick an error correction level, or customize the foreground and background colors
- Download the result. Choose PNG for screen use or SVG for print. You can also copy the image directly to your clipboard
When to use each error correction level
- L (7%) for clean digital displays where the code will not be damaged
- M (15%) is the default and works for most use cases
- Q (25%) for printed codes that might get minor wear
- H (30%) when overlaying a small logo or for codes in harsh environments
Common QR code contents
QR codes are plain text under the hood. Scanners interpret certain prefixes as structured data:
- URLs:
https://example.comopens the browser - WiFi:
WIFI:T:WPA;S:NetworkName;P:Password;;joins a network automatically - Email:
mailto:user@example.com?subject=Helloopens a compose window - Phone:
tel:+15551234567starts a call - SMS:
smsto:+15551234567:Message textopens a text message - vCard: Contact cards starting with
BEGIN:VCARD
Encode a URL with special characters? Use the URL Encoder first. Need to verify a hash embedded in your QR data? The Hash Generator computes SHA-256 and other digests in the browser.