DigitHelm
Everyday Use

QR Code Generator | Custom QR Codes

Generate scannable QR codes for URLs, text, email, phone numbers, SMS messages, Wi-Fi logins, and contact cards. Customize size, margin, colors, error correction, print size, and download PNG or SVG.

Instant Results100% FreeAny DeviceNo Sign-up

Link to any web address

UTM Parameters (optional)

Size & Margin

Colors

Error correction

15% — balanced for screens

Fill in content above

Quality

Print-ready

Contrast

17.7:1

Payload

21B

Logo / Image Overlay

Consider switching to H error correction before adding a logo

Print Size Guide

280px exports at about 0.93 in / 24 mm square at 300 DPI.

For flyers, menus, and labels, use error correction Q or H and keep a quiet zone of 4+.

QR Payload

https://digithelm.com

What Is the QR Code Generator?

The most overlooked setting in any QR generator is error correction. For a sticker, label, or printed card that will get scratched or wet, use H (30% damage recovery). For a URL on a screen or slide, L (7%) is fine — it scans faster and from greater distances. Using H on a screen just adds density for no benefit.

Seven content types cover practical use cases: URL, plain text, Wi-Fi credentials, email, phone, SMS, and vCard contacts. Wi-Fi and vCard are the genuinely useful ones — they eliminate manual data entry entirely rather than just saving a click.

QR Code Generator Formula and Method

Rule 1

QR module grid size = (21 + 4 × (version − 1))² modules.

Rule 2

Version 1 = 21×21 (441 modules, up to 41 alphanumeric chars).

Rule 3

Version 40 = 177×177 (31,329 modules, up to 4,296 alphanumeric chars at error level L).

Rule 4

Error correction uses Reed-Solomon coding: L=7% damage recovery, M=15%, Q=25%, H=30%.

Rule 5

Minimum contrast ratio for reliable scanning = 4.5:1 (foreground luminance vs background luminance).

Rule 6

Minimum print size = 2 cm × 2 cm at 300 DPI for indoor scanning distances up to 30 cm.

How to Use

  1. 1

    Select the content type that matches what you're encoding. Wi-Fi formats the payload as a protocol string phones use to auto-join a network. vCard formats contact details that phones import with one tap.

  2. 2

    Fill in your content. For URL, include the full address with https://. Expand the UTM section for analytics tracking — enter source, medium, and campaign and the tool assembles the full URL.

  3. 3

    Set error correction based on where the code will be used. L for clean digital screens. M for standard print. Q for real-world print environments. H for anything physically handled — bottles, packaging, stickers.

  4. 4

    Check the contrast ratio below the colour pickers. Anything below 4.5:1 shows "Low contrast" — it may scan in good light but fail in dim rooms. Keep the darker colour as the foreground.

  5. 5

    Set the quiet zone margin to at least 4 modules. Scanners need blank space to find the finder pattern squares. Without adequate quiet zone, many scanners fail to locate the code at all.

  6. 6

    Test the code with your actual phone before downloading or printing. Hold it at the distance and in the lighting where it will actually be used. If it doesn't scan in 2–3 seconds, increase error correction or contrast.

  7. 7

    Download PNG for digital use — email, websites, slides. Download SVG for anything printed. SVG renders at any size without pixelation. One SVG file prints identically at business card size or billboard size.

  8. 8

    For laminated or printed codes, verify the final physical product before a large run. Glossy lamination creates glare. On curved surfaces like bottles, test the wrapped product, not a flat proof.

QR Code Generator Example

A café wants guests to join Wi-Fi without asking staff for the password. Select Wi-Fi type, enter the exact network name, password, and WPA2. Set error correction to H — the card will get wet and handled. Download SVG, print on cardstock, laminate with matte finish. Guests scan once and their phone joins automatically. No password typed, no staff needed.

A marketing manager puts a QR code on a product launch flyer. Enter the landing page URL with UTM parameters: source=flyer, medium=print, campaign=launch2026. After the event, Google Analytics shows exactly how many visits came from the flyer. Set error correction to Q for a possibly folded flyer. Download SVG for print.

Understanding QR Code

Error Correction Levels — L, M, Q, H and When Each Makes Sense

Reed-Solomon error correction lets a scanner reconstruct data even when part of the code is damaged. Level L allows 7% of modules to be unreadable. M allows 15%. Q allows 25%. H allows 30%. Higher correction requires more modules for the same payload — the code looks busier.

