Printed a code and need to change the link? QR Gen makes codes you can edit later.Edit codes after printing with QR Gen.See QR Gen

Open on your phone

How to make a QR code (every kind, free)

Learn how to make a QR code for a link, Wi-Fi, UPI, WhatsApp, contact or event. See the exact text each kind stores and how big each one prints.

To make a QR code, open the free generator, choose what the scan should do (open a link, join Wi-Fi, take a payment, start a chat), type the details, and download the PNG or SVG. It takes about two minutes, needs no account, and nothing you type leaves your browser. Then scan the result with a real phone before you print a single copy.

The steps are short. The part that decides whether your code works well is what you put inside it, because a QR code is only a picture of some text, and different jobs need different text. This guide shows the exact text behind each of the eleven kinds our generator makes, how big each one comes out, and which settings are worth touching. Each kind links to a longer guide when it deserves one.

Six steps from nothing to a printed code

  1. Pick the kind. The generator offers Link, Text, Wi-Fi, Contact, UPI payment, WhatsApp, Email, SMS, Phone, Location and Event. If you only want to send people to a web page, choose Link.
  2. Fill in the fields. Type real values. The form checks the obvious mistakes: a link needs a domain, a UPI ID needs the name@bank shape, a WhatsApp number needs enough digits.
  3. Watch the preview. It redraws as you type. If the pattern gets very dense, shorten what you typed.
  4. Choose colours and style. Dark on light is the safe choice, and the generator warns when contrast is too low.
  5. Download. PNG comes in 512, 1024 and 2048 pixel sizes. SVG stays sharp at any size, which is what a printer wants.
  6. Test it. Scan the file from your screen, then scan a printed proof, with at least two different phones.

Everything else in this guide supports step 1, which is where most people go wrong, and step 6, which is where most people skip.

Pick the kind by what you want the scan to do

You want people to Make this kind Longer guide
Open a web page, menu or form Link Restaurant menu QR code
Read a short message Text
Join your Wi-Fi Wi-Fi Wi-Fi QR code
Save your contact details Contact vCard QR code
Pay you through UPI UPI payment UPI QR code for shops
Message you on WhatsApp WhatsApp WhatsApp QR code
Email, text or call you Email, SMS, Phone Email, SMS and phone codes
Find a place Location Location QR code
Add an event to their calendar Event Event QR code

How a phone decides what to do with the text

A QR code has no idea what it contains. The phone reads the text and looks at the first few characters, and that prefix is the instruction. https:// goes to the browser. WIFI: offers to join a network. upi:// hands the job to a payment app. mailto: opens a mail app, tel: the dialer, geo: a map, and BEGIN:VCARD or BEGIN:VEVENT offers to save a contact or an event. Text that matches none of these is simply shown as words. The ZXing project’s Barcode Contents page documents these conventions, which scanner apps and phone cameras commonly follow.

This explains two practical things. One code does one job, so a shop that wants UPI, WhatsApp and Wi-Fi needs three codes, each labelled. And it explains why scanning an unknown code deserves a glance before you tap: the prefix decides what the phone will try to do, and anyone can write any prefix. Our scanner shows the contents first.

The eleven kinds, and the exact text each one stores

Every figure below was measured, not estimated. We took example data, wrote it the way the generator writes it, and calculated the QR version needed at error correction level M, which is the default. A version is a size step: version 1 is 21 by 21 modules (the small squares) and each version after adds four modules to each side, up to 177 by 177 for version 40, as Denso Wave’s page on versions explains. Fewer modules means a code that is easier to scan from a distance or at small size.

https://example.com/menu

24 bytes: version 2, 25 by 25 modules. The generator adds https:// if you leave it off. This is the most flexible kind, because a web page can be anything: a menu, a form, a catalogue, a booking page. If the content is a PDF or an image, host it somewhere first and link to it. A link is also the only kind where a dynamic code is a real option, which is covered under static vs dynamic QR codes.

Text

Table 7 is free from 6 pm

25 bytes: version 2, 25 by 25. A scanner shows the words and nothing else. It suits a label, a serial number or a short instruction on a piece of equipment. For anything longer than a couple of lines, a link to a page reads better and scans easier.

Wi-Fi

WIFI:T:WPA;S:Example Home;P:blue-mango-42;;

43 bytes: version 4, 33 by 33. The format is the one listed on the ZXing project’s Barcode Contents page, and a password with a semicolon, colon, comma, quote or backslash must be escaped. The generator does that for you. Hidden networks, open networks, WPA3 and where to find a forgotten password are in how to make a Wi-Fi QR code.

