QR code generator

Enter a URL, text or contact info to generate a QR code in real time — adjustable size, error-correction level and colors, with one-click PNG download.

QR code content (URL / text / contact info — generates as you type)
Enter content and the QR code generates instantly.
Usage tips
· The shorter the content, the simpler the pattern and the easier it scans; use a short link for long URLs.
· Dark foreground + light background gives the best contrast and the highest scan success rate.
· For printing, download the PNG and upscale from its original size, or export at a display size of ≥ 512px.

What is inside the square

ElementPurpose
Three position markersThe large squares in three corners; let the scanner find scale and rotation
Alignment patternsSmaller squares that correct for distortion on dense codes
Timing patternsAlternating lines that establish the grid spacing
Format informationRecords the error-correction level and the mask pattern in use
Data and error correctionThe payload, plus redundant copies of it

Error correction is why logos work

A QR code stores redundant data so it can still be read when part of it is damaged, smudged or deliberately covered. There are four levels:

LevelRecoverable damageUse when
L~7%Clean digital display, shortest code
M~15%The usual default
Q~25%Printed material, or a logo overlay
H~30%Harsh conditions, or a large centre logo

Higher correction means more redundancy, which means a denser code for the same content — so a bigger grid and larger physical size to stay scannable.

Capacity and practical limits

A QR code can technically hold thousands of characters, but dense codes printed small are hard for phone cameras to resolve. As a rule, keep the payload short: a bare URL rather than a paragraph, and use a link shortener if the address is long. Test the printed size from a realistic distance and angle before committing to a print run.

Static versus dynamic codes

For anything intended to last, weigh the convenience of tracking against the risk of a redirect service shutting down and every printed code going dead.

How small it can be printed and still scan

Two numbers decide whether a printed code works. The first is module size: each individual black square should be at least 0.4 mm on paper, below which ink spread and camera noise begin destroying the pattern. The second is the working rule of thumb that a camera reads a code at roughly ten times its width — a 2 cm code scans at up to about 20 cm, a 10 cm poster code at up to a metre.

PlacementPractical minimum widthTypical scan distance
Business card, flyer15–20 mm15–20 cm
Invoice, letterhead20 mm20 cm
A4 sheet read at arm's length30–40 mm30–40 cm
Wall poster200 mm~2 m
Door sticker, roadside sign300 mm~3 m

Resolution matters as much as physical size: print at 300 DPI or better, and scale a vector export rather than enlarging a small JPEG. Keep the quiet zone — the blank margin around the pattern — at four modules wide. Cropping it is the single most common reason a correctly sized code refuses to scan.

Related tools

URL encoder Image ⇄ Base64 UUID generator

FAQ

Which error-correction level should I choose?
M (about 15% recovery) is fine for most cases; choose Q (25%) or H (30%) when the code will be printed on surfaces that wear out or need a logo overlay — at the cost of a denser pattern for the same content.
Do generated QR codes expire?
No. Your content is encoded directly into the QR pattern itself — there is no redirect short link — so scanning always returns the original content, permanently.
What if the QR code will not scan?
The usual cause is too little contrast between foreground and background (use a dark foreground on a light background), or a pattern that is too small. Keep the displayed size at least 200×200 px and leave blank space around the code.
Is my content uploaded when generating a QR code?
No. The QR code is generated in real time by JavaScript locally in your browser; nothing you type is sent to a server.