How to Create a WhatsApp Click-to-Chat Link With a Message

How wa.me links work, how to format the phone number correctly, add a pre-filled message, and put the link on your website, social profiles or a QR code.

Updated September 29, 2026 5 min read

Use the free WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message and QR code

If customers contact your business on WhatsApp, asking them to save your number first is a small but real barrier. A click-to-chat link removes it: one tap opens a chat with you, sometimes with a message already typed, without adding you as a contact. Shops use them on product pages, tutors put them in social bios, and restaurants print them as QR codes on tables.

This guide explains how WhatsApp links are built, the phone number format they need, how pre-filled messages are encoded, and where to use them. The format described is WhatsApp's documented click-to-chat feature as of 2025; check WhatsApp's Help Center if anything has changed.

WhatsApp's click-to-chat links follow this pattern:

https://wa.me/<number>?text=<message>
  • Number: the full international number with country code, and nothing else. No plus sign, no spaces, no brackets, no dashes, and no leading zero from the national format.
  • Text (optional): the message to pre-fill, URL-encoded so spaces and punctuation survive.

For example, a UK mobile written locally as 07700 900123 becomes 447700900123: country code 44, then the number without its leading 0. A US number (555) 123-4567 becomes 15551234567.

A pre-filled message "Hi, I'd like a quote" becomes Hi%2C%20I'd%20like%20a%20quote after encoding. The person can edit or delete it before sending; nothing is sent automatically.

https://wa.me/?text=<message> opens WhatsApp and lets the user choose any contact to send your text to. It is useful for "share this with a friend" buttons.

Common number mistakes

Written as Problem Correct in the link
+44 7700 900123 Plus sign and spaces 447700900123
07700 900123 Missing country code, has national 0 447700900123
0044 7700 900123 International prefix 00 447700900123
(555) 123-4567 Missing country code 1, has punctuation 15551234567

Some countries keep a digit after the country code that looks like a trunk prefix, and a few have unusual rules. If a link opens WhatsApp but says the number is not on WhatsApp, the number format is the first thing to check.

The WhatsApp Link Generator formats the number for you and builds the link, an HTML button and a QR code in your browser.

  1. Open the WhatsApp Link Generator.
  2. Pick a Country code from the list.
  3. Type the Phone number however you normally write it. Brackets, spaces and a national leading 0 are cleaned up. If you type a number starting with + or 00, it overrides the country picker.
  4. Check the line under the field, which shows the international format used in the link, or warns if the number looks too short or too long.
  5. Optionally write a Pre-filled message. Emoji and line breaks are kept.
  6. Copy Your WhatsApp link, or click Test to open it.
  7. Copy the HTML button code for a website, or click Download QR (PNG) for print.

To create a share link instead, turn on Share message without a number, then write the message.

WhatsApp Business app. The Business app can generate a short link for your business profile, with an optional default message, and a QR code. If you only need one link for your own business number, that is a good option. A generator helps when you need links for several numbers, different messages per page, or HTML code.

Writing the link by hand. Once you know the format, you can type it. The tricky part is URL-encoding the message; the URL Encoder handles that, and the guide to URL encoding explains why it is needed.

api.whatsapp.com links. Older guides use https://api.whatsapp.com/send?phone=...&text=.... These still generally work, but wa.me is the shorter form WhatsApp documents for click-to-chat.

  • Instagram, TikTok and other bios: paste it in the link field, or into a link-in-bio page.
  • Website contact sections: use the HTML button. On desktop, the link opens WhatsApp Web or the desktop app.
  • Email signatures: a short "Chat on WhatsApp" link next to your phone number.
  • Print: menus, flyers, shop windows and packaging via a QR code. Test it at the size you will print. For other kinds of codes, such as a website link or contact card, the QR Code Generator covers them.
  • Ads and campaigns: different pre-filled messages per campaign ("Hi, I saw your spring offer") help you see which source a chat came from.

Tips and troubleshooting

"The phone number shared via URL is invalid"

The number is in the wrong format or is not registered on WhatsApp. Check the country code, remove the national leading 0, and remove any symbols.

The message is cut off or garbled

The text must be URL-encoded. Characters like & and # break an unencoded link. The generator encodes it for you.

It opens the wrong app on desktop

wa.me links open WhatsApp Web or the desktop app, depending on what the visitor has. There is nothing to configure on your side.

Privacy considerations

A click-to-chat link publishes your number. Use a business number rather than a personal one where possible.

Telegram too

If you also run a Telegram channel or bot, the Telegram Link Generator builds the equivalent t.me links.

Frequently asked questions

Use https://wa.me/ followed by your full international number without plus, spaces or dashes, for example https://wa.me/15551234567.

Yes. Add ?text= and the URL-encoded message. The recipient can edit it before sending.

No. Click-to-chat opens a conversation without adding you as a contact.

Yes. On desktop it opens WhatsApp Web or the WhatsApp desktop app.

Usually the country code is missing, the national leading 0 is still there, or the number contains symbols. It can also mean the number is not registered on WhatsApp.

Try it now: WhatsApp Link Generator

Loading tool…