What Is a QR Code Generator?
A QR code generator converts text, URLs, or other data into a scannable two-dimensional barcode. QR codes are used everywhere — restaurant menus, product packaging, event tickets, business cards, and marketing materials. This tool creates real, scannable QR codes instantly in your browser with customizable colors, size, and error-correction level, and lets you download the result as a PNG, JPG, or fully scalable SVG vector — ideal for print, where the vector scales to any size without pixelation.
Best Practices for QR Codes
- → Always use HTTPS URLs. Shortened URLs are fine, but ensure the destination uses HTTPS for user trust and security.
- → Test before printing. Scan your QR code with multiple devices and apps before committing to print or publication.
- → Add a clear call-to-action. Don't just show a QR code — add text like "Scan to visit our website" so users know what to expect.
- → Maintain quiet zone. Keep clear space around the QR code (at least 4 modules wide) so scanners can detect the code boundaries.
How to Use This QR Code Generator
- Enter your content — Type a URL, text, phone number, email, Wi-Fi credentials, or vCard contact information.
- Customize the appearance — Adjust the QR code color, background color, and error correction level.
- Set the size — Choose the output resolution — larger codes are needed for print, smaller for digital display.
- Download the QR code — Save as PNG or SVG. SVG is recommended for print because it scales to any size without pixelation.
Worked example: decoded with ZXing
On October 12, 2026 we generated codes in the tool (Chromium 141, default 280 px) for three payloads at error-correction levels L, M and H, downloaded the PNGs and decoded them with zxing-cpp, then measured the image margins and module size.
| Payload | Levels | Result |
|---|---|---|
| URL (56 bytes) | L, M, H | all decoded exactly |
| "Café Zürich — 東京 😀" (29 bytes UTF-8) | L, M, H | all decoded exactly |
| 600 × "x" | L, M, H | all decoded exactly |
| Export | Size | Module size | Quiet zone |
|---|---|---|---|
| PNG, URL at level M | 270 × 270 px (was 280 × 280) | 6 px per module, whole pixels (was ≈8.4) | 4-module quiet zone, 24 px (was none) |
| PNG, 600 bytes at level H | 280 × 280 px, about 120 modules | whole pixels per module | 4-module quiet zone (was none) |
| SVG, URL at level M | viewBox 41 × 41 (33 modules + 4 each side) | vector | 4-module quiet zone |
- Encoding is correct. Every code decoded to exactly the input text, including accented letters, CJK and emoji, at the level that was selected.
- PNG and JPG include the quiet zone. The QR standard (ISO/IEC 18004) calls for 4 modules of clear space around the code. Since October 12, 2026 the PNG and JPG exports draw it in your background colour, like the SVG; before, they were cropped to the code itself. Re-checked with ZXing: a URL at level M exports as 270 × 270 px with a 24 px (4-module) margin and decodes.
- Raise the size for long content. At 280 px, 600 bytes at level H leaves modules about 2 px wide, too fine for many phone cameras at print size. Shorten the content (a short URL), lower the level, or export larger or as SVG.
- Modules are whole pixels. The image is now the largest whole multiple of the module grid that fits the chosen size (270 px instead of 280 for a 33-module code plus margin), so every module is exactly 6 px and edges are sharp. For print, the SVG is still the best choice.
Sources
Checked on .
Frequently Asked Questions
Built by Derek Giordano · Part of Ultimate Design Tools