QR code generator

Create text, URL, email, phone or SMS QR codes and download PNG or SVG.

  • Runs locally
  • Free

Use the tool

Your files are processed in your browser and are not uploaded to a server.

About this tool

Create free QR codes for URLs, text, email, phone calls and SMS. Adjust size, error correction and quiet zone, then download PNG or vector SVG. Codes are static, never expire and do not pass through a redirect service.

Typical uses

  • Print an event link as a QR code on a poster
  • Encode a short note or instructions
  • Make a code that dials a number or opens an SMS

How to use

  1. Choose text, URL, email, phone or SMS and fill in its content.

  2. Open output settings for size, error correction and quiet zone, then download PNG or SVG.

Example

For example, enter an event registration URL, download the PNG, scan it with a phone and then place it in the poster design.

Good to know

Capacity is checked in UTF-8 bytes, up to 2953 bytes and less at higher correction levels. Excess content is rejected, never partially encoded. Static codes cannot be remotely updated.

The code contains the entered value directly; its destination cannot be changed remotely after distribution. Verify the link and scan the final artwork before printing.

Content length, error correction and QR version

QR codes come in 40 “versions”. Version 1 is 21×21 modules (the small squares), each version adds 4 modules per side, and version 40 is 177×177. This tool encodes in byte mode and automatically picks the smallest version that holds your content. Letters, digits and URL characters take 1 byte each; accented and non-Latin characters take 2–4 bytes in UTF-8 (a Chinese character takes 3). The table below was produced by running the tool’s own encoder (version · modules).

Content sizeL · ~7%M · ~15%Q · ~25%H · ~30%
20 bytes2 · 25×252 · 25×252 · 25×253 · 29×29
50 bytes3 · 29×294 · 33×335 · 37×376 · 41×41
100 bytes5 · 37×376 · 41×418 · 49×4910 · 57×57
200 bytes9 · 53×5310 · 57×5712 · 65×6515 · 77×77
500 bytes15 · 77×7717 · 85×8521 · 101×10124 · 113×113
1000 bytes22 · 105×10526 · 121×12131 · 141×14136 · 161×161
Maximum (bytes)2953233116631273

A higher error-correction level stores more redundant data for repairing dirt or damage, so the same content needs a larger, denser symbol. DENSO WAVE, the inventor of the QR code, notes that level M (15%) is the one most often selected; L suits clean environments with a lot of data, and Q or H suit places such as factories where codes get dirty. The tool defaults to M.

In practice

Shorter links scan more easily. A 100-byte URL is version 6 at level M; at 500 bytes it grows to version 17. Removing tracking parameters before printing helps more than raising the correction level. If content exceeds the current level, the tool says “Content exceeds this correction level’s capacity” and never truncates it.

Quiet zone, pixels and print size

DENSO WAVE specifies a margin (quiet zone) at least four modules wide on every side. The tool’s “Quiet zone (modules)” field accepts 4–12 and defaults to 4, so it cannot go below the standard. “Size (px)” accepts 256–2048 and defaults to 512. In the PNG, each module is size ÷ (modules + 2 × quiet zone) pixels.

Content (level M)ModulesPixels per module at 512 pxPrinted side at 0.254 mm/modulePrinted side at 0.5 mm/module
50 bytes33×3312.510.4 mm20.5 mm
100 bytes41×4110.412.4 mm24.5 mm
200 bytes57×577.916.5 mm32.5 mm
500 bytes85×855.523.6 mm46.5 mm
  • When a module falls below 3 pixels, the preview shows “The content is dense and PNG dots are small. Increase the export size.” Clicking “Increase size” sets 4 pixels per module (capped at 2048). At the default 512 px this starts at version 37 (165×165).
  • Printed side = (modules + 8) × module size, where 8 is the four-module quiet zone on each side. The 0.254 mm figure is DENSO WAVE’s worked example (a 400 dpi printer using 4 dots per module). How small you can really go depends on the printer and the phones scanning it, so test-scan the final print.
  • Printed at 300 dpi, a 512 px PNG is about 43.3 mm wide and a 2048 px PNG about 173.4 mm. For anything larger, use the SVG.

What each content type actually encodes

A scanner app decides what to do from the scheme at the start of the content: mailto: opens a new email, tel: dials, sms: opens a text message. These are the exact strings the tool produces for the sample inputs.

TypeInputEncoded content
URLhttps://example.com/menuhttps://example.com/menu
Emailhello@example.com, subject Order 42, message Hi & thanksmailto:hello@example.com?subject=Order%2042&body=Hi%20%26%20thanks
Phone+33 (6) 12-34-56-78tel:+33612345678
SMS+81 90 1234 5678, message Café 9:30sms:+819012345678?body=Caf%C3%A9%209%3A30
  • URL must be a complete http:// or https:// address. Typing only example.com gives “Enter a complete http:// or https:// URL.”
  • Phone and SMS strip spaces, parentheses, hyphens and dots, keeping only a leading + and the digits. Include the country code for international use.
  • Spaces in the email subject and body are encoded as %20 (not +), and symbols such as & are escaped so mail apps do not cut the text short.
  • Text is encoded exactly as typed; leading and trailing spaces and line breaks are kept.

PNG or SVG?

The tool always builds an SVG first; “Download PNG” draws that SVG onto a bitmap at the chosen size. The two files therefore carry the same code and differ only in how they scale.

  • SVG: every module is an exact square, so it stays sharp at poster size. Send this one to a print shop or place it in design software.
  • PNG: fine for web pages, chat and documents. Because pixels per module are rarely a whole number (see the table above), module edges get about one pixel of blended color. Do not enlarge a small PNG afterwards; export a larger size instead.
  • This generator always uses dark grey #111827 on white, which has ample contrast. For custom colors or a logo, use the QR code designer; adding a logo switches error correction to H automatically.

Sources

Frequently asked questions

Do the QR codes expire?

No. Content is encoded directly in the pattern with no redirect service, so codes work permanently — but they also cannot be edited remotely.

How much content fits?

Up to 2953 bytes of UTF-8, less at higher error-correction levels. Oversized content is rejected, never truncated.

Which format is best for print?

SVG is vector and scales without blur. PNG suits web pages and messaging.