Quick answer
A WhatsApp click-to-chat link is https://wa.me/ followed by the full phone number in international format, written as digits only. To fill in a message, add ?text= and the message, URL-encoded. WhatsApp's own instructions say to "omit any zeroes, brackets, or dashes" from the number (WhatsApp Help Center: How to use click to chat).
In FreeToolsKit's WhatsApp Link & Click-to-Chat Generator:
- Choose Chat with a number.
- In WhatsApp number with country code, type the number starting with
+or00and the country code. In most countries, leave out the local 0 that follows the country code. - Type your text in Prefilled message (optional).
- Press Generate WhatsApp link, check the Destination and Prefilled message rows, then press Copy link.
When someone opens the link, WhatsApp opens a chat with your number and puts the message in the message box. Nothing is sent until they press Send.
Most links that fail have one of three problems: a 0 left in after the country code, a missing country code, or a message pasted into the link without encoding.
The example used in this guide
The test used a fictional UK mobile number, +44 7700 900418. Use your own number in a real link.
The message has two lines and includes the characters that most often break links:
- Line 1: Hello! I'd like a table for 2 on Fri 4 Dec.
- Line 2: Order #12: fish & chips + peas, crème brûlée 👍
Together that's 90 characters: spaces, a line break, an apostrophe, #, &, +, three accented letters and an emoji. The number was typed in seven different ways, with the same message each time.
Write the number the way WhatsApp expects
WhatsApp's help page on international numbers says to start with a plus sign, then the country code and the full number, and to "remove any leading 0s or special calling codes" (WhatsApp Help Center: How to add an international phone number).
Here's what the tool produced for each way of typing the number:
07700 900418(local format): refused. The error read "Start with + or 00 and the country code, for example +44 7700 900123. Local numbers aren't accepted, because the country can't be guessed."+44 7700 900418: the link startshttps://wa.me/447700900418.0044 7700 900418: the same link.+44 7700-900-418: the same link. Spaces, dashes, dots and brackets are removed.+44 07700 900418: the link keeps the 0, aswa.me/4407700900418. A note appeared: "Check the number: it has a 0 right after the country code +44. WhatsApp usually needs that local 0 left out, so the link may not reach this number. The link uses the digits exactly as you typed them." Typing+4407700900418with no spaces gave the same note, and an Italian landline such as+39 06 6982 1234gave none.+44 (0)7700 900418: the same link with the 0, and the same note.+4407700900418(no spaces): the same link with the 0, but no note.
So the tool never removes a 0 for you. Its code shows the note only when a space, dot or dash sits between the country code and the 0, so a number typed without spaces gets no warning. Check the Destination row after every run. For a UK mobile it should read +447700900418, not +4407700900418.
The tool can't remove the 0 automatically because the rule isn't universal. Google's libphonenumber project gives Italy as the exception: an Italian number is dialled from abroad "including the leading zero". It also notes that a (0) written after the country code means that digit "should be discarded when dialing internationally" (libphonenumber: Falsehoods programmers believe about phone numbers).
+ or 00? Both gave the same link here. However, 00 is only a common international prefix, and it "varies by country" (same libphonenumber page). If your country uses a different prefix, type + instead.
What the message looks like inside the link
With +44 7700 900418, the tool produced a 198-character link. Under the message box, the counter read "90 / 1,500 characters · about 166 link characters for the message". After the number, the link continues ?text=Hello!%20I'd%20like….
Each special character became a percent code:
- Space:
%20 - Line break:
%0A #,&and+:%23,%26and%2B- Comma and colon:
%2Cand%3A - è, û and é:
%C3%A8,%C3%BBand%C3%A9, two bytes each - 👍:
%F0%9F%91%8D, four bytes !and': left as they are
This is the encodeURIComponent rule. It encodes every character except letters, digits and - _ . ! ~ * ' ( ), using the character's UTF-8 bytes (MDN: encodeURIComponent()). The tool's code encodes the message exactly once, and only the message, never the whole link.
Round-trip check. The text part of the link was decoded with Python's urllib.parse. It matched the original message exactly: all 90 characters, including the line break, the accents and the emoji. The +44, 0044 and dashed versions produced identical links.
What happens without encoding. For comparison, line 2 was pasted into a link as plain text. Python read the message as just "Order ". In a URL, a # ends the query part (RFC 3986, section 3.4), so everything after it was dropped. In a second hand-made link, peas + chips & crème brûlée, the + was read as a space and the & started a new parameter. The message came out as "peas" and "chips" with extra spaces, and "crème brûlée" was lost.
Share a message without a number
Choose Share a message when you don't want to fix a recipient, for example for a "send this to a friend" button. The field becomes Message to share, and it's required. With the box empty, the tool showed "Enter the message to share. Share links need a message, because there's no recipient."
The test message was "Café Nova: 2-for-1 desserts on Fri 4 Dec & Sat 5 Dec 🎉 #NovaNights" (a fictional café). It gave a 134-character link that starts https://wa.me/?text=Caf%C3%A9. The Destination row read "No fixed recipient — the visitor chooses a contact". Python decoded it back to the original exactly. WhatsApp says that after opening such a link, "you'll be shown a list of contacts you can send your message to" (WhatsApp Help Center: How to use click to chat).
The tool also shows a caution: "On some phones, opening WhatsApp from a browser may not carry over the prefilled message." In that case, use Copy message and paste the text into a chat.
What WhatsApp's web redirect did with the links
This is a test of WhatsApp's web redirect only, not the app. Each generated link was sent a HEAD request with curl, which fetches the response headers but doesn't open a chat. Every link was redirected to api.whatsapp.com/send/.
- Number: passed on unchanged. The link with the extra 0 passed on 4407700900418 without any error, so the redirect doesn't catch a wrong number either.
- Text: the line break,
#,&,+and the accented letters were all kept. - Emoji: 👍 and 🎉 came back as the Unicode replacement character (U+FFFD), which displays as �.
Whether the WhatsApp app shows the emoji correctly wasn't tested. Before you print or publish a link that contains an emoji, open it on a phone with WhatsApp installed.
Why WhatsApp links fail: a checklist
- The number isn't on WhatsApp. The tool checks only that the number looks like an international number (8 to 15 digits, starting with a country code). It can't tell whether the number has a WhatsApp account.
- A 0 is left in after the country code. Remove it, unless your country keeps it, as Italy does.
- The country code is missing. A local number is ambiguous, so the tool refuses it.
- The link was built by hand with a
+, brackets or dashes. WhatsApp's own "don't use" example is a number written as+001-(XXX)XXXXXXX(WhatsApp Help Center: How to use click to chat). - The message wasn't encoded. A raw
#,&or+cuts or changes the text, as the test above showed. - You copied an old link. In the test, editing the message after generating made the previous link disappear, and the result panel asked for a new one. Press Generate WhatsApp link again after any change.
- The message is very long. WhatsApp's click-to-chat help page gives no length limit for the message. The tool allows 1,500 characters of message and 4,000 characters of finished link; those limits are its own choice. Meta's limit of "up to 140 characters" applies to its own WhatsApp Business QR codes and short links (Meta for Developers: QR codes and short links). For a printed QR code, a short message keeps the code less dense.
Privacy and scam safety
Your number is visible in the link. The tool says so under every result: "Anyone who has the link can see the number and the message in it." Use a business or dedicated number for links you publish, and keep private details out of the message. For businesses, Meta's own short links work differently: they replace the number and message with "a random code", which "masks the phone number" (Meta page above).
Read a prefilled message before you send it. A link can fill in any text, so if someone sends you a click-to-chat link, check what the message says and who it goes to before pressing Send. Be wary of messages that push you to open another link: the UK's National Cyber Security Centre says "the purpose of a scam text message is often to get you to click a link" (NCSC: Report a scam text message). In WhatsApp, you can block unwanted contacts and report messages (WhatsApp: Security features and tips).
If you run a business, a chat the visitor starts isn't permission for later marketing. WhatsApp's policy says you may contact people only if they've given you their number and "opt-in permission" (WhatsApp Business Messaging Policy).
Before you publish the link
- Destination: the row shows
+, the country code and the number, with no stray 0 after the country code (unless your country keeps it). - Message: the Prefilled message row reads exactly as you wrote it, line breaks included.
- Fresh link: you pressed Generate WhatsApp link after your last edit.
- Phone test: you opened the link on a phone with WhatsApp installed and checked the chat and the message, especially any emoji. Don't press Send unless you mean to.
- Computer test: if the link goes on a website, you also opened it on a computer.
To check any encoded link by hand, paste it into the URL Encoder & Decoder. To print the link, turn it into a code with the QR Code Generator.

