All tools › Text, Fonts & Symbols › Generators
Turn a link or short text into a static QR code and download it as PNG or SVG. Nothing is uploaded.
What the QR code generator does
This QR code generator turns a link or a short piece of text into a QR code you can download as a PNG or SVG file. The page draws the smallest code that fits, with the clear margin a scanner needs already included.
The code is built by a script running in your own browser. Your text is not uploaded, stored or logged. The result is a static code: the text itself is written into the pattern, with no redirect through this site. So the code does not expire, nobody counts the scans, and it cannot be edited later.
How to use the QR code generator
- Type or paste into Text or URL. For a web address include the https:// part so phones treat it as a link.
- Choose the Error correction level: L, M, Q or H. M is a sensible starting point.
- Press Generate QR code and read the rows under the code.
- Press Download PNG for documents and messages, or Download SVG for print work.
How the code is built
A QR code is a square grid of small dark and light squares called modules. Its size is set by a version number:
modules per side = 17 + 4 x version
- version runs from 1 to 10 on this page, so codes go from 21 x 21 to 57 x 57 modules. The tool picks the lowest version that holds your text.
- The text is stored in byte mode as UTF-8. Plain English letters, digits and punctuation take one byte each; accented letters and emoji take more.
- Error correction codewords are calculated from the data with Reed-Solomon coding and added to the code.
- The data is combined with each of the eight standard mask patterns, each result is scored with the standard penalty rules, and the lowest score is drawn.
A quiet zone four modules wide is added on every side.
Worked example
The text https://example.com/menu is 24 characters and 24 bytes. Running it at each level gives:
| Level | Result | Data / error correction codewords | Capacity left |
|---|---|---|---|
| L | Version 2 (25 x 25 modules) | 34 / 10 | 8 bytes in version 2 |
| M | Version 2 (25 x 25 modules) | 28 / 16 | 2 bytes in version 2 |
| Q | Version 3 (29 x 29 modules) | 34 / 36 | 8 bytes in version 3 |
| H | Version 3 (29 x 29 modules) | 26 / 44 | 0 bytes in version 3 |
The same link needs a bigger grid at Q and H because more of the code is spent on repair data. At H it fills version 3 exactly.
Error correction levels in plain words
Error correction lets a scanner rebuild the text when part of the code is dirty, scratched or covered. DENSO WAVE, the company that created the QR code, describes four levels by the share of the code’s codewords that can be restored:
| Level | Restores about | Reasonable use |
|---|---|---|
| L | 7% | Clean screens, long text |
| M | 15% | Everyday printing and sharing |
| Q | 25% | Labels that get handled |
| H | 30% | Rough or dirty surroundings |
The percentages are approximate and count codewords, not printed area, so they do not mean any 30% of the picture can be covered. A higher level also needs more modules for the same text.
Limits of this page
- Length. The largest code here is version 10. It holds 271 bytes at L, 213 at M, 151 at Q and 119 at H. Longer text gives an error message instead of a code.
- Byte mode only. The tool does not use the more compact numeric or alphanumeric modes, so a digits-only code may come out larger than elsewhere.
- Plain black on white. No colors or logos. Spaces and line breaks are stored as typed.
Printing and safety tips
- Keep the white margin clear, print dark on light, and do not stretch the code out of square.
- Shorter text makes a simpler code that is easier to scan.
- Scan the final print with a phone before ordering a large run.
- Treat a QR code from an unknown source like a link from a stranger. Check the address your phone shows before opening it, and do not enter passwords or payment details on a page reached from a code you cannot vouch for.
Frequently asked questions
Will my QR code stop working after a while?
No. The text is stored in the pattern itself, so the code keeps working as long as it can be read. A link inside it only works while that web page exists.
Can I see how many people scanned my code?
Not with this tool. A static code goes straight to your text or link, so no scan is recorded by this site.
Should I download PNG or SVG?
PNG suits documents, slides and messages. SVG is a vector file that stays sharp at any size, which suits posters, packaging and other print work.
What is the mask pattern number?
It names which of the eight standard patterns was used to flip some modules so the code has no large blank or solid areas. Scanners undo it automatically.
Related calculators
- Barcode Generator for Code 128, EAN-13, UPC-A and Code 39 barcodes.
- Password Generator to make a strong password in your browser.
- Lorem Ipsum Generator for placeholder text while you lay out a flyer or label.

