Free tool

QR Code Generator

Make a free QR code for a URL, plain text, an email address, a phone number or a Wi-Fi network. Choose the colors and size, then download a PNG. The code is created in your browser and never expires.

Size
Your QR code will appear here
Everything runs in your browser.
No data is sent to a server.

In short: A QR code generator turns a link, a piece of text or a set of Wi-Fi credentials into a square barcode that any phone camera can read. Codes made here are static: the content lives in the image itself, so they work offline, cost nothing and never expire.

Static vs dynamic QR codes: which one do you need?

Most "free QR code generator" sites push you toward dynamic codes. A dynamic code does not contain your URL. It contains a short link on the vendor's domain, which then redirects to your page. That lets the vendor count scans and lets you change the target later, but it also means the code dies when the subscription ends or the company shuts down. Thousands of printed menus and flyers have gone dead that way.

A static QR code stores the destination directly. Nobody sits between the scan and your page, so there is nothing to expire. If you want the flexibility of a dynamic code without the lock-in, encode a URL on your own domain, such as https://example.com/menu, and point it wherever you like with a server-side 301 redirect. Add UTM parameters with the UTM builder and the scans will show up as their own source in Google Analytics.

Static QR codeDynamic QR code
Where the data livesIn the patternOn the vendor's server
ExpiresNeverWhen the plan or service ends
Edit the target laterOnly via your own redirectYes, in the vendor dashboard
Scan statisticsVia UTM tags in your analyticsBuilt in
Works offline (Wi-Fi, text)YesNo, needs a redirect lookup

What each QR code type encodes

Phones recognize a QR code's purpose from a short prefix in the data. This tool writes the standard formats, so the native camera app on iOS and Android offers the right action:

  • URL: the address as typed. Always include https://, otherwise some scanners treat it as plain text.
  • Email: mailto:name@example.com?subject=Order%20question opens a new message with the subject filled in.
  • Phone: tel:+12025550123. Use the international format with the country code so the number dials correctly abroad.
  • Wi-Fi: WIFI:T:WPA;S:MyHomeWiFi;P:secret;;. Special characters such as ; and , in the name or password are escaped with a backslash automatically.
  • Text: anything else, stored as-is.

Need a contact card QR code? Paste a vCard into the Text tab. Most phones will offer to save the contact:

BEGIN:VCARD
VERSION:3.0
N:Doe;Jane
FN:Jane Doe
TEL:+12025550123
EMAIL:jane@example.com
URL:https://example.com
END:VCARD

How much data a QR code can hold

The largest QR code (version 40, 177 × 177 modules) holds up to 7,089 digits, 4,296 alphanumeric characters or 2,953 bytes at the lowest error correction level. This generator always uses level H, which can rebuild the content even if about 30% of the code is damaged or covered. The trade-off is capacity: at level H the maximum drops to 1,273 bytes. In practice you will never get close, but longer data means smaller modules, and small modules are harder to scan from a poster. A URL under 100 characters keeps the code clean. If your link is long, shorten it first with the link shortener.

Print size, contrast and quiet zone

A good rule of thumb is a 10:1 ratio between scanning distance and code width. A code read from 30 cm (about 12 in) away should be at least 3 cm wide, and a poster read from 3 m needs roughly 30 cm. Never print a QR code smaller than 2 × 2 cm. Download the 1024 px PNG for print work; 256 px is enough for screens and emails.

Keep a dark foreground on a light background. Inverted codes (light on dark) and low-contrast pairs such as red on white or gray on gray fail on many older phones. Leave a blank margin, called the quiet zone, of at least four modules on every side, and do not let other graphics touch it. Before sending anything to print, scan the final file with two or three different phones, including one in poor light.

Frequently asked questions

Do QR codes from this generator expire?

No. These are static QR codes: the URL, text or Wi-Fi details are stored in the pattern itself, and there is no account or redirect server behind them. A printed code keeps working for as long as the destination exists. Codes from paid dynamic QR services can stop working when the subscription ends.

Can I change the link of a QR code after printing it?

Not with a static code, because the link is part of the image. If you expect the target to change, encode a URL on your own domain and redirect it with a 301 on your server. You can then change the destination any time without reprinting.

Does scanning a QR code need an internet connection?

Reading the code does not. The phone decodes the pattern offline. You only need a connection to open a website from a URL code. Wi-Fi, phone, email and text codes are decoded and handled entirely on the device.

Is the data I enter sent anywhere?

No. The code is drawn in your browser by a small JavaScript library, and your URL, text or Wi-Fi password is never sent to a server. Keep in mind that anyone who scans the printed code can read its content, including a Wi-Fi password.

Related tools: UTM Builder · Link Shortener · Slug Generator