How To

How to Make a WhatsApp QR Code

How to Make a WhatsApp QR Code

A WhatsApp QR code turns “what’s your number?” into a two second scan. Point a camera at it and the chat opens, already addressed, sometimes with the first message written for you. No saving a contact, no typos in a country code, no explaining that yes, you do need the leading digits.

There are two completely different things people mean by “WhatsApp QR code”, and mixing them up is why so many printed codes do nothing useful. Here is the difference, and how to make the one you actually want.

The two kinds, and why it matters

WhatsApp’s built-in code lives in the app under Settings, next to your name. It is a contact code. Someone scans it inside WhatsApp and gets the option to add you. It only works from within the app’s own scanner, and it can be reset at any time, which invalidates every copy already in circulation.

A click-to-chat code encodes an ordinary web link. Any camera on any phone can read it, WhatsApp or not, and it opens a conversation directly rather than offering to save a contact. This is the one you want on a shop window, a business card or an invoice.

The rest of this guide covers the second kind, because it is the one that survives contact with the public.

The link format

https://wa.me/15551234567

That is the whole thing. Encode that string as a QR code and you are finished. The number is written in full international form, and the formatting rules are strict in a way that catches almost everyone at least once:

  • Include the country code. 44 for the UK, 1 for the US and Canada, 91 for India, 92 for Pakistan, 971 for the UAE.
  • No plus sign. wa.me/+15551234567 fails. The plus belongs in a dialler, not a URL path.
  • No spaces, dashes, brackets or dots. Digits only.
  • Drop the national trunk prefix. A UK mobile written 07700 900123 becomes 447700900123. The leading zero is for domestic dialling and must go. This single rule accounts for most codes that open a chat with nobody.

You can generate the code with our URL QR code generator by pasting the finished link in. It runs in your browser, so the number is never sent to a server.

Writing the first message for them

https://wa.me/15551234567?text=Hi,%20I%27d%20like%20a%20quote

The text parameter pre-fills the message box. The person still has to press send, so nothing is transmitted without their say-so, but the blank-page hesitation disappears and you learn something about where the scan came from.

The text has to be URL encoded. Spaces become %20, an apostrophe becomes %27, an ampersand becomes %26. Get this wrong and the message silently truncates at the offending character, which looks fine when you test it with a one-word message and breaks the moment you write a real sentence.

This is quietly the most useful feature of the whole thing. Put a different prefilled message on each poster, table card or product insert, and your inbox tells you which one people are actually scanning. It is crude attribution, but it costs nothing and needs no analytics platform.

What it does on a desktop

A wa.me link opens WhatsApp Web or the desktop app if the person is signed in, and otherwise shows a page prompting them to install it. It degrades gracefully rather than erroring, which is more than can be said for most app deep links.

Worth knowing if you are putting the code in an email signature or a PDF invoice, where a meaningful share of readers are at a computer rather than holding a phone.

Personal number or Business account

The link format is identical for both. What differs is what happens after the message arrives.

WhatsApp Business adds away messages, greeting messages, quick replies and labels for sorting conversations. If the code is going anywhere public, it is worth the ten minutes to set up, mostly for the away message. A scan at 11pm that gets an immediate “thanks, we open at 9” is a customer retained; silence is a customer who tries the next shop.

Both are free. The Business app is a separate download and needs its own number, so decide before you print anything.

Testing it properly

  1. Scan with a phone that does not have your number saved. A saved contact masks a malformed number, because the chat opens on the name you already have.
  2. Check the chat header shows the number in the form you expect, not a stranger’s.
  3. Send the prefilled message and confirm it arrives complete, not cut off mid-sentence.
  4. Test the printed copy, not the screen. Ink spread and paper texture both affect readability.
  5. Try it on both an iPhone and an Android device if you can. Camera apps differ in how aggressively they offer to open links.

One genuine warning: a number that has never used WhatsApp produces a chat window that looks completely normal until you notice messages never show as delivered. Send yourself a test from an outside device before printing five hundred flyers.

What you are publishing

A click-to-chat code is a phone number in a costume. Anyone who scans it, or simply photographs it and decodes it with any reader, has your number in plain digits.

For a business line that is the entire point. For a personal number on a public poster it is worth a second thought, because the number cannot be recalled once it is on a wall, and WhatsApp numbers are tied to identity in a way an email address is not.

If you want the convenience without publishing your personal line, a second number on a cheap prepaid SIM, registered to WhatsApp Business, keeps the two separate permanently.

Join the discussion

Held for review before it appears. Links are not allowed and your email is never published.