Built on the official Meta WhatsApp Business API Official Meta WhatsApp Business API See plans

Create a WhatsApp chat link, QR code and website button

5 min read Updated 19 Nov 2026

This guide shows you how to make a WhatsApp chat link, a QR code and a "Chat on WhatsApp" button for your website, so customers can start a chat with you in one tap. You need a connected WhatsApp number first.

Customer scansPoster, pack or receipt
WhatsApp opensChat with your number
Message is readyAlready typed for them
Chat reaches youIn your shared inbox
How a customer reaches you. The link, the QR code and the website button all open the same chat. The customer taps Send, and the chat arrives in your inbox.

What you get on this screen#

Go to WhatsApp > Opt-in tools. At the top of the page you will find three tools. All of them are built in your browser from your number and a ready-typed message. Nothing is sent to anyone while you create them.

  • WhatsApp chat link and QR code: a link (it starts with https://wa.me/) that opens a chat with your number.
  • QR code: the same link as a picture that people scan with their phone camera. You can download it as a PNG.
  • Button for your website: a small piece of code that shows a green "Chat on WhatsApp" button.
Open Opt-in tools
Note

You need the WhatsApp permission on your role to see this page. If you do not see Opt-in tools under the WhatsApp menu, ask the account owner to check your role.

  1. Open the pageIn the left menu click WhatsApp, then Opt-in tools.
  2. Check your numberThe box Your WhatsApp number (with country code) is filled in from your connected number. If it is empty, type the number with the country code and digits only, for example 919876543210. Do not add a plus sign, spaces or dashes. If the number is not between 8 and 15 digits, you will see an error and no link is made.
  3. Write the first messageIn Message that is already typed for them, write what the customer will send, for example "Hi, I would like to know more about your services." You can use up to 300 characters. The customer can change it before sending. You can also leave it empty.
  4. Copy the linkYour link appears in Your link. Click Copy. The button shows "Copied" for a moment.
  5. Test itOpen the link on your phone. WhatsApp should open a chat with your business number and the message already typed.
yourdomain.com/client/optin-tools
Opt-in tools

WhatsApp chat link and QR code

Your WhatsApp number (with country code)
9198765432101
Message that is already typed for them
Hi, I would like to know more about your services.2
Your link
https://wa.me/919876543210?text=Hi...
Copy3

QR code

[ QR code ]
Download PNG4
The Opt-in tools page. The link and the QR code update as you change the number or the message.
  1. Your number with country code, digits only
  2. The message already typed for the customer
  3. Copy the link
  4. Download the QR code as a PNG
Tip

Use a different message for each place, for example "Hi, I saw your poster" for a poster and "Hi, I have a question about my order" for a receipt. Then you know where each chat came from.

Download and use the QR code#

  1. Find the QR codeOn the same page, the QR code card shows a code made from your link. It changes as you change the number or the message.
  2. Download itClick Download PNG. A file called whatsapp-qr.png is saved on your computer.
  3. Print and testPut it on posters, packaging, visiting cards or receipts. Before you print a large batch, scan it with your phone to be sure it opens your chat.

Add a chat button to your website#

  1. Copy the codeIn the Button for your website card, you will see a preview of the green Chat on WhatsApp button and the code below it. Click Copy code.
  2. Paste it into your pagePaste the code into the HTML of the page where you want the button, for example your contact page. Most website builders have an "HTML" or "custom code" block for this.
  3. Check the buttonOpen your page, click the button and make sure WhatsApp opens with your chat.
yourdomain.com/client/optin-tools

Button for your website

Chat on WhatsApp1
<a href="https://wa.me/919876543210...">Chat on WhatsApp</a>2
Copy code3
The website button card. Copy the code and paste it into the HTML of your page.
  1. Preview of the green button
  2. The code to paste
  3. Copy code

If you change the number or message later, copy the new code and replace the old one on your website. The old button keeps using the old number.

Common problems#

The link and QR code are empty

The number is missing or not valid. Enter it with the country code, digits only. The error text "Enter your number with the country code, digits only" disappears once it is correct.

The number box is empty when I open the page

The page fills it from your connected WhatsApp number. If you have not connected one yet, follow Connect your WhatsApp number with Meta, or type the number yourself.

The QR code does not show

The QR code needs the page to finish loading. Reload the page and check your internet connection.

Need help?#

Contact support on WhatsApp +91 99159 60958 or email info@whatsappmarketingagency.com, or visit the contact page.

Was this guide helpful?
Black Friday Sale – Get 20% OFF!
Latest offer

Black Friday Sale – Get 20% OFF!

Unlock smarter business communication this Black Friday! Enjoy 20% OFF on all WhatsApp Marketing Agency plans, including WhatsApp Business API, bulk messaging, AI chatbots, CRM integration and automation. Use coupon code BLACKFRIDAY20 at checkout. Limited-time offer: 27–30 November 2026.

Claim 20% OFF Now