Skip to tool

QR Code Generator

URLExample values
vectobox.com becomes https://vectobox.com.
When on, the link includes what you fill in.
Style
Can still be read with about 15% of the code damaged or covered.
modules
Blank border around the code. 4 is the standard minimum.
px
Width and height of the downloaded PNG. SVG scales to any size.
Code color
Contrast 19.0:1 with the background.
Background
LogoOptional
PNG, JPEG or SVG up to 100 KB. Error correction switches to H so the code still scans.
PreviewVersion 2 · EC M · Byte (UTF-8)
Preview

PNG is 512 × 512 px.

Create a QR code for a link, Wi-Fi network, or contact

Pick a content type, fill in the form, and the preview updates as you type, showing the QR version, error-correction level, and encoding mode. Choose a PNG size from 128 to 2048 px and a quiet zone (the blank border) of 0 to 8 modules; the default of 4 matches the minimum in the QR standard. You can change the foreground and background colors, add a PNG, JPEG, or SVG logo up to 100 KB, then download the code as SVG or PNG or copy the PNG to the clipboard.

How to make a QR code

  1. Pick a Content type tab. Each tab opens with example values. Clear empties the current tab and Try an example brings the example back; the other tabs keep what you typed.
  2. Fill in the form. The line above the preview reads, for example, Version 2 · EC M · Byte (UTF-8).
  3. Under Style, set Error correction, Quiet zone and PNG size, then Code color and Background. The contrast between the two colors is shown under Code color.
  4. Optionally choose a Logo. Error correction switches to H as soon as the file is accepted.
  5. Use Download PNG, Download SVG, or Copy, which puts the PNG on the clipboard. The files are named qr-code.png and qr-code.svg.

Nine content types

URL (https:// is added if missing), plain text, Wi-Fi (WIFI:T:WPA;S:name;P:password;H:false;; with WPA/WPA2/WPA3, WEP, or open networks), vCard 3.0 contact (name, organization, title, phone, email, website, address, note), email (mailto: with subject and body), SMS (smsto:number:message), phone (tel:), location (geo:latitude,longitude), and calendar event (iCalendar VEVENT with title, start, end, location, and description). Special characters are escaped for each format, for example semicolons and backslashes in Wi-Fi passwords and commas in vCard fields.

Error correction levels and logos

QR codes use Reed-Solomon error correction at four levels: L recovers about 7% of damaged data, M about 15% (the default), Q about 25%, and H about 30%. Higher levels make the code denser. The encoder picks the smallest version from 1 to 40 that fits, chooses numeric, alphanumeric, or byte (UTF-8) mode from the content, and applies the mask pattern with the lowest ISO/IEC 18004 penalty score. A logo is drawn in the center at 18% of the code's width on a background-colored pad, which hides some data modules, so switch to level H when you add one.

Static QR codes: no expiry, no scan tracking

The codes made here are static: the URL, Wi-Fi details, or contact card are stored in the code itself, with no redirect service in between. They do not expire and keep working as long as the content is valid, for example as long as the linked page stays online. There is also no scan count; to point a printed code somewhere else you must create a new one. Turn on Share via link to save the form fields in the page URL so you can bookmark or send them; the Wi-Fi password, vCard note, and email body are left out. Anyone who scans the code can read its content, including a Wi-Fi password.

What each content type encodes

  • URL: vectobox.com with Add https:// when missing turned on → https://vectobox.com, 20 characters. That is Version 2 (25 × 25 modules) at level M and Version 3 (29 × 29) at H.
  • Wi-Fi: network Home, password correct horse, WPA/WPA2/WPA3 → WIFI:T:WPA;S:Home;P:correct horse;H:false;;. A network named Cafe;Guest is written as S:Cafe\;Guest.
  • vCard: the example contact (name, organization, job title, phone, email, website) is 173 characters on ten lines. Version 9 (53 × 53) at M, Version 13 (69 × 69) at H.
  • Email: To hello@example.com with Subject Order #42 → mailto:hello@example.com?subject=Order%20%2342. The space and the # each grow from one character to three.
  • Capitals and digits: HTTPS://VECTOBOX.COM fits Version 1 (21 × 21) in Alphanumeric mode, while https://vectobox.com needs Version 2 in Byte mode. Sixteen digits fit Version 1 in Numeric mode even at H.

How content length changes the code

Each version adds four modules per side, from 21 × 21 at Version 1 to 177 × 177 at Version 40. In Byte mode at level M, Version 1 holds 14 bytes, Version 2 holds 26, Version 5 holds 84 and Version 10 holds 213. Level H cuts those to 7, 14, 44 and 119, so a 100-character link is Version 6 (41 × 41) at M and Version 10 (57 × 57) at H. The exported image does not grow with the version: its width is divided by the module count plus twice the quiet zone. In the default 512 px PNG with a quiet zone of 4, a Version 2 code has about 15.5 px per module and the Version 13 vCard about 6.6 px; at 128 px that vCard has 1.7 px. Printed 3 cm wide, the two codes have modules of 0.9 mm and 0.4 mm.

Common QR code mistakes

  • Expecting http:// for a local server. localhost:3000 and example.com:8080/path get https:// like any other address. For a server that only answers http, type http:// yourself.
  • Adding a logo to a code that is already dense. A logo switches Error correction to H: the example vCard goes from Version 9 at M to Version 13 at H. Remove switches back to the earlier level.
  • Putting a long message into an Email code. Every space, comma and line break becomes three characters (%20, %2C, %0A) and every Chinese character becomes nine.
  • Entering coordinates as degrees, minutes and seconds. Latitude and Longitude take decimal degrees: 31°13′48″ N is 31.23. A value that is not a number, or is outside ±90 or ±180, shows an error instead of a code.
  • Expecting a Calendar time to carry a time zone. DTSTART:20261102T100000 names no zone; iCalendar calls this a floating time, read as 10:00 in the local time of whoever opens the event.
  • Pasting long Chinese or Japanese text. Each Chinese character takes three bytes, so level L holds 984 of them and level H holds 424, well short of the 4,296-character limit.

FAQ

Do QR codes expire?

Static codes like the ones made here do not. They contain the content directly, so they keep working indefinitely; a code that opens a website stops working only if that page is taken down or its address changes. Dynamic codes from subscription services point to a redirect link and stop working when that service or subscription ends.

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

Open the Wi-Fi tab, enter the network name (SSID) and password, choose the security type (WPA/WPA2/WPA3, WEP, or None), and turn on Hidden network if the SSID is not broadcast. Most phone cameras on iOS and Android can scan the code and offer to join the network.

Why won't my QR code scan after adding a logo?

The logo covers data modules in the center. Set error correction to H (about 30% recovery), keep dark modules on a light background with a contrast of at least 4.5:1 (the tool warns below this), and leave a quiet zone of at least 4 modules. Test with more than one phone before printing.

Should I download SVG or PNG?

Use SVG for print and design files: it is a vector image and stays sharp at any size. Use PNG for websites, documents, and chat apps; pick 1024 or 2048 px if the code will be printed large from the PNG.

How much data can a QR code hold?

The largest version, 40, has 177 × 177 modules. At error-correction level L it holds up to 7,089 digits, 4,296 alphanumeric characters, or 2,953 bytes. This tool accepts at most 4,296 characters of any kind, so a digits-only code stops there too. Higher levels hold less, and non-Latin text takes 2 to 4 bytes per character in UTF-8. If the content does not fit, the tool asks you to lower the level or shorten the content.