← Back to Home

📱 QR Code Generator

Generate codes for URLs, WiFi, contacts and email, with logo, colour and module style options

How to generate a QR code in three steps

The screenshot below was taken in this tool with a real file and the stated settings — it is not a mock-up.

  1. Type the contentEnter a URL, Wi-Fi string, contact card or plain text.
  2. Set error correction and styleThis run uses level M and square modules.
  3. Download the PNGThe code redraws as you type; press “Download QR code (PNG)” when it is readable.
QR generator result: a black-and-white QR code for https://piccalc.com/tools/qrcode at level M.
Captured: Input: no upload — URL https://piccalc.com/tools/qrcode. Settings: error correction M, square modules. Output: PNG, 370 × 370 (version 3, 29 × 29 modules).
Waiting for input
Processing…

How to generate a QR code

  1. Pick a content type above: URL, WiFi, contact, email and more
  2. Fill in the details and the code updates live — no button needed
  3. For branding, upload a logo, change colours or switch module style (use error level H when adding a logo)
  4. Click "Download" to save a PNG, and scan it with your phone to confirm first

How it works

A QR code encodes text into a matrix of black and white modules. A mode indicator marks the data type (numeric, alphanumeric or byte), followed by a character count and the content, padded to a fixed length.

What really lets a damaged code still scan is Reed-Solomon error correction. The original data is split into blocks, each generating extra check codewords, which are interleaved and written together. Even if some modules are obscured or dirty, the decoder can reconstruct the original data from the check codewords.

Error correction levels L, M, Q and H tolerate roughly 7%, 15%, 25% and 30%. The higher the level, the more space check codewords take and the less real content fits — and since a logo covers the centre, H is recommended when adding one.

Generation also picks one of eight mask patterns, choosing the one that distributes black and white most evenly and avoids shapes resembling the finder patterns, which scanners detect most reliably.

Common use cases

It works best for:

Payments and promotions

Put a payment link or official account QR at the checkout

Password-free WiFi

Guests scan to join WiFi without typing a password

Event business cards

Scan to save contact details straight to a phone

Packaging and posters

Print on packaging so scanning opens details or a coupon

Specifications

Supported typesText / URL / WiFi / Contact / Email / SMS / Phone / Location
Error correction levelL(7%) / M(15%) / Q(25%) / H(30%)
Version range1–20 (chosen automatically by content length)
CustomisableForeground / background / module style / centre logo
Output formatPNG (transparent background optional)

FAQ about QR generation

My QR with a logo will not scan — what now?

Set error level to H (about 30% tolerance) and shrink the logo to under 20%. The logo covers central modules, and a higher level compensates better. Square logos also scan more reliably than long ones.

Do coloured QR codes scan?

Yes, as long as contrast between foreground and background is strong. Pale or low-contrast pairs (white modules on yellow, say) confuse scanners — keep the contrast obvious.

How much content fits?

It depends on the error level: about 1000 bytes at L, about 400 at H. Chinese text in UTF-8 costs roughly 3 bytes per character. You will be prompted to shorten if it overflows.

Do generated QR codes expire?

No. A QR code just encodes content into a graphic with no time information; as long as the content (a URL, say) stays valid, it keeps working.

Are my images uploaded to a server?

No. Generation, logo compositing and download all happen in your browser — the content never leaves your device.