01What is QR Code Generator?
Need a phone to open a link that is sitting on your laptop screen? Paste it into the Text or URL box and a QR code appears straight away, drawn on a canvas in the page. The encoder is a small TypeScript module that follows ISO/IEC 18004, the QR Code standard. It converts your text to UTF-8 and stores it in byte mode, so URLs, mailto: and tel: links, a WIFI: string or a vCard you wrote by hand all work. Accented letters and emoji are fine too. Here is what happens on each keystroke. The tool counts the UTF-8 bytes, then picks the smallest version that fits, from version 1 (21 by 21 modules) up to version 40 (177 by 177). It adds Reed-Solomon error correction for the level you chose, fills spare space with the standard padding bytes, and tries all eight mask patterns. The mask with the lowest penalty score wins, which keeps big blocks of one colour from confusing scanners. The four levels trade space for damage tolerance. The standard says L recovers roughly 7% of codewords, M about 15%, Q about 25% and H about 30%. That changes how much you can fit. At L the limit is 2,953 bytes, at M 2,331, at Q 1,663 and at H 1,273. A quick example. We pasted https://example.com at level M and got a 25 by 25 grid, which is version 2. Switch to H and the same URL needs version 3, a 29 by 29 grid. With the default 8 pixel module size, the version 2 PNG comes out 264 pixels square. That figure includes the four-module white border the standard asks for, which the renderer always adds. You can set the module size from 2 to 20 pixels and pick any foreground and background colours. PNG downloads the image as qr-code.png. Copy puts the image on your clipboard, and if the browser refuses that, it copies a data URL instead. Some honest limits. There is no numeric or alphanumeric mode, so digit-only text makes a slightly bigger code than a mode-switching encoder would. You cannot add a logo, round the modules or export SVG. The tool also won't warn you about a pale colour pair, so test contrast yourself. Text over the limit gets a clear error naming the byte count rather than a broken code. Your text and the image never leave the tab.
Developers who need to get a URL onto a test phone fast, and speakers or office staff making a printable code without signing up for a tracking-link service. The tool runs entirely in your browser, so your data never leaves your device.
02How to use QR Code Generator
- Type or paste your content into the Text or URL box. The preview redraws as you type.
- Pick an Error Correction Level: L, M, Q or H. M is the default.
- Drag the Module Size slider (2 to 20 px) to set how big each square is in the PNG.
- Change Foreground Color and Background Color if you need to, keeping the foreground dark.
- Scan the preview with a phone to confirm it opens the right thing.
- Click PNG to save qr-code.png, or Copy to put the image on the clipboard.
03Worked examples
- Input:
https://example.com (level M) - Result:
25 x 25 modules (version 2), 264 x 264 px PNG at 8 px modules - Real run of the tool's encoder. The PNG size includes the 4-module quiet zone on each side.
- Input:
https://example.com (level H) - Result:
29 x 29 modules (version 3) - Same URL, higher error correction, one version larger.
- Input:
WIFI:T:WPA;S:MyNetwork;P:password123;; (level M) - Result:
29 x 29 modules (version 3) - The tool's built-in WiFi example. It encodes the string as is and does not check its syntax.
- Input:
mailto:[email protected]?subject=Hello (level Q) - Result:
33 x 33 modules (version 4) - Output from the encoder at level Q.
- Input:
héllo 👋 (level L) - Result:
21 x 21 modules (version 1) - 8 characters but 11 UTF-8 bytes. Still fits the smallest version.
- Input:
1,274 letter a characters (level H) - Result:
Text is too long for a QR code at level H (max 1273 bytes, got 1274). - Exact error message from the encoder when input passes the limit.
04Common use cases
- Putting a conference talk URL on the last slide so the audience can open it with a phone camera
- Moving a long staging URL or a one-off config value from your laptop to a test phone without messaging it to yourself
- Encoding a mailto: link with a pre-filled subject for a feedback poster
- Turning a hand-written WIFI:T:WPA;S:...;P:...;; string into a code for a meeting room sign
- Checking how a mobile app's camera scanner handles codes at different versions and error correction levels
- Making a level H code for a sticker that will get scuffed on equipment or packaging
05Tips
- Each step up in error correction can push you to a bigger version. Our test URL went from 25 by 25 at M to 29 by 29 at H, so use H only when damage is likely.
- The byte limit counts UTF-8 bytes, not characters. An emoji takes four bytes, so a short-looking string can still be bigger than you expect.
- Strip utm_ and other tracking parameters before encoding. Fewer bytes means a lower version and larger modules at the same print size.
- Leave the white border alone when placing the PNG in a design. Scanners need that four-module quiet zone to find the code.
- If Copy pastes a long data:image/png text string instead of a picture, your browser blocked image clipboard access. Use PNG instead.
06Related concepts
Error correction, ISO/IEC 18004, Reed-Solomon, Quiet zone, Mask pattern.
Frequently Asked Questions
What is QR Code Generator?
QR Code Generator is a free, browser-based developer tool on AIDToolStack. Generate QR codes from text or URLs with custom colors and error correction. It requires no installation or sign-up and works entirely in your browser.
Is QR Code Generator free to use?
Yes. No sign-up, no fees and no usage cap.
Does QR Code Generator store my data?
No. It runs in your browser; nothing is uploaded.