QR Code Generator — Free
QR Code Generator: turn text or a URL into a scannable code. Custom size, colours and error correction — download it as a PNG. Everything happens in your browser, nothing is uploaded.
How to Generate a QR Code in 3 Steps
- Type or paste your text or URL into the box above — the preview updates live as you type.
- Adjust the size, error correction and colours for where the code will be printed or shown.
- Click Download PNG to save the code as qr-code.png. Print it or paste it into your menu, flyer or payment card.
Menus and payment codes for small shops: print size and scanning distance
For a small shop, a QR code is a till, a menu and a business card in one square. The difference between a code that works and one customers ignore is almost never the link — it is the print. A code printed too small, too pale, or on glossy paper that glares under the shop lights will not scan.
Print a code at least 2 cm by 2 cm — smaller works on a phone screen, where the phone is held close, but not on paper. A menu code on a table tent should be 3 to 4 cm, because the customer scans it from across the table. A payment code taped to a counter can be 2 cm, because the phone is inches away. A window code, scanned from the pavement, needs 10 cm or more. Test from the real distance before you print 200 flyers.
Size, error correction and colour: the three settings that decide whether it scans
Size: the download comes in 256, 512 or 1024 pixels. Use 256 px on screen, 512 px for ordinary printing, and 1024 px for anything printed large — a poster, a banner, a window sticker. Error correction: Low, Medium, Quartile or High. Higher correction stores extra copies of the data inside the code, so it still scans when part of it is smudged or covered — exactly what happens to a counter code.
Colour: you can match the code to your brand, but contrast is what a camera reads. Dark squares on a light background scan the most reliably; a light code on a dark background, or two similar shades, will fail on many phones. Keep the code dark, the background pale, and leave a clear quiet zone around all four sides. A code crowded by other print is a code a camera cannot find.
How the QR engine works
The code is drawn in your browser by qrcodejs, an open-source QR library, the moment you type — the preview refreshes about a third of a second after each keystroke. The text or URL is encoded into the square pattern right there in the tab; nothing you type is sent to a server, because the tool's JavaScript contains no upload call. The code itself never expires — it is just your text encoded as an image, with no account and no expiry date.
Two honest consequences follow. First, a code pointing to a web page only works as long as that page stays online; if you move the page, the code still scans but lands nowhere. Second, a static code cannot be edited after printing — the data is baked into the pattern — so a changed menu link means a new code, a new print, and new flyers.
A whole shop in one sitting: menu code, payment code, and one test
Take a small food shop that wants two codes: one for the menu and one for payment. Shorten both links first and paste the menu link in. Set size 1024 px and error correction High, because this code will live on a table tent and get touched, wiped and splashed. Download it, print it at 4 cm, and stick it on the tent. Then paste the payment link, same settings, print at 2 cm for the counter.
Test both before they go live: scan each code twice — once in daylight and once under the shop lights. If the payment code fails in evening light, raise the size or the contrast, not the error correction alone. Print a spare of each and keep the PNG files, so a damaged tent card is a five-minute reprint instead of a rebuild.
Honest limits of this tool
This tool makes static QR codes: the data is baked into the pattern, so a printed code can never be edited, counted or tracked. There is no sign-up, no analytics and no expiry. If you need scan counts, put a short link with analytics behind the code instead.
- Sizes are 256, 512 or 1024 px: there is no custom size between them. For large printing, always use 1024 px.
- Very long text can fail: a whole paragraph makes a dense pattern that many phones cannot read, and text past a limit shows a “too long” error. Link to a page instead.
- Minimum print size is about 2 cm by 2 cm.
- Colour is your responsibility: low-contrast or light-on-dark codes may not scan. Dark on light is the safe choice.
- Download is PNG only: the file is always qr-code.png.
- A URL inside the code can break: if the page moves, the code scans to a dead link.
Frequently asked questions
How big should I print a QR code for a table menu?
Print it 3 to 4 cm wide. The practical minimum is about 2 cm by 2 cm.
Why does my QR code scan on screen but not when printed?
Usually size or contrast. A printed code needs to be at least 2 cm wide, dark on a light background, with clear space around it. Reprint at 1024 px.
Which error correction level should I pick for a counter code?
High. A counter code gets touched and splashed, and high correction lets it scan even when part of it is smudged. Pair it with a larger print size.
Can I change the menu link after I have printed the codes?
No. These are static codes — the link is baked in. Generate a new code and reprint.
Why does a long web address make a harder-to-scan code?
More characters mean more data in the same square, so the pattern gets denser and finer. Phones struggle with very dense codes. Shorten the URL first.
Does the code store my text on a server somewhere?
No. The code is drawn locally in your browser by qrcodejs, and the tool's code contains no upload call. Nothing you type leaves your device.