A wa.me link opens a WhatsApp chat with your number in one tap. Add a pre-filled message and the visitor sees the text already typed in, so they only have to press send. This guide shows how to build that link by hand, which mistakes can break it, and how to put it on your website as a button.
What a wa.me link is
A wa.me link is a normal web address that WhatsApp understands. When someone clicks it, it opens a WhatsApp chat with the number in the link. It works with a regular WhatsApp or WhatsApp Business app number, so you do not need a WhatsApp Business API account.
The basic format
The simplest link has only your number:
- https://wa.me/15551234567
The number must be in international format: country code first, then the number, with no plus sign, no spaces, no dashes and no leading zeros. If you enter the number the way you dial it locally, the link may not find your chat.
Examples of the number part
- Write the country code, then the local number without its leading zero.
- Remove brackets, dashes and spaces.
- Do not start with + or 00.
Adding a pre-filled message
To pre-fill text, add ?text= after the number, followed by your message:
- https://wa.me/15551234567?text=Hello
For a message with more than one word, you must encode it so it is safe inside a web address. The most important replacements are:
- A space becomes %20
- A new line becomes %0A
- A question mark becomes %3F
- An ampersand (&) becomes %26
- A comma becomes %2C
So the message "Hi, I have a question about your service" becomes:
- https://wa.me/15551234567?text=Hi%2C%20I%20have%20a%20question%20about%20your%20service
Step by step: build your own link
- Write the number in international format. Country code plus number, digits only.
- Write the message you want visitors to send. Keep it short and natural, as if the customer wrote it.
- Encode the message. Replace spaces with %20 and special characters with their codes. Any URL encoder will do this for you if you paste the text in.
- Join the parts. Put https://wa.me/ first, then the number, then ?text=, then the encoded message.
- Test it on your phone and on a computer. Click the link and check that the right chat opens and the text appears in the box.
Writing a good pre-filled message
The pre-filled text is the first thing a visitor sees in WhatsApp, so it should help both of you.
- Say where they came from. A line like "Hi, I found you on your website" tells you which channel the chat started from.
- Make it easy to continue. End with something the visitor can complete, such as "I would like to ask about…".
- Keep it short. A long pre-written message reads like a form.
- Use one language. Match the language of the page the button is on.
Common mistakes that break the link
- A plus sign or leading zero in the number. The link may then open the wrong chat or none at all.
- Spaces in the message. Encode them as %20 so the text is not cut off.
- An unencoded & or ?. These characters have a meaning inside web addresses and can end the message early.
- Typing the link into a field that rewrites it. Some website builders change characters in links, so always test the published page, not just the editor.
- Forgetting that the visitor can edit the text. The message is only a suggestion. They can change it before sending.
Using the link on your website
Once the link works, you can use it in several places:
- As a normal text link or a button in a page, with a label like "Chat with us on WhatsApp".
- In your email signature or social media bio.
- Behind a floating button that stays in the corner of every page.
The floating button is the most visible option, since visitors do not have to scroll to find it. The downside of a hand-made link is that it gives you no click count of its own, so you cannot tell whether anyone uses it.
Skip the manual work: a button with the link built in
If you want the link, the button and the click count without writing code or encoding text, WhatsApp Chat Button with Click Tracking ($9, PayPal subscription) does it for you. You enter your number, a pre-filled message, a label, a color, a size and the corner where the button should sit. You then get one line of code to paste into your site. It works on WordPress, Shopify, Wix, plain HTML or any site that allows a script tag.
The button opens a normal wa.me chat link to the number you entered, in international format, so a regular WhatsApp or WhatsApp Business app number is enough.
Seeing whether the link gets used
Knowing whether your button works is as useful as having one. With a hand-made link you are guessing. With a tracked button you can see:
- Total clicks on the button.
- A daily chart for the last 30 days.
- Your top pages, meaning the pages where visitors click most.
- Mobile versus desktop clicks.
- How many times the button was loaded, so you can see the click rate.
One limit to be aware of: the tool counts clicks and loads, but it cannot tell whether the visitor then sent a message, because that happens inside WhatsApp. A click means the visitor was interested enough to open the chat, not that a conversation started.
Which approach fits you?
- One link in a bio or signature: build it by hand with the steps above. It costs nothing and takes a few minutes.
- A floating button on a site, and you want to know if it works: use a tool that adds the button and counts the clicks.
- Several sites or clients: one subscription includes up to 3 buttons, each with its own number, message, style and statistics, managed from a single private dashboard.
A note on privacy
The tool records only the click event, the page address, the device type (mobile or desktop) and the time. It does not store visitor IP addresses or names. If your country requires it, mention the button and any tracking in your own privacy policy, as that responsibility stays with you.
Final checklist
- Number in international format, digits only.
- Message short, natural and encoded (%20 for spaces).
- Link tested on a phone and a computer.
- Published page checked, not only the editor preview.
- A way to count clicks, so you know the button is doing its job.
If you would rather not encode text and edit code yourself, you can create the button, set the pre-filled message and read your click statistics from the same dashboard with WhatsApp Chat Button with Click Tracking for $9. You can cancel any time from your PayPal account. Note that the button stops showing on your sites when the subscription ends.
Disclosure: some links on this site are affiliate links or our own products; we may earn money at no extra cost to you.