Contact

BEGIN:VCARD
VERSION:3.0
N:Rao;Asha;;;
FN:Asha Rao
ORG:Example Traders
TEL;TYPE=CELL:+919876543210
EMAIL:[email protected]
URL:https://example.com
END:VCARD

154 bytes: version 9, 53 by 53. This is a vCard 3.0 card, the format defined in RFC 2426. It is the densest kind we make, and each field you add makes it denser; the vCard QR code guide measures it field by field and says when a link is the smarter choice. On a visiting card the layout questions change, so see QR codes on business cards.

UPI payment

upi://pay?pa=example@upi&pn=Example%20Store&cu=INR

50 bytes: version 4, 33 by 33. Add &am=250 and a note and it becomes 72 bytes, version 5, 37 by 37. The pa is your UPI ID, pn your shop name, cu the currency, and am an optional fixed amount; the parameters come from the NPCI linking specification, which we read in a copy hosted by Labnol. Leave the amount empty for a counter where prices vary. The UPI QR code for shops guide covers when to fix it, how a sign should read, and how this code differs from a bank-issued merchant code.

WhatsApp

https://wa.me/919876543210?text=Hi%2C%20I%20saw%20your%20menu

61 bytes: version 4, 33 by 33. The number is the country code plus the number, digits only, in the format that WhatsApp’s click to chat page describes. The message after text= has to be percent-encoded, which the generator does. Country code slips, the built-in WhatsApp Business code and what a long greeting costs in size are in the WhatsApp QR code guide.

Email

mailto:[email protected]?subject=Catalogue%20request&body=Please%20send%20the%20catalogue

89 bytes: version 6, 41 by 41. The scanner opens a new message to that address with the subject and body filled in, so the reader only presses send. A subject and a short body are worth adding, because they tell you what the message is about before you open it. The email, SMS and phone code guide covers encoding and how phones behave.

SMS

SMSTO:+919876543210:Send catalogue

34 bytes: version 3, 29 by 29. The ZXing page notes that SMSTO: has been seen in the wild without an official specification behind it, so phone support varies. Test it on the models your audience uses, and offer a WhatsApp or phone code beside it if it matters.

Phone

tel:+919876543210

17 bytes: version 2, 25 by 25, the smallest payload we make and the easiest to scan. Include the country code so the number works from anywhere. A scan normally opens the dialer with the number ready.

Location

geo:12.9716,77.5946

19 bytes: version 2, 25 by 25. The geo: format is a latitude and a longitude, and a scan usually offers to open a map app. If you would rather send everyone to Google Maps with your business name, use a Link code instead. QR code for a Google Maps location shows both, and how to get exact coordinates.

Event

BEGIN:VEVENT
SUMMARY:Open Day
DTSTART:20261212T103000
DTEND:20261212T130000
LOCATION:Example Hall\, Pune
END:VEVENT

115 bytes: version 7, 45 by 45. The scan offers to add the event to the calendar. The generator writes the start as a local time with no time zone, so the event lands on the clock of whoever scans it; that is fine for a local event and wrong for a webinar, which is the kind of case the event QR code guide works through.

What the sizes tell you

Here is the same data in one place, all at level M:

Kind Bytes Version Modules
Phone 17 2 25 by 25
Location 19 2 25 by 25
Link 24 2 25 by 25
Text 25 2 25 by 25
SMS 34 3 29 by 29
Wi-Fi 43 4 33 by 33
UPI, open amount 50 4 33 by 33
WhatsApp, short greeting 61 4 33 by 33
UPI, fixed amount and note 72 5 37 by 37
Email with subject and body 89 6 41 by 41
Event 115 7 45 by 45
Contact, five fields 154 9 53 by 53

Two lessons come out of it. First, the quick kinds (phone, location, link, text) all land at the smallest practical size, so they are forgiving: they scan from far away and print small. Second, the data-heavy kinds climb quickly. A contact card has more than twice as many modules per side as a link, and it has to be printed larger to keep each module the same physical size. If a code feels crowded, remove a field or link out to a page, as we show for contacts.

A note on measuring. These versions describe what this site’s generator draws. Another generator may pick a different version for the same text, because tools differ in how they pack characters, so treat the figures as a guide to relative size.

Settings that decide whether it scans

Error correction. QR codes carry spare data so a scratched or partly covered code still reads. The generator offers L, M, Q and H, shown as 7, 15, 25 and 30 percent. Denso Wave’s page on error correction says level M (15 percent) is “most frequently selected”, and M is our default. Higher levels cost size: the Wi-Fi code above is version 3 at L, version 4 at M and Q, and version 5 at H. QR code error correction levels explains what the percentages really protect against and when to raise them.

