How to Make a QR Code for a Link, Wi-Fi or Contact

By 5 min read

To make a QR code, open a QR code generator, paste the link or text you want people to reach, and download the image. With the QR code generator on this site you type or paste the content, choose an error correction level, a size and two colours, and download the code as an SVG file. It is made in your browser and nothing is uploaded. Before you print it, scan it with your own phone to make sure it opens the right thing.

Step by step

  1. Open the QR code generator.
  2. In Text or URL, paste a full web address, including https://, or any other text.
  3. Pick an Error correction level. Medium (15%) is the default and suits most uses.
  4. Set the Size in pixels, from 100 to 2,000. The default is 512.
  5. Keep the colours dark on light. The defaults are black (#000000) on white (#FFFFFF), and any colour must be a six digit hex code like these.
  6. Run the tool and download qr-code.svg.
  7. Scan the code with a phone camera to test it.

The tool also tells you the QR version and how many squares (modules) wide the code is. A short link such as https://www.inovotools.com makes a version 2 code, 25 × 25 modules, at medium error correction.

What you can put in a QR code

A QR code stores text. Phones recognise certain kinds of text and offer an action for them.

A website link. Paste the full address. Phones open it in the browser.

Wi-Fi details. Use this format, with your own network name and password:

WIFI:T:WPA;S:HomeNet;P:blue-kettle-42;;

T is the security type (WPA, WEP or nopass for an open network), S is the network name and P is the password. If the name or password contains a semicolon, comma, colon or backslash, put a backslash in front of it. This example makes a version 3 code, 29 × 29 modules. Anyone who scans the code can read the password, so only put it where you would happily show the password itself.

A contact card. A vCard lets people save your details in one tap:

BEGIN:VCARD
VERSION:3.0
N:Khan;Sara
FN:Sara Khan
TEL:+12025550147
EMAIL:sara@example.com
END:VCARD

This card makes a version 6 code, 41 × 41 modules, at medium error correction.

Email or phone. Text such as mailto:hello@example.com opens a new email, and tel:+12025550147 offers to call the number.

Plain text. Anything else, such as a short note or a product code, is shown as text.

Which error correction level to choose

Error correction lets a phone read the code even when part of it is dirty, scratched or covered. Higher levels survive more damage but need more squares, so the code gets denser.

Level Can recover about Good for
Low (L) 7% Clean screens and long text
Medium (M) 15% Most print and screen uses
Quartile (Q) 25% Outdoor signs and packaging
High (H) 30% Codes that may get worn or partly covered

For the same short link, high error correction makes a version 4 code of 33 × 33 modules instead of version 2 at 25 × 25. If a stronger level fits in the same size, the generator uses it automatically, so you may see M when you chose L.

How much a QR code can hold

The more text you add, the more squares the code needs. Long links make dense codes that are harder to scan from a distance or in poor light. A link with three tracking tags, about 114 characters long, already needs version 7 (45 × 45 modules) at medium error correction.

The largest code, version 40, holds up to 2,953 bytes at low error correction, 2,331 at medium and 1,273 at high. Above that the generator asks you to shorten the text. Most letters and digits take one byte each, while accented letters and emoji take more.

If you want to measure scans from a flyer or poster, add UTM tags with the UTM link builder, then keep the link as short as you can. Our guide on how to build UTM links explains each tag.

Does a free QR code expire?

A code from this generator holds your link or text directly. There is no redirect in between, so it keeps working for as long as the content does: a link works while the web page is online, and Wi-Fi details work until you change the password. The flip side is that you cannot change where a printed code points. If you print a code for a page that may move, set up a short address on your own website first and put that in the code.

Printing and file formats

The download is an SVG, a vector image that stays sharp at any size, which is ideal for print designers and most layout software. If a website, app or document editor only accepts PNG, convert it with the SVG to PNG converter, which can also make it 2 or 4 times larger. To print a code on its own sheet, the SVG to PDF converter turns it into a PDF.

A few rules keep codes easy to scan:

  • Keep strong contrast. Dark squares on a light background are the safest choice. Some scanners cannot read light squares on a dark background.
  • Leave the white border. The generator adds a margin of 4 modules around the code. Do not crop it or place text right up to the edge.
  • Size for the distance. A code on a business card is scanned from close up, a poster across a room needs to be much bigger.
  • Test the real thing. Scan the printed proof with more than one phone before you print in volume.

How to scan a QR code

On an iPhone, open the Camera app and point it at the code, then tap the link or banner that appears. On Android, use the Camera app or Google Lens. Older phones may need a scanner app.

If you need a product barcode rather than a QR code, the barcode generator makes Code 128, EAN-13 and UPC-A barcodes.

Questions and answers

Is this QR code generator free?

Yes. There is no sign-up and no limit, and the code is generated in your browser, so your link or Wi-Fi password is not sent to a server.

Do QR codes from this generator expire?

No. The content is stored in the code itself with no redirect, so it works as long as the link or details inside it are still valid.

Can I make a QR code as a PNG?

The generator downloads an SVG, which stays sharp at any size. Convert it to PNG with the SVG to PNG converter if a site or app needs a PNG file.

Related guides

More from the blog