WhatsApp link generator (wa.me) with message and QR code
Type a phone number and, if you like, an opening message: the tool builds a correctly formatted wa.me link and a QR code you can print on a menu, a business card or a shop window.
Your link
https://wa.me/5541998765432?text=Hi!%20I%20found%20you%20on%20your%20website%20and%20would%20like%20a%20quote.
Test link Copied!
How it is calculated
How a wa.me link works
WhatsApp accepts links in the form https://wa.me/<number>. Tapping one opens a chat with that number without saving it as a contact first. Add ?text= followed by a message and the typing box opens pre-filled — the person only has to tap send, and can edit the text first.
The number in international format
The link only works with the number in international format, digits only: country code, area code and number, with no +, spaces, brackets or dashes. Brazil's country code is 55, and Brazilian area codes are called DDD (two digits). The tool cleans the number for you:
- it strips everything that isn't a digit (spaces, brackets, dashes, the + sign);
- if the number starts with
00(the international dialling prefix), those two zeros are removed; - if what remains has 11 digits or fewer — the length of a Brazilian national number with DDD — and does not already start with the country code, it adds 55 in front.
So (41) 99876-5432, 41 99876-5432 and +55 41 99876-5432 all become 5541998765432. Type only the DDD and the number: a leading zero or carrier code before the DDD (as in 0xx41, a habit from Brazilian long-distance dialling) makes the number too long and is not removed automatically. Brazilian numbers are checked: after 55 there must be a two-digit DDD (no zeros) and an 8- or 9-digit number. For other countries, change the country code and enter the full number.
The encoded message
A URL cannot contain spaces or certain loose characters, so the message goes through URL encoding (the browser's encodeURIComponent function): a space becomes %20, é becomes %C3%A9, a line break becomes %0A. Accents and emojis work fine; WhatsApp decodes everything when the chat opens. Spaces at the start and end of the message are trimmed, and if the message ends up empty the link is produced without ?text=.
The QR code
The QR code is generated in your own browser from the final link — nothing is sent to our server or to third-party services. Scanning it with a phone camera opens the same chat as the link. The longer the message, the denser the pattern; for print, keep the message short and print the code at least 2–3 cm (about 1 inch) wide.
Where to use it
- Instagram, TikTok or other social media bios;
- e-mail signatures and your website's contact page;
- menus, business cards, window stickers and packaging (with the QR code);
- ads and campaigns, with a different message per channel so you know where each contact came from.
If you want a button pinned to the corner of your website, use the WhatsApp button generator for websites, which builds ready-to-paste code with this same link.
This tool is not affiliated with WhatsApp or Meta. WhatsApp is a trademark of WhatsApp LLC.
Worked example
A bakery in Curitiba uses the fictitious number +55 41 99876-5432 and wants customers to arrive already asking for a quote. In the number field you can simply type (41) 99876-5432: the tool strips the brackets, space and dash and adds 55, giving 5541998765432. The message is “Hi! I saw your website and would like a quote.”. After encoding, each space becomes %20 while the exclamation mark and full stop stay as they are. The final link is https://wa.me/5541998765432?text=Hi!%20I%20saw%20your%20website%20and%20would%20like%20a%20quote. — ready to copy, test on your phone and turn into a QR code for the counter.
Frequently asked questions
Does the other person need to save my number for the link to work?
No. That is the whole point of a wa.me link: tapping it opens the chat straight away, in the phone app or in WhatsApp Web on a computer, without adding a contact. Nothing changes on your side either — the message arrives like any other. If the person does not have WhatsApp installed, the wa.me page offers to download the app or use the web version.
Does it work with WhatsApp Business?
Yes. The link points to a phone number, not to a type of app, so it works the same for personal and WhatsApp Business accounts. The only condition is that the number is actually registered on WhatsApp. If it is not, whoever opens the link sees a notice saying the number is not on WhatsApp. Always test the link from another phone before publishing it.
Why does my link open the wrong number?
It is almost always the format. Check that the link starts with 55 followed by the DDD (two digits, no zero) and the 8- or 9-digit number, with nothing in between. If you typed a zero or a carrier code before the DDD, delete it and enter only DDD plus number. For numbers outside Brazil, set the right country code and enter the full number in international form.
Is the pre-filled message sent automatically?
No. The text appears in the typing box and the person decides whether to send, edit or delete it. Nothing goes out without their action. So it pays to write a short, polite message that helps you understand the request, such as “Hi! How much is a birthday cake?”. Very long messages can put people off and make the QR code harder to scan.
Can I use emojis and line breaks in the message?
Yes. URL encoding turns emojis, accented letters and line breaks into sequences such as %0A, and WhatsApp turns them back into normal text when the chat opens. The link gets longer and harder to read, but it works. Only spaces at the very start and end of the text are removed. If you plan to print the QR code, a simpler message gives a code that scans more easily.
Do you store the number or message I type?
No. The link and the QR code are built in your browser with JavaScript, and nothing you type is sent to our server. There is no sign-up and there are no cookies. Your number only leaves your device when you copy and publish the link yourself. See the privacy policy for details. Note that this site is not affiliated with WhatsApp or Meta.
Legal basis
Related simulators
Updated Nov 13, 2026 · by Juliana Costa