QR Code Generator
About this tool
Turn text or a URL into a QR code and download it as a PNG. Encoding runs
in the page using a bundled copy of Kazuhiko Arase's MIT-licensed QR
library (qrcode-lib.js), so there is no CDN request and
nothing is uploaded.
How to use
- Enter the text or URL.
- Pick an error correction level.
- Set the cell size, from 2 to 20 pixels per module.
- Download the PNG.
Error correction levels
- L — about 7% of the symbol can be damaged and still read.
- M — about 15%, the usual default.
- Q — about 25%.
- H — about 30%.
Higher levels make the symbol more tolerant of damage, printing artefacts and logos, but leave less room for data, so the code grows for the same text.
What the PNG contains
The image is (moduleCount + 8) × cell pixels: the symbol plus
the four-module quiet zone on each side that the QR specification
requires. Modules are drawn as black squares on a white background.
Limits
- Capacity depends on the version and the error correction level. Long text eventually exceeds the largest symbol and the page reports the library's error instead of a code.
- There is no colour, logo or size-preset option; the output is always black on white.
- A QR code is not encryption. Anyone who scans it reads the content, so do not encode secrets.
FAQ
Is my text sent anywhere?
No. The symbol is computed locally by qrcode-lib.js and
drawn onto a canvas in the page.
Why did the download stop working?
The button writes the canvas straight to a PNG data URL. If the browser blocks the download, right-click the canvas and save the image instead.
Which level should I choose?
M is a good default. Use Q or H if the code will be printed small, placed on a curved surface, or partly covered.