โ† All posts

wa.me Link Format Explained (with +94 Examples)

๐Ÿ• 6 min readยทFor: Owners and web designers
whatsapphow-to

You'll learn: The exact wa.me link format, how country codes work, and the mistakes that break WhatsApp links.

The wa.me link format in one line

The wa.me link format is https://wa.me/<number>?text=<message>, where the number is the full international number with only digits (no +, spaces, dashes or leading zero) and the message is optional and URL-encoded. For the Sri Lankan mobile number 077 123 4567, the link is https://wa.me/94771234567.

That is the whole format. Almost every broken WhatsApp link comes from getting the number part slightly wrong, so most of this guide is about that.

A shop counter with a green chat icon stand, a customer scanning it with a phone
A shop counter with a green chat icon stand, a customer scanning it with a phone

The parts of a wa.me link

PartExampleWhat it does
https://wa.me/always the sameWhatsApp's short address for click-to-chat
Country code94Sri Lanka. India is 91, the UK is 44, the UAE is 971
Number771234567Your number without the leading 0
?text=optionalStarts the ready message
MessageHi%2C%20I'd%20like%20to%20orderThe words, encoded for a web link

Put together: https://wa.me/94771234567?text=Hi%2C%20I'd%20like%20to%20order

How to write the number correctly

WhatsApp's own help page says to use the full number in international format and to leave out any zeros, brackets or dashes. In practice:

  1. Start with the country code, without + or 00.
  2. Add your number without its leading 0.
  3. Remove every space, dash, bracket and dot.

Sri Lanka examples

You write it asIn the link
077 123 456794771234567
+94 77 123 456794771234567
0094 77 123 456794771234567
011 234 5678 (a landline on WhatsApp Business)94112345678

A Sri Lankan mobile number in a wa.me link is always 11 digits and starts with 947.

The six common mistakes

  1. Keeping the plus sign. WhatsApp's help page says to use digits only, so write wa.me/94771234567, not wa.me/+94771234567.
  2. Keeping the leading zero. wa.me/940771234567 has one digit too many. WhatsApp will say the number is not on WhatsApp.
  3. Forgetting the country code. wa.me/0771234567 or wa.me/771234567 points to a number in no country, or the wrong one.
  4. Spaces and dashes. wa.me/94 77 123 4567 can break the link at the first space, especially when it is pasted into a post or a QR generator.
  5. Unencoded message text. A message with &, # or ? typed straight into the link cuts the message short. Spaces become %20, a comma becomes %2C, and & becomes %26.
  6. Using a number that is not on WhatsApp. The link format is right, but the number has no account. Test the link before you print it.

Step by step: build a correct link with the free tool

The WhatsApp link maker handles all of the above for you.

  1. Open the tool and type your number in Phone number with country code. Type it any way you like: with +, with spaces, or as 00....
WhatsApp link maker with +94 77 123 4567 typed in the phone field
WhatsApp link maker with +94 77 123 4567 typed in the phone field
  1. The tool keeps only the digits. A leading 00 is dropped. A local number starting with 0 is treated as Sri Lankan and gets 94 in front, so 077 123 4567 becomes 94771234567.
  1. If you are outside Sri Lanka, always type your country code. A local number such as 098... from another country would otherwise be read as a Sri Lankan number.
  2. Add a message in Message (optional) if you want one. The tool encodes spaces and symbols for you.
  1. Press Test link, check WhatsApp opens the right chat, then press Copy.

wa.me vs api.whatsapp.com

You may also see links like https://api.whatsapp.com/send?phone=94771234567&text=Hi. This is an older form of the same click-to-chat link. Both open a chat. wa.me is shorter and easier to read, so it is the one to use.

A link with no number, https://wa.me/?text=Hello, opens WhatsApp and asks the person to pick a contact. That is useful for "share this with a friend" buttons, not for chatting with your business.

Turning the link into a QR code

A wa.me link is long and hard to type, which makes it a poor fit for print. Put it in a QR code instead:

  • Free and fixed: paste the link into the free QR generator.
  • Editable and counted: choose WhatsApp Chat in Scnr. The printed code holds a short Scnr link, so you can change the number or message later without reprinting.
WhatsApp Chat type on Create QR with the number and message fields
WhatsApp Chat type on Create QR with the number and message fields

Read WhatsApp QR code for your business for print sizes and placement.

Example: a web designer in Negombo

This is an example to show the idea, not a real customer.

Asanka builds websites for small hotels in Negombo. One client's "Chat on WhatsApp" button had stopped working, and bookings by chat had dropped. He found the link was wa.me/+94-77-123-4567, copied from the hotel's printed card. He rebuilt it with the link maker as wa.me/94771234567 with the message "Hi, I'd like to check availability for ___ nights from ___." The button worked again on every phone he tested.

Common questions

Q: Can I use a landline number?
A: Only if that number is registered on WhatsApp. WhatsApp Business can be set up on a landline. Format it the same way: country code, then the number without its leading zero.

Q: Does the link work on a computer?
A: Yes. It opens WhatsApp Web or the desktop app if the person uses them, or asks them to.

Q: How long can the message be?
A: Keep it to a sentence or two. Long messages make long links, and long links make crowded QR codes.

Q: Can I write the message in Sinhala or Tamil?
A: Yes. The tool encodes it. The link gets longer because each letter becomes several characters, which is another reason to use a QR code with a short link.

Next steps

Build a correct link in seconds with the free WhatsApp link maker, and read how to make a WhatsApp link with a pre-filled message for message ideas.

Ready to create?