QR Code Generator
Turn text or a URL into a QR code. Generated in your browser, never uploaded.
What is QR Code Generator
A QR code generator converts text, URLs, or email addresses into a two-dimensional barcode. You can pick an error-correction level, and everything runs locally in your browser — your data is never uploaded.
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
Error correction trades capacity for resilience
Four levels — L, M, Q, H — recover roughly 7%, 15%, 25% and 30% of the symbol. Higher correction means more modules for the same data, so a longer URL at level H may need a larger symbol version, which means smaller modules at a fixed print size and a harder scan.
M is the default and the right default: it tolerates a fingernail or a crease without pushing the version up. Choose H only when the code will be printed on a curved surface, behind glass, or partially covered by a logo.
Capacity limits are per version and per encoding
The largest standard symbol (version 40) holds 4,296 alphanumeric characters or 2,953 bytes at level L, and noticeably fewer at level H. Numeric data packs far more densely than bytes, because the encoding uses 10 bits per three digits. A long tracking URL with query parameters is often what pushes a design into a higher version than expected.
If a code must stay small, shorten the URL first. A short link is the single most effective way to reduce module count, and it also makes the code more robust at the same print size.
Printing and scanning
The quiet zone matters as much as the modules: without a margin of about four modules of background, many scanners fail even though the code is complete. A dark background with a light code inverts the contrast and is rejected by a large share of readers.
Keep the rendered image at an integer multiple of the module count, or the resampling blurs module edges and scanning degrades at distance. For print, export as SVG or PNG at the final size rather than scaling a small raster up.
How to use it
- 1.Enter the text or URL
- 2.Choose error-correction level and size
- 3.Click Run
- 4.Download the PNG
How QR Code Generator works under the hood
Generators here produce values locally with the browser's cryptographic random source. The output is generated on your device, not issued by a server, so there is no record of what was generated.
- 1
Seed from the platform CSPRNG
Values come from crypto.getRandomValues, not Math.random, so they are suitable for passwords and tokens.
- 2
Map to the requested alphabet
Random bytes are mapped to the chosen character set while rejecting values that would bias the distribution.
- 3
Render on the page
The result is shown and can be copied; it is not stored or sent.
Processing pipeline
Strength comes from length and source
A 20-character password from a 90-symbol alphabet has far more entropy than a 12-character one, and both are only as good as the random source. This site uses the platform CSPRNG, so the remaining risk is reuse, not generation.
Nothing is logged
Generated values are never transmitted, so there is no server log, no history and no recovery. Save what you need before closing the tab.
Verify it yourself
Generation is local. Reload the page and the values are gone.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
What is a QR code?
A two-dimensional barcode of black and white squares that stores text or a URL, readable by any smartphone camera.
Which error-correction level?
L (7%), M (15%), Q (25%), or H (30%). Higher levels tolerate more damage but produce denser codes.
Is my data uploaded?
No. Generation happens entirely in your browser; nothing is sent to a server.
More in Generators
On this page
- What is QR Code Generator
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →