QR Code Generator

Create QR codes for links, text, Wi-Fi networks, contact cards and emails. Adjust size, colors and error correction, then download a PNG or SVG.

Content

Tip: tel:+15551234567 and sms:+15551234567 also work.

Appearance

#000000
#ffffff
Error correction

Share of the code that can be damaged or covered and still scan. Higher levels make denser codes.

Preview

Enter a URL or some text.

What this QR code generator does

A QR code is a square barcode that phone cameras read in a fraction of a second. Whatever text you put inside it is what the phone receives: a web address opens in the browser, a WIFI: string offers to join a network, and a vCard offers to save a contact. This tool builds those strings for you and draws the code locally, so you can make a code for a poster, a restaurant table, a business card, a slide or the back of a router without signing up for a QR service.

These are static codes: the data lives in the pattern itself. There is no tracking redirect in between, so they never expire and nobody can switch the destination later, but it also means you need a new code if the content changes.

How to use it

  1. Choose a content type: URL / Text, Wi-Fi, Contact (vCard) or Email.
  2. Fill in the fields. The preview updates a moment after you stop typing; open Encoded text to see exactly what goes into the code.
  3. Under Appearance, set the size, the quiet zone (the blank border), the foreground and background colors, and the error-correction level.
  4. Scan the preview with your phone to test it.
  5. Click Download PNG for a ready-to-use image, or Download SVG for a vector file that stays sharp at any print size.

Worked example: a Wi-Fi code

Suppose your network is called Office;5G, it uses WPA2 and the password is p:ss,word. Choose Wi-Fi, type those values and leave Hidden network unticked. The encoded text is:

WIFI:T:WPA;S:Office\;5G;P:p\:ss\,word;;

The semicolon in the network name and the colon and comma in the password get a backslash in front, because those characters separate the fields in the Wi-Fi format. Without the escaping, a phone would read the SSID as just Office and fail to connect. When scanned with the camera app on current iOS and Android versions, the phone offers to join the network directly.

Content types and settings

  • URL / Text encodes exactly what you type. Besides links you can use tel: and sms: numbers.
  • Wi-Fi supports WPA/WPA2/WPA3 (all use T:WPA), WEP and open networks, plus the hidden-network flag.
  • Contact (vCard) produces a vCard 3.0 with name, organization, job title, phone, email, website and address. Commas, semicolons and backslashes are escaped as the vCard standard requires.
  • Email creates a mailto: link with an optional subject and message, percent-encoded so spaces and symbols survive.
  • Size is the width of the exported image in pixels, quiet zone included. Quiet zone is measured in modules (the small squares); the QR specification asks for 4.
  • Error correction adds redundancy: L, M, Q and H can recover roughly 7%, 15%, 25% and 30% of damaged modules. Higher levels make the code denser.

Limitations

The tool does not add logos, rounded dots or frames, and it does not offer scan statistics or editable "dynamic" codes, which require a redirect server. If the content is too large for a QR code at the chosen error-correction level you will see an error instead of a preview. Phone support for vCard and Wi-Fi codes is good on current devices, but some older scanner apps only show the raw text.

Tips for codes that scan reliably

  • Keep strong contrast: a dark foreground on a light background. The tool warns you when contrast is low or the colors are inverted.
  • Do not crop the quiet zone when placing the image in a design.
  • For print, use the SVG and make the code at least about 2 cm (0.8 in) wide; larger if it will be scanned from a distance.
  • Shorter content gives a simpler code. Remove tracking parameters you do not need from long URLs.
  • Got a code and want to know what is inside? Use the QR Code Scanner. For unique IDs to put in links, try the UUID Generator.

Frequently Asked Questions

Is my data sent to a server?

No. The QR code is drawn in your browser by the open-source qrcode JavaScript library. Wi-Fi passwords, contact details and links never leave your device.

Do these QR codes expire?

No. The content is stored directly in the pattern, not behind a redirect service, so the code works for as long as the link or data inside it is valid. The flip side is that you cannot edit it after printing.

Which error correction level should I choose?

M (about 15% recoverable) is a good default. Use Q or H for codes that may get scratched or partly covered, such as stickers or codes with a logo placed on top, and L when you need to fit the most data.

How much data can a QR code hold?

At level L the largest QR code holds up to 7,089 digits, 4,296 alphanumeric characters or 2,953 bytes. Long content produces dense codes that are hard to scan, so keep links short.

Why does my Wi-Fi QR code not connect?

Check that the SSID and password match exactly, including case, and that the security type is right. This tool escapes special characters such as ; , : and quotes as the Wi-Fi QR format requires, so they do not need any manual escaping.

Can I use the codes commercially?

Yes. QR codes are an open ISO/IEC 18004 standard, and the images you generate here are yours to print or publish without attribution.