QR Code Generator

Create QR codes for URLs, text, and data instantly

What is a QR Code?

QR (Quick Response) codes are two-dimensional barcodes that encode text, URLs, contact information, WiFi credentials, and other data into a scannable matrix of black and white modules. Invented in 1994 by Denso Wave for tracking automotive parts during manufacturing, QR codes have since become a universal standard for linking the physical world to digital content.

Unlike traditional one-dimensional barcodes that encode data only horizontally, QR codes use both horizontal and vertical dimensions. This allows them to store vastly more information — up to 7,089 numeric characters or 2,953 bytes of binary data — in a compact square. Every QR code contains three finder patterns (the large squares in three corners) that help scanners detect and orient the code, plus alignment patterns, timing patterns, and error correction data that make scanning fast and reliable.

QR codes also include built-in error correction using Reed-Solomon codes. Even if part of the code is damaged, obscured, or dirty, a scanner can still reconstruct the original data — recovering anywhere from 7% to 30% of the content depending on the error correction level chosen.

How to Create a QR Code

  1. Enter your text, URL, or data in the input field
  2. Adjust settings if needed — error correction level, module size, colors
  3. Click “Generate” or press Ctrl+Enter
  4. Download the QR code as PNG (for screens) or SVG (for print)

The tool automatically selects the smallest QR code version that fits your data, keeping the code compact and easy to scan. You can generate as many QR codes as you need — there are no limits.

QR Code Error Correction Levels

QR codes use Reed-Solomon error correction so they remain readable even when partially damaged. Four levels are available:

LevelRecovery CapacityBest For
L (Low)~7% of dataClean digital displays, screens
M (Medium)~15% of dataGeneral purpose — recommended default
Q (Quartile)~25% of dataOutdoor signs, rough handling
H (High)~30% of dataPrinted labels, logos overlaid on codes

Higher error correction creates larger QR codes because more redundant data must be encoded. Level M strikes the best balance between compactness and resilience for most applications. Use level H if you plan to overlay a logo on the center of the code.

What Can You Encode in a QR Code?

QR codes can encode virtually any text-based data. Common use cases include:

  • URLs — link to websites, landing pages, app downloads, or payment portals
  • Plain text — messages, notes, serial numbers, or instructions
  • WiFi credentials — use the format WIFI:T:WPA;S:NetworkName;P:Password;; for instant network joining
  • Email addressesmailto:user@example.com?subject=Hello
  • Phone numberstel:+1234567890 for one-tap calling
  • vCards — full contact information in vCard 3.0 or 4.0 format
  • Calendar events — meeting invitations in iCalendar format
  • Geographic coordinatesgeo:40.7128,-74.0060 for map pins
  • Cryptocurrency addresses — Bitcoin, Ethereum, and other payment URIs

QR Code Best Practices

Size and scanning distance. A QR code should be at least 2 cm × 2 cm (0.8 × 0.8 inches) for close-range scanning with a phone camera. For posters or signage, follow the 10:1 rule — the scanning distance should be no more than 10 times the QR code’s width. A 5 cm QR code works reliably up to 50 cm away.

Contrast matters. Use a dark foreground on a light background for maximum scanner compatibility. The three finder patterns must be clearly distinguishable. Avoid color combinations with contrast ratios below 4:1 — some older scanners struggle with inverted or low-contrast codes.

Test before publishing. Always scan your QR code with at least two different devices and scanning apps before printing or sharing. Test at the intended viewing size and distance.

Keep data short. Shorter input creates simpler, smaller QR codes that scan faster and more reliably. For long URLs, use a URL shortener or redirect through a short domain you control.

Preserve the quiet zone. The white border around a QR code (quiet zone) must be at least 4 modules wide per the ISO 18004 standard. This tool adds it automatically — do not crop it when placing the image in your design.

QR Code vs Barcode

FeatureQR CodeTraditional Barcode (1D)
Dimensions2D (horizontal + vertical)1D (horizontal only)
Data capacityUp to 7,089 characters~20–25 characters
Data typesText, URLs, binary, structured dataNumbers, limited text
Error correctionBuilt-in Reed-Solomon (7–30%)None
Scanning angleAny orientation, 360°Must be aligned horizontally
Damage toleranceHigh — can recover from partial damageLow — any damage breaks scan

QR codes are the better choice whenever you need to encode more than a simple product SKU. They scan faster, work at any angle, survive physical damage, and fit far more data into less space.

Frequently Asked Questions

How much data can a QR code hold?

A QR code can store up to 2,953 bytes of binary data, 4,296 alphanumeric characters, or 7,089 numeric digits. The actual capacity depends on the error correction level — higher error correction reduces data capacity. For most URLs and short text, even the smallest QR code versions are sufficient.

What are QR code error correction levels?

QR codes support four error correction levels: L (Low, recovers ~7% damage), M (Medium, ~15%), Q (Quartile, ~25%), and H (High, ~30%). Higher levels make the QR code more resilient to damage or obstruction but increase its size. Level M is recommended for general use.

Can I customize the colors of my QR code?

Yes. This tool lets you change both foreground and background colors. For reliable scanning, maintain high contrast between the two — dark foreground on light background works best. Avoid low-contrast combinations like yellow on white.

Is this QR code generator really free?

Yes, completely free with no limits. There are no watermarks, no signup required, and no restrictions on how many QR codes you generate. All processing happens in your browser — your data is never sent to any server.

What format should I download my QR code in?

Download PNG for digital use like websites, social media, and presentations. Download SVG for print materials such as business cards, posters, and packaging — SVG scales to any size without losing quality.

Will my QR code expire?

No. QR codes generated here encode data directly into the image. They do not rely on any server or subscription. The QR code works forever as long as the encoded content (like a URL) remains valid.

Is my data safe when generating QR codes?

Yes. This tool runs entirely in your browser using JavaScript. Your text, URLs, or any other input never leaves your device. Nothing is sent to any server or stored anywhere.