What Is a QR Code?
A QR code (Quick Response code) is a two-dimensional barcode that stores data in a square grid of black and white squares. Invented in 1994 by Denso Wave (a Japanese automotive company), QR codes were originally designed to track parts in manufacturing. Today they're used everywhere: menus, business cards, Wi-Fi logins, payment links, and more.
How to Use This Tool
- Pick a type โ URL, text, Wi-Fi, email, phone, SMS, vCard, or location.
- Fill in the fields โ the QR code updates in real time.
- Customize appearance โ colors, size, margin, and error correction level.
- Download as PNG โ high resolution up to 1024ร1024 pixels.
- Copy or share โ copy the image to your clipboard or share the data via your device's share sheet.
The 8 QR Code Types
- URL โ opens a website when scanned. Most common use case.
- Text โ plain text with no action. Good for notes, codes, or short messages.
- Wi-Fi โ joins a Wi-Fi network automatically. No password typing needed.
- Email โ opens a new email with recipient, subject, and body pre-filled.
- Phone โ starts a phone call to the number.
- SMS โ opens a new text message with recipient and body pre-filled.
- vCard โ adds a contact to the phone's address book. Perfect for business cards.
- Location โ opens a map at specific coordinates or a place name.
Customization Options
- Foreground color โ the color of the QR modules (default black).
- Background color โ the color of the empty space (default white).
- Size โ from 128 to 1024 pixels. Larger = better for printing.
- Margin โ the quiet zone around the QR code (0โ10 modules).
- Error correction โ Low (7%), Medium (15%), Quartile (25%), High (30%).
Error Correction Levels Explained
QR codes have a built-in error correction feature that lets them work even if part of the code is damaged, dirty, or covered. Higher levels of correction mean:
- Low (L) โ 7% โ smallest QR code, but most fragile
- Medium (M) โ 15% โ the standard choice for most uses
- Quartile (Q) โ 25% โ good for outdoor or dirty environments
- High (H) โ 30% โ works even when partially covered; needed if adding a logo
If you plan to put a logo or image in the center of the QR code, use High correction so the code still scans.
Contrast Matters
For a QR code to scan reliably:
- Dark modules on light background works best. Black on white is ideal.
- Avoid inverting โ many scanners can't read light-on-dark QR codes.
- Ensure sufficient contrast โ use colors that are clearly distinguishable from each other.
- Avoid mid-tone backgrounds โ pale yellows and light grays reduce readability.
- Test before printing โ scan with a phone before committing to print.
Quiet Zone (Margin)
The white space around a QR code โ called the quiet zone โ is essential for scanning. The QR spec requires a minimum of 4 modules of quiet zone on all sides. Without it, scanners may have trouble finding the code's edges. This tool's default margin is 4 modules.
Common Use Cases
- Business cards โ encode a vCard so recipients can add you instantly.
- Restaurant menus โ link to an online menu or PDF.
- Wi-Fi sharing โ let guests connect without typing a password.
- Product packaging โ link to instructions, warranty, or a support page.
- Event tickets โ encode a unique identifier for check-in.
- Marketing โ link to promotional videos or landing pages.
- App downloads โ link directly to iOS App Store or Google Play.
- Payment links โ encode a UPI, PayPal, or Venmo link.
- Real estate signs โ link to a property listing.
Best Practices for Printed QR Codes
- Minimum size โ at least 2 ร 2 cm (0.8 ร 0.8 in) for close scanning. Larger for distance.
- Add a call-to-action โ "Scan for menu" tells people what to expect.
- Test at the target distance โ a code that scans from 20 cm should scan from 1 m when 5ร larger.
- Use vector formats for print โ PNG at high resolution works, but SVG scales infinitely.
- Place at eye level โ don't put QR codes too low or too high.
- Provide good lighting โ dark areas make scanning difficult.
Common Use Cases for Each Type
- URL โ marketing, menus, product pages
- Text โ coupon codes, serial numbers, short instructions
- Wi-Fi โ guest networks, cafรฉ Wi-Fi, home visitors
- Email โ contact forms, RSVP links
- Phone โ click-to-call from print ads
- SMS โ text-to-vote, opt-in campaigns
- vCard โ business cards, conference badges
- Location โ meeting points, event directions
Frequently Asked Questions
- Do QR codes expire? โ Static QR codes (like the ones generated here) never expire. They contain the data directly.
- Can I track scans? โ Not with static QR codes. For tracking, you'd need a dynamic QR service that redirects through a tracking URL.
- Is there a size limit? โ Yes. QR codes can hold up to ~3 KB of data, but larger data = denser code = harder to scan. Keep URLs short.
- Can I add my logo? โ Yes, in the center of the QR code. Use High error correction (30%) to ensure it still scans.
- Do the colors affect scanning? โ Yes. High contrast is essential. Avoid similar tones.
- Can I use a QR code commercially? โ Yes. QR codes are freely usable โ no license fees.
Related Tools
Privacy Note
Everything runs in your browser. The QR codes you generate are never uploaded, tracked, or logged. Close the tab and everything is gone.