By Arkay · Updated
How do you use the WhatsApp link generator?
Use this tool to build your link. The message is the only optional input. Enter the country calling code and the WhatsApp phone number first, then follow these steps.
- Enter the country calling code, such as 1 for the US or the UK code, forty-four. It starts the link.
- Enter the WhatsApp phone number. Spaces and dashes are removed, so they do not break the link.
- Optionally, type a pre-filled message. The tool encodes it, so spaces and punctuation are safe.
- Read the warning, if one appears. It means the number does not look like a full international number, so check the country code and digits.
Next, collect the outputs from the tool.
- Copy the wa.me link, which has the form https://wa.me/<number>?text=<message>. The copy button puts it on your clipboard.
- Download the QR code as a PNG or an SVG file. It encodes the same link as step 5.
- Copy the HTML for the floating chat button, if you want one, and paste it where the button should appear on your website.
Each output does one job. The link is what you share in a message, an email or a listing. The QR code is for print and screens. The HTML is for a website.
How does the WhatsApp link generator work?

The tool reduces the number to digits in international format, percent-encodes the message and joins the two into one link. The link is built as https://wa.me/<digits>?text=<message>, and the QR code is drawn from that same link.
Each part follows a rule. The country code comes first, with no plus sign, no leading zero and no spaces. The message is URL-encoded, so each space becomes %20, and other characters are written as a percent sign and two hexadecimal digits.
Here is a worked example. Take the US number typed as +1 (XXX) XXX-XXXX and the message 'I saw your menu online'. The plus sign, brackets, dashes and spaces are removed, which leaves 1XXXXXXXXXX. Each space in the message becomes %20. The result is:
https://wa.me/1XXXXXXXXXX?text=I%20saw%20your%20menu%20online
The QR code is drawn in your browser from that link. Nothing is sent to our servers.
What is a click-to-chat link and what is the wa.me format?
A click-to-chat link opens a WhatsApp chat with a phone number without saving that number as a contact. It works on the phone app and on WhatsApp Web. WhatsApp's Help Center article on click to chat describes three forms, shown below.
| Form | Format | What the person who opens it gets |
|---|---|---|
| Chat with a number | https://wa.me/<number> | A chat with that number opens |
| Chat with a message | https://wa.me/<number>?text=<message> | A chat opens with the message filled in |
| Message only | https://wa.me/?text=<message> | They pick a contact to send the message to |
A link starts a chat only when the number has an active WhatsApp account. WhatsApp's own example of a link with a message is https://wa.me/1XXXXXXXXXX?text=I'm%20interested%20in%20your%20car%20for%20sale, where each %20 stands for one space.
Here is a message-only example. Suppose you want a reader to pass a short note to a contact of their choice. Write the note as 'I saw your menu online', then encode its spaces: https://wa.me/?text=I%20saw%20your%20menu%20online. When the reader opens that link, WhatsApp shows a list of contacts, and the reader picks one to send the message to. Use this form when the reader should choose the recipient. Use the number form when the chat must go to one known number.
How do you write the phone number in a wa.me link?
Write the full phone number in international format: the country code first, then the rest of the digits, with nothing else. WhatsApp's help page says to omit any zeroes, brackets or dashes when you write the number this way.
| Written as | Verdict | WhatsApp's example |
|---|---|---|
| Country code and digits only | Use | https://wa.me/1XXXXXXXXXX |
| Plus sign, 00 prefix, dash and brackets | Do not use | https://wa.me/+001-(XXX)XXXXXXX |
Two worked examples show the rule. For a US number, the country code 1 comes first and the ten digits follow, so the link is https://wa.me/1XXXXXXXXXX.
For a UK mobile number, the national form is 07XXX XXXXXX, with a trunk 0 at the start. WhatsApp says to omit any zeroes, so the UK trunk 0 is dropped. Enter the UK code, forty-four, as the country code and 7XXX XXXXXX as the number. The tool puts forty-four in front of 7XXX XXXXXX, with no plus sign and no spaces, to build the link.
The tool shows a warning when the number does not look like a full international number. Treat that warning as a prompt to check the country code first.
How do you write a good pre-filled message?
Keep the message short and specific, so the customer only has to press send. Say what it is about, such as the product, the page or the ad it came from. A message like 'Hi, I would like to book a table for two on Friday' tells the business what the customer wants before the first reply.
A longer message makes a longer link, and a longer link makes a denser QR code. Shorter is easier to scan.
The generator encodes the message for you. The encoding rule comes from the URI standard (RFC on URI syntax). It says a percent-encoded character is written as a percent sign followed by two hexadecimal digits that give the character's value. That is why a space becomes %20.
Test the message before you publish it. Open the finished link on a phone and on WhatsApp Web, and check that the chat opens with the right number and the text you wrote. Click to chat works on both the phone app and WhatsApp Web, so test on each.
Where can you use your WhatsApp link?

