Skip to content

QR code generator

QR codes for links, text and Wi-Fi, as PNG or SVG.

OPEN LINK thedailysummit.com

Version 2 · 25 × 25 modules · 26 bytes

Level, size and colors
Error correction
px
modules

Scan-distance guide 10 to 1 rule, a rough guide

cm
Scans from about
-
One module is
-

Static codes: the text is stored in the picture itself. The codes have no tracking, account or expiry. Everything is made in your browser; the site counts page views.

How does a QR code work?

A QR code stores text, such as a link or a Wi-Fi login, as a square grid of dark and light squares called modules. A phone camera reads which modules are dark and turns the pattern back into the text. Nothing points to a server: the text is in the picture itself, which is why these static codes never expire and cannot count scans.

The size of the grid depends on how much you store. Version 1 is 21 by 21 modules and each version adds 4 per side up to version 40, which is 177 by 177; the generator picks the smallest version that fits. For product numbers such as EAN-13, use the barcode generator.

A real version 1 code (21 × 21 modules). Black: the three finder squares that let a camera find the corners and the rotation. Blue: timing lines that keep the grid straight. Amber: format information holding the error correction level and mask. Grey: your data and its repair codes.

What do error correction levels L, M, Q and H mean?

They say how much of the code can be damaged and still be read. Each level adds repair data (Reed–Solomon codewords), so a higher level means a bigger, denser code for the same text. Level M, at about 15%, is the usual choice.

Error correction levels
LevelCan recoverTypical use (our guide)
L about 7% Clean screens, short links, when you need the smallest code
M about 15% The usual default; screens and most print
Q about 25% Print that may get scuffed, stickers, outdoor use
H about 30% Rough conditions, or when a logo will sit over the middle

Source: Denso Wave (the inventor of the QR code); percentages are approximate shares of the code's codewords. The 'typical use' column is our own guide.

A logo over the middle of a code uses up the repair budget just as a crease or smudge does, so use level H and test it.

How much can a QR code hold?

In byte mode, which ordinary text and links use, the biggest code (version 40) holds 2,953 characters at level L. Accented letters and emoji take 2 to 4 bytes each in UTF-8, so they reduce the count.

Bytes you can store, by version and error correction level
VersionGridLMQH
Version 1 21 × 21 17 14 11 7
Version 2 25 × 25 32 26 20 14
Version 3 29 × 29 53 42 32 24
Version 5 37 × 37 106 84 60 44
Version 7 45 × 45 154 122 86 64
Version 10 57 × 57 271 213 151 119
Version 15 77 × 77 520 412 292 220
Version 20 97 × 97 858 666 482 382
Version 30 137 × 137 1,732 1,370 982 742
Version 40 177 × 177 2,953 2,331 1,663 1,273

Source: ISO/IEC 18004 capacities as listed by Denso Wave and Wikipedia; we confirmed each figure by filling a code of that version with this generator's library.

A 30-character link needs only version 2 or 3, which is why short links scan more easily than long ones with tracking parameters. The word counter checks the length of a message before you encode it.

How big should a printed QR code be?

About a tenth of the distance it will be scanned from, since a phone reads a code from roughly ten times its width. It is a rule of thumb, not a standard; lighting, camera quality, code density and print sharpness all move it.

Rule of thumb: width of the code and how far away it will scan
Printed widthScanning distanceWhere it fits
1 inch (2.5 cm) about 10 inches (25 cm) Business card, product label
2 inches (5 cm) about 20 inches (50 cm) Flyer, menu, shelf tag
4 inches (10 cm) about 3.3 feet (1 m) Poster at arm’s length
8 inches (20 cm) about 6.7 feet (2 m) Window sign, table tent
20 inches (50 cm) about 16.7 feet (5 m) Billboard-style signage

Source: a common 10-to-1 rule of thumb, rounded; the last column is our own suggestion.

The standard asks for an empty border (quiet zone) of 4 modules on every side, included in the width above. Print dense codes (version 10 and up) larger than the rule suggests.

Worked example

A menu code printed 3 cm wide, border included, should scan from about 30 cm. Its link needs version 3 (29 × 29 modules), so with the border the grid is 37 modules wide and each module is 0.8 mm: small, but fine on a laser-printed card. Make it 5 cm wide for a wall.

What is the Wi-Fi QR code format?

A Wi-Fi code is text in a fixed layout that Android, iOS and many scanner apps recognize. The Wi-Fi option writes it for you.

Wi-Fi QR fields
FieldMeaningValues
T Security type WPA, WEP or nopass
S Network name (SSID) Text
P Password Text; omitted for open networks
H Hidden network true, only if hidden

Source: ZXing project, Barcode Contents.

The characters \ ; , : and " in the name or password must each get a backslash in front. A network called Cafe;Bar with the password pa:ss becomes WIFI:T:WPA;S:Cafe\;Bar;P:pa\:ss;;. Anyone who scans the code can read the password, so put it only where guests should have it. The password generator can make a new one first.

Can a QR code have colors?

Yes, as long as scanners can tell dark from light. The tool warns below a WCAG contrast ratio of 3:1 or when the code is lighter than its background. Our own rule: dark on light at 4.5:1 or more, and no red on white for small prints, because some sensors see red as nearly white.

Check the link before you open it

Anyone can stick a fake code over a real one. The FBI has warned that criminals alter codes to send people to look-alike sites, and advises checking that the address in the preview is the intended site.

Common questions

Do these QR codes expire?

No. The code works for as long as the web address or number it holds does.

PNG or SVG?

SVG stays sharp at any size and is best for print. PNG is simpler for slides and documents; use the largest size you need.

Are my links sent anywhere?

No. The code is drawn on your device.

Sources

Last reviewed November 9, 2026.