Colour. The reader needs a clear difference between the dark squares and the background, with the dark ones darker. The generator shows a contrast warning when you go too light. Inverted codes (light on dark) can fail on some scanners, and QR code colours that still scan has the rules and some safe pairs.

Dots and corners. Square, Rounded, Dots, Leaf and Soft are all offered. Square is the most conservative, and a decorative style is a trade: it looks distinctive and gives the scanner a little more to interpret. If you pick one, test it with two phones and at the smallest size you plan to print.

Margin. The blank border around the code, called the quiet zone, is part of the code. Scanners use it to find where the pattern ends. Do not crop it away in a design tool, and do not print the code touching a busy edge.

Logo. You can upload a logo, and the generator then forces error correction to H so the code survives having its centre covered. That raises the version, so keep the payload short when you add one. How to add a logo without breaking it gives the size limits we tested.

File format. Use SVG for print and PNG for screens and documents. PNG or SVG goes through the resolution maths and what printers accept, and what size to print turns module counts into centimetres.

Static or dynamic

Everything above is static. The text is in the pattern, so the code works for as long as the print survives and no service sits behind it. The price is that it cannot be edited and cannot report scans.

A dynamic code stores a short address on a provider’s server that redirects to your page. You can change the destination and count scans, but the code stops working if the plan lapses. Whether you need that depends on the job, and static vs dynamic QR codes compares the two properly. Our paid sister product QR Gen makes dynamic codes (two on the free plan as of November 2026); for most of the kinds in this guide, you will not need them.

A common worry is expiry: do QR codes expire? answers it, with a quick way to check a code before you print. If you want numbers rather than guesses about who scans, read how to track QR code scans. If you need a hundred codes with different names or links, bulk QR codes from a spreadsheet lays out the options. And if you are comparing tools, the best free QR code generators lists what each free plan really includes, including ours.

Where each kind is used

Different businesses use different kinds, and the longer guides are written around the job rather than the code:

If what you need is the product barcode that a till reads, that is a different format with different rules, and the barcode maker handles EAN-13, UPC-A, Code 128 and others. And if you are on the receiving end, the QR scanner decodes a code on your device and shows what is inside before you open it.

One counter, three codes: a worked example

Take a small shop that wants to be paid, reached and visited. It needs a UPI code for the counter, a WhatsApp code for orders, and a Link code to a catalogue page. In our measurements those are version 4 (33 by 33, open-amount UPI), version 4 (33 by 33, a short greeting) and version 2 (25 by 25, a short link). All three are small, so one A5 card can carry them side by side at about 4 to 5 cm each, with a line of words under each: “Scan to pay”, “Order on WhatsApp”, “See the catalogue”.

The mistake to avoid is a single code that tries to do all three through a link-in-bio page. That adds a step for the customer and a page you must keep alive. Three plain codes cost nothing extra and fail independently, so a problem with the catalogue page never stops a payment.

Mistakes that cost a print run

  • Testing only on your own phone. Test on an iPhone and an Android phone at least, and on an older model if your customers use them.
  • Testing the screen, not the print. Matte paper, glossy lamination and a curved bottle all behave differently. Scan a printed proof at its real size.
  • No words beside the code. A bare pattern tells nobody what happens next. Write “Scan to pay” or “Scan to join Wi-Fi”, plus the plain-text fallback such as the web address.
  • Shrinking after the fact. A code that scanned at 5 cm can fail at 2.5 cm. Fix the print size first, then check that the code you made fits it.
  • Cramming. If you wanted five fields and a logo, the code will be dense, and dense codes need a big print. Pick the three fields people use.
  • Forgetting the quiet zone. Cropping the border, or printing text right against the code, is a classic reason for failed scans.

What to print

Pick the job, then the kind, then the size, and do the test last:

  1. A web page, a menu or a form: Link, level M, SVG, sized for the distance people will scan from (the size guide has the rule).
  2. A counter payment sign: UPI with the amount left open, 5 to 6 cm, with the shop name printed beside it.
  3. Guest Wi-Fi: Wi-Fi kind, level M, with the network name written next to the code.
  4. A visiting card: a link or a short contact code, not a crowded one.
  5. Anything with a logo: level H and a short payload.

Then scan the printed proof with two phones, and print the run.

Ready to try it? Free, no sign-up, made in your browser.

Open the QR generator