Skip to content

Generators

QR Code Generator & Reader

Generate customisable QR codes or decode them from images.

Runs in your browser

Settings

Result

QR code preview will appear here.

Understanding QR codes

A barcode that learned to read itself.

Why those three squares in the corners — and why the camera can read them upside down, in dim light, from across a room.

What a QR code is.

A QR (Quick Response) code is a two-dimensional barcode invented by Denso Wave in 1994 to track car parts on an assembly line. The grid of black and white modules carries up to 4,296 alphanumeric characters or 7,089 digits. Unlike a one- dimensional barcode, a QR holds enough data to encode a whole URL, contact card or Wi-Fi credential — and the symmetry of the design lets a phone read it from any angle.

3 finder squares + timing pattern + payload

The three corner squares.

The big square markers in three corners are finder patterns. The decoder uses them to find the code in a frame, work out its rotation and skew, and project the rest of the grid onto a regular lattice. The fourth corner is left empty so software can tell which way is up. Smaller alignment squares help in larger versions where a flat assumption would break — they let the decoder correct for paper that's curled, a screen seen at an angle, or a phone held a foot too close.

Error correction is the magic.

Every QR code carries a few percent of its area in Reed–Solomon error-correction symbols. There are four levels: L, M, Q, and H, recovering 7%, 15%, 25% and 30% of damaged codewords respectively. That's why a QR can survive a coffee stain, a missing corner, or a logo dropped in the middle. Pick H when your code will be printed on something that scuffs; pick L when you want the densest, smallest possible image.

Quiet zones matter.

The standard requires a four-module margin of white around the whole code. Without it, decoders sometimes fail — they need contrast at the edge to tell where the code ends. Designers who crop the white border to fit a tight layout are the most common reason a QR code "doesn't work" on the press. Always keep the quiet zone, even on a coloured background.

What the payload looks like.

A QR code can carry plain text, but the convention is a small set of prefixes the camera apps recognise. http:// or https:// opens the URL. WIFI:S:…;T:WPA;P:…;; joins a network. MATMSG:TO:…; opens an email draft. The phone reads the text and acts on the prefix; nothing about the QR specification cares what's inside.

Versions, sizes, capacity.

QR codes come in 40 versions, from 21×21 modules (Version 1) to 177×177 (Version 40). Larger versions hold more data but need more pixels of camera resolution to decode reliably. As a rule of thumb, the smallest module on the printed page should be at least 0.4 mm; on a screen, at least three or four CSS pixels. Anything smaller and a phone with a fingerprint on its lens will fail in dim light.

Read next

Frequently asked questions

Quick answers.

Is the QR code an image I can download?

Yes — download as PNG. You control the size, foreground/background colors, and error-correction level.

Is there a character limit?

QR codes hold up to ~4,000 alphanumeric characters depending on error-correction level. Shorter inputs scan more reliably.

What error-correction level should I pick?

L (7%) for short URLs in clean conditions. H (30%) for printed codes that might get damaged or have a logo overlaid.

Can I add a logo?

Currently we generate clean codes. Download the PNG and overlay a logo with any image editor — error correction H tolerates that.

Is the generator free?

Yes — fully free, no signup, no usage limits.

People also search for

Use with

What people reach for next.

Related tools

More in this room.

See all in Generators