For clean digital displays, L is almost always right. The code is smaller, less dense, and scans faster. For standard printed materials, M provides useful margin. Q is the right default for real-world environments where a code might be near a fold or printed on absorbent paper. H is for physical products: labels, packaging, stickers, anything handled repeatedly.

The common mistake: using L for product packaging because "it looks cleaner." A small scratch on a low-correction label makes it completely unscannable. Use H on physical products.

PNG vs SVG — Which Format to Download

PNG stores pixels at a fixed resolution. A 400×400 PNG is sharp at 400px but blurry at 800px. Use PNG for digital contexts: email, social posts, websites, slides — anything displayed at a predictable screen size.

SVG stores the code as geometric shapes that render at any resolution. One SVG file prints identically at 2 cm or 2 metres. Use SVG for everything printed: business cards, brochures, packaging, banners. Illustrator, Affinity Publisher, Figma, and Canva all import SVG correctly.

Watch for one SVG trap: some applications rasterize imported SVGs at low resolution before printing. If print looks blurry despite using SVG, check your layout software's import settings or send the SVG directly to the print shop.

UTM Parameters and Print Campaign Analytics

UTM parameters classify traffic by source in analytics. Without them, every scan from every printed QR code shows as "direct" — indistinguishable from someone typing the URL. With utm_source=brochure and utm_medium=print, you get a separate traffic segment.

The five standard parameters: utm_source (where the code appears), utm_medium (the channel), utm_campaign (the campaign name), utm_term (keyword tracking), utm_content (differentiates multiple codes in one campaign). Consistent naming matters — "Brochure" and "brochure" appear as separate sources in reports.

Contrast Ratio, Quiet Zone, and Why Codes Fail to Scan

Two physical factors cause most scan failures: insufficient contrast and missing quiet zone. Contrast must be at least 4.5:1 between dark modules and the light background. Below that, codes fail in dim light or with slightly out-of-focus cameras. Dark blue on black, white on yellow, light grey on white — all fail.

The quiet zone is the blank border around the code. The QR spec requires at least 4 modules wide on all four sides. Scanners use this border to locate the finder pattern squares. Crop it in a print layout and scanners either can't find the code or produce intermittent failures. This is the most common print design mistake.

Frequently Asked Questions

What error correction level should I use?

L for clean digital screens. M for standard printed materials. Q for real-world print environments — posters, leaflets, anything near handling. H for physical products, labels, packaging, and anything that will get scratched or wet.

Why won't my QR code scan?

Three common causes: contrast below 4.5:1 (fails in dim light); quiet zone trimmed in the print layout; error correction too low for a damaged code. Test the actual physical product in real scanning conditions. Also check you haven't inverted the colours — most scanners expect dark on light.

How do I make a QR code for Wi-Fi?

Select the Wi-Fi content type. Enter the network name exactly as it appears in your router settings — it's case-sensitive. Enter the password and select WPA2. On iOS 11+ and Android 10+, the camera app recognizes the WIFI: protocol and offers to join automatically. No app required.

Can I use a coloured or custom-design QR code?

Yes, with constraints. Foreground modules must be darker than the background. Contrast must stay above 4.5:1. Keep the three finder-pattern squares solid dark. You can add a logo to the centre — use H error correction if you do. Always test across multiple phones after any design change.

What size should a QR code be for print?

Minimum size = 0.1× the expected scanning distance. Scanning at 30 cm: minimum 3 cm × 3 cm. At 1 metre: 10 cm. At 2 metres: 20 cm. At 300 DPI, 3 cm is approximately 354 pixels. Add quiet zone to that in your layout.

Does a QR code expire?

Not if it's static — every code generated here is static. The code permanently encodes a fixed payload. If you encoded a URL, it works as long as the URL is live. If the page moves, the code becomes a dead link. For codes where you need to change the destination after printing, use a dynamic QR service with a redirect URL.

Is my URL or Wi-Fi password sent to a server when I generate a code?

No. Generation happens entirely in your browser using JavaScript and the Canvas API. Your URL, password, or any other content never leaves your device. The tool works offline — disconnect your internet and it still generates correctly.

How much text can I encode in a QR code?

The absolute max is 4,296 alphanumeric characters at version 40, error level L. In practice, keep URLs under 200 characters — codes that large are too dense for reliable real-world scanning. Use a URL shortener for long links. For vCard and Wi-Fi, the generator picks the minimum required version automatically.

You Might Also Like

Explore 360+ Free Calculators

From math and science to finance and everyday life — all free, no account needed.