QR Code Generator

This QR code generator makes codes for text, web addresses, Wi-Fi logins, email, phone, SMS and contact cards, and saves them as PNG or SVG.

QR code
Runs locally in your browser

About the QR Code Generator

Choose what the code should do and fill in the fields. A Wi-Fi code uses the standard WIFI:T:WPA;S:name;P:password;; format, with a backslash in front of the characters \ ; , : " so an awkward password still reads back correctly. A web address code adds https:// when you leave it out and refuses other schemes (use the Text type for those). Email and SMS codes carry a percent-encoded mailto: or sms: link (the older SMSTO: form is a choice), phone codes carry tel:, and the contact option writes a basic vCard 3.0 with CRLF line ends and name, organization, phone, email and website.

Error correction decides how much damage a code survives and how much it can hold: L recovers about 7% of the symbols, M 15%, Q 25% and H 30%. At level L a code holds up to 2,953 bytes of ordinary text, at H only 1,273, and digits-only content fits far more. When your content is too long the tool tells you the byte count and the limit instead of failing silently. It also warns when the foreground and background contrast is too low to scan, when the colours are inverted, and when the quiet zone is under four modules.

The PNG uses a whole number of pixels per module, so the edges stay sharp and the real size can be a little under the size you pick. The SVG scales without loss, which suits print. Everything is generated in your browser and nothing you type is uploaded. To shorten a long address first, trim it with the UTM Builder or the URL Parser; for a phone chat link see the WhatsApp Link Generator, and check colours with the Color Contrast Checker.

How to use

  1. Pick the content type: web address, text, Wi-Fi, email, phone, SMS or contact.
  2. Fill in the fields. The code redraws as you type, and any problem is shown in red above it.
  3. Choose an error correction level, image size and colours. Keep dark on light for the best scan results.
  4. Test the code with your phone camera, then press Download PNG or Download SVG.

Common questions

How much text can a QR code hold?
Up to 2,953 bytes of ordinary text at error correction L and 1,273 at H. Numbers-only content holds up to 7,089 digits. The tool shows the exact byte count and the limit.
Which error correction level should I use?
M is a good default. Use H when the code will be printed on something that may get scuffed. Use L for long content that must stay readable at a small size.
Can I use coloured codes?
Yes, as long as the foreground is much darker than the background. A contrast of 4.5:1 or more is safest. The tool warns when the colours are too close or inverted.
Will the Wi-Fi code work on iPhone and Android?
Yes. Both phone cameras read the standard WIFI: format and offer to join the network. Open networks use the "No password" option.
Is my Wi-Fi password kept anywhere?
No. It stays in the page while you type, is never stored or put in a link, and is not sent anywhere. The finished code does contain it in plain form, so anyone who scans the code can read the password.
Does it expire or track scans?
No. The code holds your data directly, with no redirect, so it works forever and nothing about scans is recorded. Nothing is uploaded.