QR Code Generator
Enter content to generate a QR code
Instant Generation
QR codes are generated in real time as you type with zero delay.
100% Client-Side
All processing happens in your browser, and nothing is sent to our servers. Your QR content is not saved in the page address; it goes into a link only when you click Share.
Full Customization
Customize colors, add logos, and adjust error correction and size.
About the QR Code Generator
The QR Code Generator encodes text, URLs, Wi-Fi credentials, vCards, and otpauth:// URIs into QR codes — entirely in your browser via qrcode.react. Adjust error correction level, margin, and colors, and add a center logo. Download as PNG or SVG. The encoder runs client-side and nothing is sent to our servers. The text you enter is not written to the page address; it goes into a link only when you click Share, so be careful sharing links that hold credentials, payment links, or 2FA secrets.
Updated: May 8, 2026
Related Tools
How to use the generator
- Type or paste the content to encode — plain text, a URL, or a payload in a standard format such as `WIFI:...`, a vCard, or an otpauth:// URI for 2FA enrollment.
- Use the Sample menu to load a URL, Wi-Fi, or vCard example and edit it. A character counter shows the limit for the current error correction level.
- Adjust error correction level: L (7% recoverable damage), M (15%), Q (25%), H (30%). Higher levels mean larger codes; pick H for printed materials that may scuff or be photocopied.
- Customize the foreground and background colors (presets or a color picker), the quiet-zone margin, and an optional center logo (PNG, JPEG, or SVG up to 2 MB; adding one switches error correction to H). Note: extreme contrast still matters — pure black on white scans most reliably.
- Download PNG (raster, 128 to 1024 px) for slides and email; SVG (vector) for print, business cards, and high-DPI displays.
Common use cases
- Conference badges and signage — print a vCard QR on a name tag so attendees can scan to add you to their contacts.
- Wi-Fi guest network sharing — encode SSID + password into a Wi-Fi QR; guests scan with their phone camera and connect without typing.
- OTP enrollment — generate the otpauth:// QR your authenticator app expects when setting up 2FA, useful for self-hosted services.
- Payment / donation links — encode a Stripe checkout URL, Toss link, or PayPal.me URL for in-person collection.
- Restaurant menu links, parking validation, ticket entry — any short URL that benefits from frictionless camera-scan delivery.
Privacy and security
qrcode.react runs as client-side JavaScript, and nothing you enter is sent to our servers or analytics. The color, size, margin, and error correction settings are saved in the page address as you type; the text you encode is not, so it does not reach our CDN on reload or stay in browser history. The text goes into a link only when you click Share, and anyone with that link can read it, so do not share links to real Wi-Fi passwords, otpauth secrets, or payment links. Scripts on the page, including ads, run alongside the generator, so clear the input when you are done. The logo you upload is not saved in the address. Disconnect from the network and the generator continues to encode QR codes locally. A shared link stays in the recipient's browser history and in any app the link passes through.
Tips and pitfalls
- QR code "version" determines size. Versions 1-40 correspond to 21×21 to 177×177 modules. Higher versions hold more data but are harder to scan from a distance — short URLs scan more reliably than long ones.
- Error correction lets a damaged QR still scan. H-level survives a 30% obstruction (logo overlay, smudges), but the code is larger. L-level packs more data into a smaller code but is fragile to print damage.
- Logo overlays work best with H-level error correction and an opaque (not semi-transparent) overlay. Place at center; keep the overlay area below 25% of the code.
- Pure white-on-black inverts can fail to scan on older readers. Most modern phone cameras handle inverts, but legacy POS scanners may not. When in doubt, use dark-on-light.
- otpauth:// QR codes contain the SHARED SECRET in plaintext. Treat the rendered QR image with the same care as the secret itself; do not paste it into Slack, ticketing systems, or screenshots.
Frequently Asked Questions
- What is the maximum data size for a QR code?
- Up to about 4,296 alphanumeric characters or 7,089 numeric digits at the largest (version 40, error correction L). In practice, keep URLs short — long URLs scan slower and require more print resolution. For long content, store on a server and encode the short URL.
- Why does my QR code not scan?
- Common causes: insufficient quiet zone (white border around the code), too small or too detailed (try a higher error correction level and lower data density), low contrast (avoid color-on-color combinations that gray-scale to similar values), and camera focus issues (most phones need 5cm+ distance).
- Can I add a logo or color my QR code?
- Yes — set custom foreground and background colors, and overlay a logo at center. For logo overlays, use error correction H so the redundant data survives the obscured center. Keep overlay below 25% of the total code area.
- PNG vs SVG — which should I choose?
- SVG for print, business cards, and high-DPI displays — it scales without quality loss. PNG for slides, social media, and emails — supported everywhere and renders identically across systems. Both work for screen scans; SVG is mandatory if you want a sharp 1m printed code.
- How do I encode Wi-Fi credentials?
- Use the format `WIFI:T:WPA;S:NetworkName;P:Password;H:false;;` (T=auth type, S=SSID, P=password, H=hidden). Type this string into the input, or load the Wi-Fi sample and edit it. Both iOS and Android camera apps recognize it as a Wi-Fi join prompt.
- Are QR codes encrypted?
- No — QR codes encode plaintext. Anyone scanning the code reads the contained data. For confidential information (Wi-Fi passwords on a shared bulletin board, otpauth secrets), control physical access to the printed code as you would the underlying secret.
- What is the otpauth URI format?
- `otpauth://totp/Issuer:account?secret=BASE32&issuer=Issuer&algorithm=SHA1&digits=6&period=30`. Generate one for any TOTP-protected account; scan with Google Authenticator, Authy, 1Password, or this site's OTP Generator. The format is documented in the Google Authenticator key URI spec.
- Where can I read the QR specification?
- ISO/IEC 18004:2015 is the international standard. Wikipedia has a thorough overview of versions, encoding modes (numeric, alphanumeric, byte, kanji), and error correction. The qrcode.react library implements the full spec.