QR Code Generator

Make a QR code for a link, text, a Wi-Fi network or a contact card. The code is permanent and never expires.

QR code content

Error correction

How to use it

  1. Choose what the QR code holds: a link or text, a Wi-Fi network or a contact card, then fill in the details.
  2. Adjust error correction, size and colors if you need to. The preview updates as you type.
  3. Scan the preview with your phone camera to test it, then press Download PNG to share it or Download SVG for large prints.

Versions, capacity and error correction

The size of a QR code's grid is called its version, from version 1 (21 × 21 modules) to version 40 (177 × 177 modules). Each version adds 4 modules per side. The tool picks the smallest version that holds your content and stores the text as UTF-8 bytes: plain letters and digits take 1 byte, accented letters such as é take 2, and an emoji takes 4. The version, module count and byte count appear under the preview.

Error correction adds spare data so the code still scans when part of it is damaged. Level L can restore about 7% of the data, M about 15%, Q about 25% and H about 30%. The higher the level, the less content fits in the same version:

VersionModulesLMQH
121 × 211714117
225 × 2532262014
329 × 2953423224
537 × 37106846044
1057 × 57271213151119
2097 × 97858666482382
40177 × 1772953233116631273

The figures are maximum bytes. Example: https://swift.id is 16 bytes. At level M, version 1 holds only 14 bytes, so the code uses version 2 (25 × 25 modules). At level L, version 1 is enough.

Image size and quiet zone

Each module is drawn with a whole number of pixels so the edges stay crisp. Version 2 with the standard 4-module border on each side is 33 modules wide. In a 1024-pixel download each module becomes 31 pixels (33 × 31 = 1023), and the spare pixel is filled with the background color. A 4-module quiet zone is what the QR code standard asks for; choose No border only if the code will sit on an area that is already blank.

SVG stores every module as a vector shape, so it stays sharp at any print size. When printing, module size = code width ÷ number of modules. A 140-byte contact card needs version 8 (49 × 49 modules) at level M; printed 0.8 inch wide, each module is only about 0.016 inch (0.4 mm). A short link in version 2 at the same width gets modules twice as large, so it scans from farther away.

Wi-Fi and contact content

A Wi-Fi code uses the format WIFI:T:WPA;S:Home Wi-Fi;P:secret123;;, which the camera apps on Android phones and iPhones understand. Backslashes, semicolons, commas, colons and double quotes in the name or password are escaped automatically. A contact becomes a vCard 3.0 with name, phone number, email and organization; empty fields are left out.

Common mistakes: a code that is lighter than its background, contrast below 3:1 (the tool warns about both), and printing a Wi-Fi code without scanning it first. A QR code's content can't be changed after printing; if the Wi-Fi password changes, make and print a new code.

Questions

Does this QR code expire?
No. The content is stored in the image itself, not behind a redirect link. As long as the link it points to works, the QR code keeps working.
How much text fits in one QR code?
At most 2,953 bytes at level L or 2,331 bytes at level M, in version 40. A code that full is very dense and hard to scan, so for long text, put it on a web page and make a QR code for the link instead.
Which error correction level should I choose?
Medium (M) suits most uses. Choose High (Q) or Maximum (H) if the code will be printed somewhere it can get dirty or scratched, such as a table sticker. The higher the correction, the denser the pattern for the same content.
How do I make a Wi-Fi QR code?
Choose Wi-Fi, enter the network name and password exactly as they appear on the router (they are case-sensitive), and pick the security type. Guests scan it with their phone camera and connect without typing the password. Scan it yourself before you print it.
PNG or SVG: which should I use?
PNG is handy for sending in a chat or pasting into a document; choose 1024 or 2048 pixels for small prints. SVG is a vector image that stays sharp at any size, which suits banners and professional printing.
Can I change the colors?
Yes, as long as the code is much darker than the background. The tool warns you when the contrast is below 3:1 or when the code is lighter than the background, because some scanner apps cannot read those.