QR Code Generator

QR Code Generator

Create QR codes for URLs, text, WiFi, vCard contacts. Customize colors and download PNG/SVG. Free online QR code maker with logo support

A QR code is a 2D barcode that encodes data in a square grid of black and white cells. The size of the grid depends on how much data you encode and which error-correction level you pick — and that choice matters more than people realize. A QR code printed at 3×3 cm on a glossy menu, then partially smudged, will only scan if the error-correction was set high enough. This generator exposes all four ECC levels (L/M/Q/H) with live preview, and supports the structured payloads (Wi-Fi, vCard, geo, mailto) so phones offer "Connect" or "Save Contact" instead of just showing a string.

Error correction: L, M, Q, H

QR codes use Reed-Solomon error correction. The level you choose determines what percentage of the code can be damaged or obscured while still being readable. Higher correction = larger code for the same payload (more redundant data), so there is a tradeoff between robustness and density.

  • L (Low) ~ 7% recovery — fine for digital displays where the code is rendered cleanly
  • M (Medium) ~ 15% recovery — default for most printed materials
  • Q (Quartile) ~ 25% recovery — outdoor signage, packaging that may wrinkle
  • H (High) ~ 30% recovery — required when overlaying a logo in the center of the code (the logo obscures cells)

The "you can put your logo in the middle" trick relies entirely on H-level error correction. Without it, covering ~20% of the code corrupts data beyond recovery and the QR fails to scan.

Working example: a Wi-Fi QR code payload

Phones recognize special payload formats and offer one-tap actions. A Wi-Fi credentials QR uses this exact string format:

WIFI:T:WPA;S:NetworkName;P:MyPassword;;

Input

Network: HomeWiFi
Password: hunter2!
Security: WPA2

Output

Payload: WIFI:T:WPA;S:HomeWiFi;P:hunter2!;;

When scanned, iOS shows "Join Network HomeWiFi". Android shows a similar prompt. The user does not type the password.

Special characters in the SSID or password (\, ;, ,, ", :) must be escaped with a backslash. Generators handle this for you, but if you build the string manually, watch for it.

Recognized payload formats

  • URL: https://example.com — opens in browser
  • Wi-Fi: WIFI:T:WPA;S:SSID;P:password;; — joins network
  • vCard: BEGIN:VCARD ... END:VCARD — adds contact
  • mailto: mailto:user@example.com?subject=Hi&body=Text — composes email
  • tel: tel:+48123456789 — initiates call
  • sms: sms:+48123456789?body=Hi — composes SMS
  • geo: geo:52.2297,21.0122 — opens maps
  • Plain text: anything not matching the above — phone just displays the string

When to reach for this tool

  • You are printing menu QR codes that link to an online menu and want to test how small you can shrink them without losing readability.
  • You are creating a Wi-Fi info card for a coffee shop or office reception so guests can join without asking for the password.
  • You are putting a QR on a business card with your vCard, so a one-tap scan adds you to someone's contacts.
  • You are debugging why a QR a designer mocked up does not scan — usually too-low contrast or too-small physical size for the data payload.

What this tool will not do

  • It will not generate tracking-aware QR codes that count scans. That requires a redirect server (which logs each visit) — not a QR property, but a URL property.
  • It will not encrypt the contents. Anyone scanning the QR sees the same data you encoded. For private payloads, encode a URL to an authenticated page instead of the secret itself.
  • It will not produce print-ready vector files with bleed and crop marks. Export as SVG or high-resolution PNG and lay them out in your design tool.

Generation happens entirely in your browser. Your Wi-Fi password, vCard, or private URL never crosses the network. Many online QR generators log inputs — this one cannot.

Frequently asked questions

How much data can a QR code hold?

Up to 4,296 alphanumeric characters or 2,953 bytes at the largest version (40) with the lowest error correction (L). In practice you want to stay under 300 characters of URL for codes to remain scannable at typical print sizes.

Why does my QR code fail to scan at a small size?

Either the modules (individual squares) are too small for the camera to resolve, or the contrast is too low. A general rule: each module should be at least 0.5mm at the scanning distance. For a code at arm's length, that means a printed size of around 2-3 cm minimum.

Can I put a logo in the middle of a QR code?

Yes, IF you use error correction level H (30%) and the logo covers no more than ~25% of the code area centered on the middle. Position-detection patterns in the three corners must remain unobstructed.

What is the difference between QR and Micro QR?

Micro QR codes are smaller (down to 11×11 modules) with only one position-detection pattern instead of three. They hold much less data (up to ~35 chars) and are used where space is at a premium, like circuit boards. Most consumer scanners support them, but not all.

Can a QR code contain malicious content?

Yes — the QR itself is just data, but it could encode a URL to a malicious site, an SMS to a premium number, or trick a user into joining a rogue Wi-Fi. Scanner apps should preview the decoded content before acting. Treat scanning a random QR with the same caution as clicking a random link.

Will my QR code keep working in 10 years?

The format is stable since 1994 and standardized as ISO/IEC 18004. A QR that scans today will scan in 10 years. The URL it points to may not still exist — that is the more common failure mode for printed QR codes that are not updated.

Related tools

Last updated · E-Utils editorial team