QR Code Generator
Generate QR codes for URLs, text, contact info, or anything else. Pick a size and error correction level, preview live, then download as PNG or SVG. Free, browser-based, and works offline.
About the QR Code Generator
This QR Code Generator runs entirely in your browser using the open-source qrcode-generator library. Type or paste any text — a URL, a phone number, a Wi-Fi password, contact details, or plain text — and the tool encodes it into a standard QR code that any modern phone camera can scan. No data is sent to a server; generation happens locally and works offline once the page has loaded.
Error correction levels
QR codes use Reed–Solomon error correction, so the code can still be read even when partially damaged or obscured. There are four levels, each recovering a different share of the codewords:
- L (Low) — recovers ~7% of data. Smallest QR, least tolerance to damage.
- M (Medium) — recovers ~15% of data. Good default for most use cases.
- Q (Quartile) — recovers ~25% of data. Solid choice for codes that may get scuffed.
- H (High) — recovers ~30% of data. Best for printed codes in harsh environments, or codes overlaid with a logo.
Higher error correction means more redundant data, so the QR grows denser for the same input. For a clean digital display, L or M is fine; for printed labels, packaging, or outdoor signage, choose Q or H.
Common use cases
- Links & URLs — point a phone camera at a poster to open a website.
- Wi-Fi sharing — encode
WIFI:T:WPA;S:NetworkName;P:password;;so guests can join with one scan. - Contact info (vCard) — share a name, phone, and email as a scannable card.
- Payments — generate merchant payment QR codes for checkout.
- Product & inventory labels — track items by scanning instead of typing.
- Event tickets & menus — contactless access and digital menus.
Maximum capacity
A QR code's capacity depends on the error correction level and the type of data. Numeric-only content fits the most (up to ~7,089 digits), alphanumeric up to ~4,296 characters, and binary/8-bit data up to ~2,953 bytes at the lowest error correction. URLs and short text fit comfortably even at level H. If your input is too long for the chosen level, the tool will warn you — try lowering the error correction or shortening the text.
How to generate a QR code
- Type or paste the text or URL you want to encode into the input field above.
- Pick a size (128 / 256 / 512 px) and an error correction level (L / M / Q / H).
- The preview updates automatically as you type. Click Generate QR Code to confirm.
- Click Download PNG for a raster image, or Download SVG for a scalable vector you can edit in Illustrator, Figma, or Inkscape.
Frequently asked questions
Do I need an internet connection? Only to load the page the first time. Once the page is open, QR generation runs entirely in your browser and works offline.
Can any phone scan these codes? Yes. The codes follow the ISO/IEC 18004 standard and are readable by the built-in camera app on iOS and Android, as well as any QR scanner.
PNG or SVG — which should I use? Use PNG for quick sharing on screens and chat apps. Use SVG for printing at any size — posters, business cards, packaging — because it stays sharp at every resolution.
Is there a limit on the text length? Yes, it depends on the error correction level. The tool will notify you if the input is too long; lower the level or shorten the text.
Are my inputs stored? No. Everything is processed locally in your browser. Nothing is uploaded to a server.