QR Code Generator

Generate QR codes for URLs, text, WiFi, contacts. Download as PNG. Free and unlimited.






What is a QR code?

A QR (Quick Response) code is a two-dimensional barcode invented by Japanese engineer Masahiro Hara at Denso Wave in 1994. Unlike traditional 1D barcodes that hold up to 25 characters, QR codes can encode up to 4,296 alphanumeric characters or 2,953 bytes – enough for URLs, contact info, Wi-Fi credentials, UPI payment IDs, vCards, or short messages. Their distinctive black-and-white square pattern with three corner finder patterns allows smartphones to detect and decode them from any angle. After exploding in popularity during the COVID-19 era for contactless menus, payments, and check-ins, QR codes are now ubiquitous on business cards, packaging, posters, advertisements, and product labels worldwide.

How to use this tool

  1. Enter your content — Type or paste the URL, text, or formatted data you want to encode (see formats below). Most common: a website URL like https://example.com.
  2. Choose size — 300px is good for digital use (websites, email). 500px+ for print materials. Larger size = easier to scan from distance.
  3. Pick error correction level — L (7%) for clean digital. M (15%) for general use – default. Q (25%) for printed materials. H (30%) for outdoor or branded QR with a logo overlay.
  4. Generate & preview — The QR code appears instantly. Verify it scans correctly with your phone’s camera app before distributing.
  5. Download as PNG — Click Download to save the QR code as a PNG image. Use it on business cards, posters, websites, packaging, or anywhere you need quick scanning.

What you can encode in a QR code

QR codes accept any text but certain prefixes trigger special behavior on phones:

  • URLs: https://mavextech.com – opens in browser
  • Plain text: any text up to 2,953 bytes
  • Email: mailto:hello@mavextech.com?subject=Hi – opens email app
  • Phone: tel:+919876543210 – opens dialer
  • SMS: sms:+919876543210?body=Hello
  • WhatsApp: https://wa.me/919876543210?text=Hello
  • Wi-Fi: WIFI:S:NetworkName;T:WPA;P:Password;;
  • UPI payment: upi://pay?pa=user@bank&pn=Name&am=100&cu=INR
  • Calendar event: BEGIN:VEVENT
    SUMMARY:Meeting
    DTSTART:20260601T100000Z
    END:VEVENT
  • vCard contact: BEGIN:VCARD
    FN:Vidhaata
    TEL:+91...
    END:VCARD

Examples

  • Restaurant menu QR: Link to your menu PDF – https://restaurant.com/menu.pdf
  • Wi-Fi guest access: WIFI:S:GuestNetwork;T:WPA;P:welcome2024;; – guests scan and join automatically
  • UPI tip jar: upi://pay?pa=tipjar@paytm&pn=Coffee&cu=INR – customers scan and pay any amount
  • Business card: Encode your full vCard so people can add you to contacts with one scan
  • Event check-in: Generate unique QRs per attendee with their ID – scan at the entrance
  • Product authentication: Each product gets a unique QR linking to a verification page

Tips & best practices

  • Use the H error correction level if you plan to overlay a logo in the center of the QR – the code remains scannable even with 30% obscured
  • Print QR codes at least 2 cm x 2 cm for normal scanning distance (30-60 cm). Larger if scanning from farther away (posters, billboards)
  • Always test the QR with multiple phones (iPhone Camera, Android default camera, Google Lens) before mass-printing
  • Use short URLs for shorter, simpler QR patterns – bit.ly, tinyurl, or your own URL shortener
  • Provide a fallback (regular text URL) next to printed QRs for users who cannot scan
  • Track QR scans by routing through a redirect link with UTM parameters – useful for marketing campaigns
  • Use dynamic QR services (like Bitly) for printed materials so you can change the destination later without reprinting

Limitations & notes

QR codes have storage limits: 7,089 numeric, 4,296 alphanumeric, or 2,953 bytes maximum. Larger payloads create denser codes that are harder to scan on small prints. Some old phones (pre-2017) require a dedicated QR scanner app. Mirror images of QR codes are not scannable – keep the orientation correct on print materials. Damaged QR codes (more than ~25% obscured) cannot be read.

Frequently Asked Questions

Is the generated QR code free for commercial use?

Yes – QR code is an open standard (ISO/IEC 18004) and is royalty-free. You can use generated QR codes on commercial products, packaging, business cards, advertisements, and anywhere else without restrictions or licensing fees.

Can I add a logo to my QR code?

Yes – you can overlay a logo (typically 20% of the QR’s size) in the center after downloading. Use error correction level H (30%) when generating so the code stays scannable even with the logo obscuring part of it. Use any image editor like Canva, Photoshop, or GIMP.

Why are some QR codes denser than others?

Density depends on data length. A short URL like ‘https://x.co’ creates a sparse 21×21 QR. A long URL or full vCard with multiple fields creates a denser 33×33 or 45×45 QR. Denser codes need higher print resolution to remain scannable.

Do QR codes expire?

No – static QR codes never expire. They forever encode the data you put in them. However, if the QR points to a URL and that URL is deleted, scanning will lead nowhere. Use a permanent or redirected URL if you need long-term reliability.

Can I track who scans my QR code?

Not directly – but you can route through an analytics-enabled link. Generate a QR pointing to https://bit.ly/yourCode and Bitly tracks every scan with location, device, time. Google’s UTM parameters work too: append ?utm_source=qr&utm_campaign=poster to your URL.

What is the maximum data I can put in a QR code?

Up to 4,296 alphanumeric characters or 2,953 bytes binary at the highest version. But practically, keep URLs under 100 characters for scannability. For longer data, use a URL shortener that redirects to the full content.

Are QR codes safe? Can they contain viruses?

QR codes themselves are just encoded data – they cannot contain viruses. But scanning an untrusted QR can take you to a malicious website. Always check the URL preview before tapping. Many phone cameras show the destination URL when a QR is detected – verify it looks legitimate.

Related tools

Password Generator · URL Encoder & Decoder · UUID Generator

Copied to clipboard