About the QR Code Generator
Turn any text or URL into a scannable QR code directly in your browser. Adjust size, error-correction level, margin, and colors, preview the result instantly, and download it as a PNG or SVG file.
How to use it
- 01Enter the text or URL you want to encode.
- 02Adjust size, error correction level, margin and colors as needed.
- 03Preview the generated QR code image.
- 04Download the code as PNG or SVG, or copy the PNG data URL directly.
Features
- Configurable size from 128 to 1024 pixels.
- Four error correction levels (L, M, Q, H) trading data capacity for damage resistance.
- Custom foreground and background colors.
- Both raster (PNG) and vector (SVG) export formats.
- Friendly error message when content is too long to encode at the chosen settings.
Practical examples
Sharing a link on a poster
Encode a marketing URL with a high error-correction level so the code still scans even if partially obscured or printed at low quality.
Wi-Fi or contact sharing
Encode structured text such as a Wi-Fi connection string or vCard for quick scanning by mobile devices.
Limitations
- QR codes have a maximum data capacity that depends on the error-correction level; very long input may fail to encode at high correction levels.
- This tool does not validate that scanned content will be interpreted correctly by every scanner app (e.g. Wi-Fi or vCard formats).
Privacy
QR codes are rendered entirely client-side using the qrcode library running in your browser; the content you encode is never transmitted to a server.
Read the full privacy policy for how the site as a whole handles data.
Frequently asked questions
Which error correction level should I choose?
Use a higher level (Q or H) if the code might be printed small, partially covered, or damaged; use L or M for maximum data capacity when the code will be displayed cleanly on screen.
Why did I get a 'content too long' error?
QR codes have a fixed maximum capacity that shrinks as the error-correction level increases; try a lower level or shorten the encoded text.
Can I use custom colors for branding?
Yes, set the dark and light colors, but ensure enough contrast between them so scanners can still read the code reliably.