Paste the link anywhere a link works, such as an Instagram bio, an email signature or a website button. Google Business Profile has its own rules, so it gets its own steps below.
Google lets a business add a WhatsApp or text messaging option to its Business Profile. Only claimed and verified profiles can add one. Google also says chat options are available only in select regions and might not be available for a given profile, so the option may not appear for every profile.
To add your link, Google's help page on chat options gives these steps:
- Choose Edit profile, then Contact.
- Next to Chat, select Edit.
- Choose WhatsApp in the Chat drop-down.
- Paste your WhatsApp click-to-chat URL in the URL field.
- Click Save.
If you add both a WhatsApp option and a text message option, only the text message option is shown to customers. Several profiles can use the same WhatsApp link.
For a website, paste the HTML from this tool where the floating chat button should appear. For an email signature, add the wa.me link as a line of text or as a linked word, such as 'Message us on WhatsApp'. Keep that line short, so the signature stays clean, and send yourself a test email to check the link before you add it to every message you send.
For an Instagram bio, keep the text short and use the plain chat link, with no message, so the reader sees a clear invitation to chat. Write the call to action in your own words, such as 'Chat with us on WhatsApp.'
How do you print a WhatsApp QR code that scans?
Print the code as large as the space allows. Keep a clear margin four modules wide on every side, where nothing is printed. Then test-scan the printed copy with more than one phone before you print in bulk.
DENSO WAVE, the developer of the QR code, recommends printing it as large as possible within the available printing area. The same guidance notes that each scanner has its own minimum readable module size, so one test phone is not a full test.
The margin is called the quiet zone. The QR code guidance says a QR code requires a four-module wide margin at all sides of the symbol.
Use the SVG file for print. An SVG is a vector drawing, so it can be enlarged to the size you need without the edges blurring. The PNG is a fixed-size picture, so use it for screens and small copies.
Do you need the WhatsApp Business app or the API?
No. A click-to-chat link works for any number with an active WhatsApp account, so the link itself does not need the Business app or the API. The Business app and the Business Platform are separate products, and each is described below.
This comparison is a compilation of published information, not a test. We compiled it on November 19, 2026, from WhatsApp's Help Center article on click to chat and from WhatsApp Business's product and pricing pages.
| Option | What WhatsApp says | Cost as published |
|---|---|---|
| WhatsApp with a wa.me link | Click to chat works for any number with an active WhatsApp account | No cost is stated on the click-to-chat page |
| WhatsApp Business app | Built with the small business owner in mind, to earn trust, showcase products, respond with ease and attract new customers | The product page does not state a price |
| WhatsApp Business Platform (API) | Enterprise-level APIs, connected directly or through a partner's embedded signup with little or no code | Charged per delivered message; rates vary by market and category |
The Business app is built with the small business owner in mind. WhatsApp lists features such as earning trust, showcasing products and building relationships. Its product page does not state a price, so this post does not give one.
The Business Platform offers enterprise-level APIs. You can connect it directly, with your own number and developers, or through a partner's embedded signup. The partner handles the technical setup, and little or no code is required.
The Business Platform is where message charges apply. WhatsApp Business's pricing page says the Business Platform charges per message delivered, not per message sent. Rates depend on the recipient's market and the message category, and volume tiers lower the rate. Service messages, and utility messages sent in reply to users, are not charged.
The same pricing page also says that when a customer messages you from a click-to-WhatsApp ad or a Facebook Page button, your messages are not charged for the following 72 hours. Rates vary by market, and this post does not quote a rate for any country. Check the published rate card for each market you message before you plan costs.
Why is my WhatsApp link or QR code not working?
Most failures come from the number or the message. Check these common errors first:
- A plus sign, a 00 prefix or a leading zero in the number. WhatsApp's help page says to omit zeroes, brackets and dashes.
- Spaces, brackets or dashes left in the number.
- A number with no active WhatsApp account. The link starts a chat only for an active account.
- A message that is not encoded. If you build a link by hand, write each space as %20.
A QR code encodes one link. If the link is wrong, the code is wrong too, so fix the link and make a new code. If the printed code still does not scan, print it larger, keep the four-module margin on every side, and test with more than one phone.
More guides in WhatsApp Business.
Frequently asked questions
- How do I generate my own WhatsApp link?
- Write your full number in international format with digits only, such as 1XXXXXXXXXX for a US number, and add it to https://wa.me/. To include a message, add ?text= and the URL-encoded message. The WhatsApp link generator does both steps and also makes a QR code.
- Where do I find the click to chat URL?
- WhatsApp does not hand you one; you build it. The format from WhatsApp's Help Center is https://wa.me/<number>, with the number in full international format and no plus sign, zeroes, brackets or dashes.
- Why is my WhatsApp QR code not working?
- The QR code holds a link, so first check that link: digits only, a country code with no plus sign or leading zero, and a number with an active WhatsApp account. Then print it larger, keep a clear margin four modules wide on every side, and test with more than one phone.
- Is a wa.me link safe, and what does it reveal?
- A wa.me link shows the phone number in plain digits, so anyone who sees the link or scans the QR code can read the number. Share the link only where you are willing to share that number.
- Can I create a WhatsApp link with a username instead of a number?
- The format WhatsApp documents uses a full phone number. The WhatsApp help pages we could open do not describe username links, so this post does not cover them.
Sources
- A WhatsApp click-to-chat link uses https://wa.me/<number>, where <number> is a full phone (faq.whatsapp.com)
- In URLs, a character is percent-encoded as a triplet: the % sign followed by two hexadecim (www.rfc-editor.org)
- To add WhatsApp to a Google Business Profile: Edit profile, then Contact; next to Chat sel (support.google.com)
- DENSO WAVE, the QR code's developer, recommends printing QR codes as large as possible wit (www.qrcode.com)
- A QR code needs a clear margin (quiet zone) four modules wide on all sides, where nothing (www.qrcode.com)
- On the Business Platform, service messages and utility messages sent in reply to users are (whatsappbusiness.com)