QR Code Generator - Create QR Codes Online

Tip: Type a hex code (e.g. #ff5733) directly in the text field to set any color.

How to Use the QR Code Generator

Enter any text, URL, or data into the input field, select your desired output size, and click Generate QR Code. The QR code appears instantly as a preview. Download it as a high-resolution PNG image for use in print materials, presentations, websites, or digital content.

What Are QR Codes

QR (Quick Response) codes are two-dimensional barcodes that encode data in a matrix of black and white squares. Invented in 1994 by Denso Wave for tracking automotive parts, QR codes have become ubiquitous in marketing, payments, authentication, and information sharing. Any smartphone camera can scan a QR code instantly.

QR Code Data Capacity

The amount of data a QR code can hold depends on the type of characters and the error correction level:

Data TypeMaximum Capacity
Numeric only7,089 characters
Alphanumeric4,296 characters
Binary (bytes)2,953 bytes
Kanji/Kana1,817 characters

In practice, shorter data produces smaller, more easily scannable QR codes. URLs under 100 characters generate clean, fast-scanning codes. Very long data creates dense patterns that require closer scanning distance and better camera quality.

Error Correction Levels

QR codes include built-in error correction that allows them to be read even when partially damaged or obscured. This is the same technology that enables QR codes with logos in the center to work despite blocking some of the data pattern.

LevelRecovery CapacityBest For
L (Low)~7%Digital screens, clean environments
M (Medium)~15%General purpose, most use cases
Q (Quartile)~25%Environments with moderate wear
H (High)~30%Harsh conditions, logos in QR code

Common QR Code Use Cases

The most popular QR code use case is encoding website URLs. Restaurants use QR codes for digital menus, retailers link to product pages, and event organizers link to registration forms. Keep URLs short for cleaner, more scannable codes.

Wi-Fi Network Sharing

QR codes can encode Wi-Fi credentials in the format WIFI:T:WPA;S:NetworkName;P:Password;;. When scanned, the phone automatically connects to the network. This eliminates the need to type complex Wi-Fi passwords manually.

Contact Information (vCard)

QR codes can encode full contact cards in vCard format, including name, phone, email, address, and company. Scanning adds the contact directly to the phone’s address book. This is popular for business cards and conference badges.

Two-Factor Authentication

TOTP-based two-factor authentication uses QR codes to share the secret key between the authentication server and the user’s authenticator app. The QR code encodes a URI containing the account name, issuer, and secret in a standardized format.

QR Code Design and Scanning Tips

The standard black-and-white QR code provides the highest contrast and best scanning reliability. While colored QR codes are possible, maintain at least a 40% brightness difference between the foreground and background colors. Always test colored QR codes on multiple devices before printing.

For generating unique identifiers to embed in QR codes, the UUID Generator creates random IDs. If you need to generate hash values for verification alongside your QR codes, the Hash Generator computes SHA-256 and other digests.

Frequently Asked Questions

How much data can a QR code store?

A QR code can store up to 4,296 alphanumeric characters or 7,089 numeric digits at the lowest error correction level. For URLs and plain text, you can practically fit about 2,000-3,000 characters. Longer data produces denser QR codes that are harder to scan.

What is the best size for a QR code?

For print materials, QR codes should be at least 2cm x 2cm (0.8 inches) at close scanning distance. For posters and signage scanned from further away, use 10cm or larger. For digital use, 200x200 pixels is a good minimum for on-screen display.

Do QR codes expire?

Static QR codes that encode data directly never expire. The data is embedded in the pattern itself. Dynamic QR codes that redirect through a URL shortener can expire if the service stops the redirect. This tool creates static QR codes that work permanently.

What is the difference between QR code error correction levels?

QR codes have four error correction levels: L (7% recovery), M (15%), Q (25%), and H (30%). Higher levels make the code more resistant to damage or partial obstruction but produce denser patterns. Level M is the default and works well for most use cases.