Skip to content
StylQR home
QR Code Tutorials

How to Create a QR Code for WhatsApp

Make a WhatsApp QR code that opens a chat with your number and an optional pre-filled message. Free, no app, works on Android and iPhone, never expires.

By StylQR Editorial TeamPublished 5 min read

StylQR blog cover: How to Create a QR Code for WhatsApp, illustrated with the WhatsApp icon with a chat bubble, a phone and people on a orange background
Table of contents

A WhatsApp QR code holds a wa.me link with your phone number in international format. When someone scans it, WhatsApp opens a chat with you, optionally with a message already typed in, and they tap Send. They don't need to save your number first, and you can make the code free in under a minute.

Below: the exact number format that works, how to write a useful pre-filled message, the other WhatsApp links you can turn into codes, and what to do when a code opens the wrong chat or none at all.

What the code contains

A WhatsApp chat code is a plain web link in this format:

https://wa.me/447700900123
https://wa.me/919876543210?text=Hi%2C%20I'd%20like%20to%20book%20a%20table

The digits after wa.me/ are the full phone number in international format: country code first, then the number, with no plus sign, spaces, dashes, brackets or leading zero. The optional text parameter holds the message, URL-encoded so spaces become %20.

Because it's an ordinary link, any phone camera can read it. On an iPhone, Apple's steps are to point the Camera app at the code and tap the link that appears; Android phones work the same way through the camera or Google Lens. If WhatsApp is installed, the chat opens in the app.

Make a WhatsApp QR code step by step

  1. Open the WhatsApp QR code generator.
  2. In WhatsApp Number, enter your number with the country code and without + or spaces. For example, 447700900123 for a UK mobile or 919876543210 for an Indian mobile. StylQR strips any spaces, dashes or plus signs you paste, but it can't add a missing country code.
  3. In Prefilled Message, type the opening line you'd like to receive, or leave it blank.
  4. Check the preview, then style it: pick a frame such as "Chat with us" and add the WhatsApp logo or your own. Error correction switches to High when a logo is added.
  5. Click Test scan, then scan the preview with your phone. Confirm the chat opens with your own business name or number at the top.
  6. Download PNG for your website or social posts, or SVG or the print-ready PDF for signs, stickers and packaging.

Getting the number right

Almost every broken WhatsApp code comes down to the number. The rules:

CountryYou'd dial locallyPut in the code
India98765 43210919876543210
United Kingdom07700 900123447700900123
United States(201) 555-012312015550123
UAE050 123 4567971501234567

The pattern is the same everywhere: write the country code, then drop the leading 0 that you'd dial domestically. Don't add 00 in front of the country code either.

If you run WhatsApp Business on a landline, use that number in the same format.

Writing a pre-filled message that helps

The pre-filled message is the most useful part of the code for a business, because it tells you where the person found you and what they want before you've said a word. A few patterns that work:

  • On a product label: Hi, I have a question about the Model X kettle.
  • On a shop window: Hi, are you open today?
  • On a flyer for a specific offer: Hi, I'd like the weekend offer from your flyer.
  • On a delivery bag: Hi, I'd like to reorder.

Keep it short. Every character makes the pattern denser, so a two-line message makes a code that needs printing larger. Leave out personal details; the sender should add those themselves.

Different messages also let you tell placements apart. StylQR codes are static and don't count scans, but if the flyer code says "from your flyer" and the window code says "from your window", your chat history shows which one is working.

Tip: The message is a suggestion, not something sent for the customer. They see it in the text box and can edit or delete it before tapping Send.

The WhatsApp type is for one-to-one chats. For other destinations, copy the link from WhatsApp and use the URL QR code generator:

  • Group invite: in the group's info screen, look for the invite via link option and copy the chat.whatsapp.com link. Only group admins can do this.
  • Channel: open the channel's info and copy its share link.
  • Catalog or product: WhatsApp Business lets you share links to your catalog or individual items.

WhatsApp's app can also show a QR code for your own account, usually from the QR icon in Settings. That works for quick in-person swaps, but you can't add a pre-filled message, a frame or your logo. A wa.me code is the better choice for anything printed.

When the code doesn't work

  • WhatsApp says the phone number is invalid. The number is missing its country code, has a leading zero, or isn't registered on WhatsApp. Re-enter it in the format above.
  • It opens a web page instead of the app. WhatsApp isn't installed on that phone, or the link was opened in an in-app browser. WhatsApp's web page lets them continue to the chat from there.
  • It opens a chat with the wrong person. The number has a typo. A static code can't be edited, so make a new one and replace the old print.
  • The message looks garbled. This can happen when a link is typed by hand without encoding. StylQR encodes the message for you, including emoji and non-Latin scripts.

If the code won't scan at all, why a QR code isn't scanning covers size, contrast and margins.

Where to put it

WhatsApp codes work anywhere people would otherwise need to type your number: shop counters, delivery bags, product inserts, vehicle signage, and business cards. For a small business already taking payments by QR, pairing the two works well. See QR codes for small business for placement ideas and business card QR codes if you're adding one to a card. If you'd prefer a regular text message rather than WhatsApp, an SMS QR code works on every phone without an app.

Ready to make yours

Enter your number with its country code in the WhatsApp QR code generator, add a short opening message, and test the chat from a second phone before you print.

Frequently asked questions

Does a WhatsApp QR code work on iPhone?

Yes. The code holds a wa.me link, which the iPhone Camera app recognizes. Tapping it opens the chat in WhatsApp if the app is installed.

Can I make a WhatsApp QR code for a group?

Yes. Copy the group's invite link from the group info screen in WhatsApp and put it in a URL QR code. Anyone who scans it can ask to join, so reset the link if it ends up somewhere you didn't intend.

Does the person scanning see my phone number?

Yes. The number is part of the link, and it appears in the chat they open. Use a business number if you don't want to share a personal one.

Can the QR code send a message automatically?

No. The pre-filled message only appears in the text box. The person can edit it and has to tap Send themselves.

Share this guide

StylQR blog cover: How to Add a QR Code to Your Business Card, illustrated with a business card with an address book, a briefcase and a QR code on a sea green background

QR Code Tutorials

How to Add a QR Code to Your Business Card

Add a QR code to your business card that saves your contact in one scan or opens your profile. What to encode, size, placement, labels and print mistakes.

· 6 min read

StylQR blog cover: How to Create a QR Code for a Google Form, illustrated with a form with a checklist, a group of people and a Google icon on a indigo background

QR Code Tutorials

How to Create a QR Code for a Google Form

Turn a Google Form into a QR code people can scan to fill it in: get the right responder link, shorten it, generate the code free and avoid sign-in snags.

· 5 min read