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.
What is a QR Code?
A QR code (Quick Response code) is a two-dimensional matrix barcode that stores data as a pattern of black and white modules on a square grid. It was invented in 1994 by Denso Wave, a Japanese subsidiary of Toyota, to track vehicle parts during manufacturing. Unlike traditional barcodes that store data in one dimension (left-to-right stripes), QR codes store data in both horizontal and vertical directions, which gives them much higher data density. A single QR code can hold up to 4,296 alphanumeric characters. QR codes are readable by any camera-equipped smartphone and are used for payments, product tracking, authentication, contact sharing, and linking physical objects to digital content.
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.