The format
WhatsApp's own help page ("How to use click to chat") gives the pattern. In their words: use https://wa.me/<number> where the number is a full phone number in international format, and omit any zeroes, brackets or dashes. Their example of a link that works is https://wa.me/1XXXXXXXXXX; their example of one that does not is https://wa.me/+001-(XXX)XXXXXXX.
Adding a ready message
Add ?text= after the number and then the message, URL-encoded: https://wa.me/923001234567?text=Assalam%20o%20Alaikum. If you leave the number out, https://wa.me/?text=Hello opens WhatsApp's contact list so the person chooses who to send the message to. That is useful for "share on WhatsApp" buttons.
Writing a Pakistani number
- Start from the mobile number: 0300-1234567.
- Remove the dash and the leading 0: 3001234567.
- Put the country code 92 in front: 923001234567.
- Add it after
https://wa.me/:https://wa.me/923001234567.
Or let WaLink do it. More shapes are on the Pakistan number page.
URL-encoding the message
Characters that have a special meaning in a web address must be written as a percent sign and a code:
| Character | Written as |
|---|---|
| space | %20 |
| new line | %0A |
| ? | %3F |
| & | %26 |
| # | %23 |
| Urdu letters and emoji | UTF-8 bytes, each as %XX |
In JavaScript the function encodeURIComponent does this. WaLink uses it.
Mistakes that break links
- Leading zero:
wa.me/03001234567does not reach the right number. - Plus sign, spaces or dashes in the number.
- Unencoded message: a bare
&or#cuts the message there. - Using a landline that has no WhatsApp account.
- Using a link shortener: a shortener or QR service in the middle can expire, show ads, or be used for phishing, and WhatsApp links should always point to wa.me directly.
Why WaLink never shortens the link
A redirect adds a point of failure and a point of abuse. If a free redirect service disappears, every poster printed with its QR stops working. And services that redirect are a favourite tool for phishing, which gets whole domains flagged by security filters. WaLink's links and QR codes go straight to wa.me, so they last as long as WhatsApp does.
Frequently asked questions
What is the difference between wa.me and api.whatsapp.com/send?
Both open a chat. wa.me is the short form WhatsApp documents for click to chat, and it is the one WaLink produces.
Do I need to include the plus sign?
No. WhatsApp says to omit zeroes, brackets and dashes; the number is digits only, starting with the country code.
How long can the message be?
The link can carry a long message, but a QR code with a long message is dense and hard to scan. Keep printed messages short.
Sources
- WhatsApp Help Center: How to use click to chat: read 23 Nov 2026