Free QR Code Generator

No login, no watermark — instant QR codes in your browser

0 / 900 characters

Customization

Use H with a logo overlay

Click or drag to upload a logo

Enter content above to generate your QR code

✓ Link copied to clipboard!

What Type of QR Code Do You Need?

Each QR content type encodes your data in a specific format understood by phone cameras and QR apps. Choose the type that matches your use case:

🔗 URL
Link to any website. Most common type. Scan opens browser directly.
📝 Text
Plain text message, address, or note — displayed directly on scan.
📶 WiFi
Guests scan to join your network without typing the password.
👤 vCard
Full contact card — scan saves name, phone, email to phone's contacts.
✉️ Email
Opens a pre-filled email composer with recipient and subject.
📞 Phone
Scan prompts to call the number — great for business cards.
💬 SMS
Opens messaging app with number and optional pre-filled text.

QR Code Print Size Guide

The minimum scannable size depends on scanning distance. Use this table for print production:

Always leave a quiet zone

The blank white border around a QR code (the "quiet zone") must be at least 4 module widths wide. Cropping into the quiet zone is one of the most common reasons QR codes fail to scan.

Color contrast matters

Dark modules on a light background scan most reliably. Reversed (light on dark) works but needs higher ECC. Avoid similar-luminance colors (e.g., dark green on dark blue) — this generator warns you when contrast is too low.

Error Correction Levels Explained

QR codes use Reed-Solomon error correction to remain scannable even when partially damaged or obscured. Higher ECC means more redundant data and a denser (larger) code.

  • L (Low, 7%): Best for digital displays; smallest code size. Use for clean screens where no damage is expected.
  • M (Medium, 15%): Good all-purpose choice. Handles minor scratches, smudges, or partial coverage.
  • Q (Quartile, 25%): Recommended for industrial labels, packaging, or outdoor print exposed to wear.
  • H (High, 30%): Required when overlaying a logo (up to 20–25% area). Maximum redundancy for harsh environments.

Logo overlay best practice

This generator automatically upgrades to ECC H when you add a logo, and warns if the logo exceeds 20% of the QR area. Even at ECC H, keep your logo below 25% of the total area for reliable scanning across all phone cameras.

How QR Codes Are Generated (No Library, Pure Browser)

This tool implements the full QR Model 2 algorithm (ISO/IEC 18004) entirely in JavaScript — no external libraries, no server calls. Here's what happens when you type:

  1. Encode payload: Your text is encoded in Byte mode (UTF-8). Version (1–10) is auto-selected based on payload length and ECC level.
  2. Reed-Solomon error correction: EC codewords are computed over GF(256) using the appropriate generator polynomial for your ECC level and version.
  3. Matrix placement: Data and EC codewords are interleaved per the spec and placed in the module matrix alongside finder patterns, alignment patterns, timing patterns, and dark module.
  4. Masking: All 8 mask patterns are tried; the one with the lowest penalty score (per the 4-rule spec scoring) is applied.
  5. Format information: ECC level and mask pattern number are BCH-encoded and placed in the format information areas.
  6. Render: The matrix is drawn to a Canvas element. For SVG export, the same matrix is serialized to <rect> elements at 1 unit per module with a viewBox set for infinite scalability.

Frequently Asked Questions

Yes. All QR codes are generated entirely in your browser using client-side JavaScript. There are no accounts to create, no watermarks added, no download limits, and no data sent to any server at any point.
URL, plain text, WiFi network credentials (WPA/WPA2/WEP/open), vCard 3.0 contact cards, email (with subject and body), phone number, and SMS messages — all seven types fully supported.
Yes. Upload a PNG or SVG logo (up to 2 MB). The logo is composited onto the center of the QR code using the Canvas API, and the error correction level is automatically upgraded to H (30% recovery capacity) to compensate for the covered modules. Keep the logo below 20% of the total QR area for best scan reliability.
L (7%) for clean digital displays where you want the smallest code, M (15%) for general everyday use, Q (25%) for partially obscured or worn environments such as product packaging, H (30%) when overlaying a logo or printing outdoors. The generator defaults to M and auto-upgrades to H when a logo is added.
Yes. Click "Download SVG" to get a pure vector SVG file. It scales to any size — from a 1 cm business card element to a 2-meter billboard — without any pixelation. Note that SVG export does not include the logo overlay; for logo-embedded output, use PNG at 1024 px or larger.
The rule of thumb is 1 cm of QR size per 10 cm of scanning distance. Minimum 1.5 cm (0.6 in) for business cards scanned at arm's length. For wall signage scanned from 1 meter, use at least a 3 cm code. Always maintain the quiet zone (4-module blank border).