QR Code Generator

Create QR codes from any text or URL. Customize size and colors, then download as PNG.

Enter text or URL and click Generate

How to Generate a QR Code

  1. Enter your content — Type or paste a URL, text, email, phone number, or any data into the input field. URLs are the most common use case.
  2. Customize options — Choose the QR code size (200px to 1000px), error correction level (L/M/Q/H), and foreground/background colors.
  3. Generate and download — Click Generate QR Code to create it, then Download PNG to save it or Copy to Clipboard to paste it directly into documents.

How QR Codes Work

QR codes encode data in a grid of black and white squares (called modules). The pattern includes three large finder patterns in the corners that help scanners locate and orient the code. Data is encoded using Reed-Solomon error correction, the same algorithm used in CDs, DVDs, and deep space communication. This allows the code to be read even when partially damaged or obscured.

The QR code specification defines 40 versions, ranging from 21x21 modules (Version 1) to 177x177 modules (Version 40). Larger versions can store more data. This generator supports Versions 1-10, which covers most common use cases including URLs, contact cards, and plain text.

Common Use Cases

Tips

For best scanning reliability, always maintain a quiet zone (blank margin) around the QR code. This generator adds a 4-module quiet zone automatically. Avoid inverting the colors (light foreground on dark background) as some scanners struggle with inverted codes. When printing, ensure the code is at least 2cm (0.8 inches) square for reliable scanning at arm's length.

QR Code Error Correction Levels

Higher error correction lets the code survive more damage, but increases size. Choose based on your use case.

Level Recovery % Best For Example
L (Low) ~7% Clean environments, small print size needed Digital displays, clean labels
M (Medium) ~15% General use, best balance of size and reliability Business cards, flyers, posters
Q (Quartile) ~25% Industrial use, moderate damage expected Product packaging, warehouse labels
H (High) ~30% Harsh environments, logo overlay, outdoor use Outdoor signage, QR with embedded logo

QR Code Size Guide

More data requires a larger QR code (higher version). Use this guide to estimate the right size.

Data Type Max Characters Min Version Module Size
Short URL ~25 chars Version 1 21 x 21
Standard URL ~50 chars Version 2 25 x 25
Long URL / email ~100 chars Version 3-4 29 x 29 / 33 x 33
Plain text ~200 chars Version 5-6 37 x 37 / 41 x 41
WiFi credentials ~100 chars Version 3-4 29 x 29 / 33 x 33

QR Code Best Practices

Follow these guidelines for QR codes that scan reliably every time.

Do Don't Why
Use dark on light colors Invert (light on dark) Many scanners expect dark modules on a light background
Keep a quiet zone (margin) Place text/graphics too close Scanners need the blank border to detect code boundaries
Print at least 2cm (0.8in) Make it too small to scan Camera focus distance limits require minimum physical size
Use EC level H for logo overlays Cover more than 30% with a logo at low EC Logo obscures modules; high EC recovers the lost data
Test before printing Assume it works without testing Always scan the final QR code with multiple devices to verify

Frequently Asked Questions

What is a QR code?

A QR (Quick Response) code is a two-dimensional barcode that can store URLs, text, contact information, or other data. When scanned with a smartphone camera or QR reader, it instantly displays or opens the encoded content.

Is this QR code generator free?

Yes, this QR code generator is completely free with no signup, no watermarks, and no expiration. You can generate and download unlimited QR codes.

What is error correction in QR codes?

Error correction allows a QR code to be scanned even if part of it is damaged or obscured. Higher error correction (H = 30%) means the code can survive more damage but is larger. Lower (L = 7%) creates smaller codes. Medium (15%) is the best balance for most uses.

Can I customize the QR code colors?

Yes. You can change both the foreground (dark modules) and background colors using the color pickers. For best scanning reliability, use high-contrast combinations like dark foreground on light background.

What size QR code should I use for printing?

For business cards, use Small or Medium (200-400px). For posters and flyers, use Large or Extra Large (600-1000px). The general rule is the QR code should be at least 2cm x 2cm (0.8 inches) when printed for reliable scanning.

How much data can a QR code hold?

A QR code can hold up to 7,089 numeric characters, 4,296 alphanumeric characters, or 2,953 bytes of binary data. For URLs, keep them short for smaller, more scannable codes. This generator supports versions 1-10.

More Free Tools