On this page
What this generator does
This tool builds a WhatsApp click-to-chat link in the standard wa.me format from a country code and a phone number, optionally adds a pre-filled greeting, and draws a scannable QR code on a canvas so you can download it for a poster, a menu, a business card, a storefront, or a website. It also gives you a click-to-chat button, a copy button for the link, and a download button for the QR image. Everything happens inside your browser, and nothing is stored.
The wa.me format is the format WhatsApp itself publishes and supports. The link opens a chat with the specified number and, if a greeting is present, places it in the message box. The visitor reviews the greeting, edits it if they want to, and presses send. The link cannot send a message on its own, cannot read the visitor's contacts, and cannot access anyone's message history.
If the AI insight button is pressed, only an anonymous summary of the country code length, the number of digits in the phone field, whether a greeting was added, and the total character count of the final link is sent to a small serverless function that runs once and then stops. The phone number itself, the greeting text, and the resulting URL are never included in that request.
How the wa.me link works
The wa.me format has two parts. The first is the base URL, which is always https://wa.me/ followed by the full international phone number with the country code and without the plus sign or any formatting characters. The second part is optional: a question mark followed by text= and the URL-encoded greeting.
| Part | Example | Notes |
|---|---|---|
| Base URL | https://wa.me/ | Always the same |
| Full number | 233241234567 | Country code + local, no plus |
| Query separator | ? | Only when adding a greeting |
| Message parameter | text= | Lower case |
| Greeting | Hello%2C%20I%20would%20like%20to%20ask. | URL-encoded |
When a visitor opens the link, WhatsApp recognises the number and prepares a chat. If a greeting is present, it appears in the message box. On a phone with WhatsApp installed, the app opens directly. On a desktop, WhatsApp Web opens in a tab, and if the visitor has not signed in there before, the page shows a QR code they can scan with their phone to connect.
The link is safe to publish, and it is the standard way that small and medium businesses place a WhatsApp contact button on their website, on a business card, on a menu, or on a product page. The messaging policy that governs how a business may use WhatsApp for customer contact is set by WhatsApp and applies to the number itself, not to the link.
Formatting the phone number correctly
The single most common mistake in building a WhatsApp link is including the leading zero of a national number. In international format, the leading zero is a national trunk prefix and is replaced by the country code. For example, a Ghanaian local number written as 024 123 4567 becomes 233 24 123 4567. A Nigerian local number written as 0803 123 4567 becomes 234 803 123 4567. A Kenyan local number written as 0712 345 678 becomes 254 712 345 678.
Different countries use different lengths for their national significant number. Ghana uses 9 digits after the country code, Nigeria uses 10, Kenya uses 9, South Africa uses 9, the United Kingdom uses 10, and the United States uses 10. The generator strips spaces, brackets, and non-numeric characters from the phone field, but it does not know whether your number is the correct length for the selected country. Confirm the final link by opening it on a phone before you publish it.
A quick check. If a link opens a chat with a number that does not exist, or with the wrong contact, the most likely cause is a missing or extra digit, a retained leading zero, or a wrong country code. Test the final link on a real phone before printing a QR code or launching a campaign.
Writing a useful pre-filled greeting
A pre-filled greeting is a small convenience that tells the recipient why the visitor is contacting them. A shop might use Hello, I would like to ask about your opening hours. A service provider might use Hello, I would like a quote for your service. A support team might use Hello, I need help with my recent order. A campaign might use Hello, I saw your flyer and would like to reserve a place.
Keep the greeting short and easy to edit. A greeting that runs past two hundred characters becomes hard to read in the message box and may discourage the visitor from sending it. The greeting is a starting point, not a script; the visitor is free to change it, and many will. What matters is that the greeting identifies the reason for contact without imposing on the visitor or leaking any private information.
Treat anything you place in a public pre-filled link as public. Do not put passwords, one-time codes, payment card numbers, government ID numbers, medical details, or private client data into the greeting. If a visitor needs to share sensitive information, ask them to send it in the chat itself after the conversation begins.
Using a QR code for print and offline
The QR code contains the same URL as the link. A visitor scans it with a phone camera and the chat opens, without typing a number. QR codes work well on posters, storefront windows, restaurant menus, product packaging, event tickets, business cards, bus stops, and any printed surface where a link would be impractical to type.
Print the QR code with enough white space around the edges. The standard quiet zone is four modules wide, which is the equivalent of four small squares. Printing the code too close to other design elements, or on a dark background without a white border, can prevent some phone cameras from reading it. Use a black code on a white background where possible, keep the printed size large enough to scan from the intended distance, and test the printed version with a real phone camera before sending the design to print.
A caption such as Scan to chat on WhatsApp helps visitors understand what to expect. If your audience may not have WhatsApp or mobile data, provide another contact method beside the QR code, such as a phone number or an email address, so that nobody is left without a way to reach you.
Using the link in business and campaigns
The wa.me link fits naturally into a website contact button, a social profile bio, an email signature, a digital menu, an appointment page, a customer support message, or a printed flyer. Use a separate greeting for each campaign when you want to understand which channel visitors used, and keep a simple record of which greeting belongs to which campaign so the replies make sense at the business end.
For a public business number, decide in advance who monitors the replies, during what hours, and what information customers should not send. A direct link makes contact easier, but it does not replace a clear privacy notice or a safe process for payment and identity information. If a campaign is no longer active, remove or replace the link so that visitors do not receive an outdated response.
When you update the number, return to this page, change the field, and download a new QR code. Because nothing is stored on any server, the old code and the old link will continue to work as long as the old number is active on WhatsApp. Once the number is retired, replace every published copy of the code, whether printed or digital, to keep visitors from sending a message into a chat that no one will read.
Common mistakes
Keeping the leading zero. This is the most common error. A link with a leading zero after the country code will almost always fail, because the leading zero is not part of the international format. Drop it and enter the number without it.
Using an incorrect country code. Double-check the code for the country where the number is registered, not where the business operates. A number registered in Ghana but used for a business in Nigeria still needs the Ghanaian country code.
Publishing a private number without consent. A public link is a public phone number. Get permission from the owner before you place it on a website, a flyer, or a business card, and follow any policy that applies to your organisation.
Including sensitive information in the greeting. The greeting is public. Do not put anything in it that should not be read by anyone who scans the code. Keep it generic and safe.
Printing a QR code without a quiet zone. A QR code that touches other design elements or sits on a dark background without a white border may not scan reliably. Leave at least four modules of clear space around the code and use a black-on-white colour scheme.
Not testing the printed version. A QR code that scans on the computer screen can fail in print for reasons of contrast, size, or lighting. Test the printed version with a real phone under the conditions where it will be used.
Assuming the link sends a message automatically. The link opens the chat with the greeting in the message box. The visitor presses send. The link does not send anything on its own.
Forgetting to update old printed codes. If the number changes, the old code continues to point at the old number until the printed materials are replaced. Plan for updates when you design a printed campaign.
Where this tool stops
This generator builds a wa.me link and a QR code from the fields you fill in. It does not verify that the number is registered on WhatsApp, that it is reachable, that it belongs to the person or business you intend, or that a message sent to it will be received. It does not check the length of the number against the selected country, and it does not know whether the visitor will be shown WhatsApp Web or the phone app. Those checks belong to the person publishing the link and to the messaging policy that governs the destination number.
It also does not provide legal or business advice on messaging, privacy, or data protection. Decisions about who may be contacted, what information may be requested, and how messages are stored and answered depend on the business, the country, and the applicable regulations. The generator gives you a clean link and a clean QR code; the messaging and data handling practices behind the link belong to you.
What the tool does give you is a fast, transparent, private way to build a WhatsApp contact link and a printable QR code, preview the result, and download the QR image in one click. Used together with a real phone test before you publish, it is a practical starting point for any business that wants to be reachable on WhatsApp without saving the visitor the trouble of typing a number.
Sources
- WhatsApp. Click to Chat documentation.faq.whatsapp.com
- WhatsApp Business. Messaging policies and templates.business.whatsapp.com/policy
- ITU-T. Recommendation E.164 – The international public telecommunication numbering plan.itu.int
- ISO/IEC. 18004 – QR Code bar code symbology specification.iso.org
- IETF. RFC 3986 – Uniform Resource Identifier (URI): Generic Syntax.rfc-editor.org
- W3C. HTML Living Standard – The canvas element.html.spec.whatwg.org