Guide
Making a WhatsApp click-to-chat link, button and QR code
A WhatsApp click-to-chat link opens a conversation with your number, with a message already typed if you like. It is a good way to let customers contact a small business from a web page, an Instagram bio or a printed poster, because they do not need to save your number first. The link format is simple, but the number and the message must be written correctly. This generator builds the link and two ways to use it.
The link format
The address is https://wa.me/ followed by the phone number in international form with digits only, then, optionally, ?text= and the message. There are no spaces, plus signs or dashes in the number part. The tool reads the number as you would write it, for example +91 98765 43210, strips everything that is not a digit and uses the result. If the number is too short, or looks like a local number with no country code, it shows an error that mentions the country code.
The message
Type a message to appear in the chat box when the person opens the link. The tool encodes it so that spaces, punctuation and line breaks travel safely in a web address; a space becomes %20. Keep the message short and useful, such as the product and the question, because the visitor can edit it before sending. Leave it empty to open a blank chat.
The button
The second output is a small piece of HTML: a link styled as a green button, with the text you choose in the button text box, opening in a new tab with rel="noopener". Paste it into a web page or an email template that allows HTML. The style is written inline, so it needs no stylesheet, and you can change the colours and spacing in the code.
The QR code
The QR code encodes the same link, so a phone camera can open the chat from a poster, a shop window or a receipt. Download it as SVG for print, which stays sharp at any size, or as PNG for screens. Test the code with your own phone before printing a large run, and keep enough white space around it.
A worked example
The sample is a shop enquiry. The number +91 98765 43210 becomes 919876543210, and the message is “Hi! I saw your trail shoes and would like to know if size 9 is in stock.” The link is https://wa.me/919876543210?text=Hi!%20I%20saw%20your%20trail%20shoes%20and%20would%20like%20to%20know%20if%20size%209%20is%20in%20stock. The result shows the number used, +919876543210, and the QR code opens the same link. Entering the number 123 shows an error about the country code.
Limits
The tool cannot tell whether a number has a WhatsApp account, is active or belongs to a business. A link does not send anything; the person still has to press send. WhatsApp may change how links behave, and the apps differ slightly between phones and computers. Since the number is public once shared, do not put a private number in a link that you post widely.
Placing the link
A click-to-chat button works best near the product or the contact details, with words that say what happens, such as “Ask about sizes on WhatsApp”. Use a business number with a clear profile photo, answer promptly and state your opening hours. For print, add the QR code to flyers and packaging, and test it with several phones.
Related tools
- QR Code Generator makes codes for other kinds of content, with colours and logos.
- WhatsApp Text Formatter formats the message you plan to send.
- Telegram Link & Escape Tool builds the equivalent links for Telegram.
- Mailto Link Generator opens an email instead of a chat.
Checked against the current version of the WhatsApp Link & QR Generator on .

