Leadmetrics
Free tool, no sign-up

WhatsApp link generator

Build a click-to-chat link that opens WhatsApp with your number and a message ready to send.

With the country code. Spaces, dashes and brackets are stripped for you.

The visitor can edit it before sending. Keep it short.

Test it

Fill the form to build a link.

Click-to-chat link

Before you ship this

  • Note: Enter the number the chat should open with.

How to use it

  1. Enter the number with its country code. Spaces and brackets are stripped for you.
  2. Drop the leading 0 — it is a national prefix and breaks the link.
  3. Write the message the chat should open with, if any.
  4. Test the link from a phone before publishing it.

The number is the whole problem

wa.me takes digits only: country code first, no plus, no spaces, and crucially no trunk zero. The 0 at the front of a British or German number is a domestic dialling prefix and is not part of the international number.

Get it wrong and the link opens WhatsApp with an invalid-number error, or an empty chat, depending on the platform. Nothing tells you which digit was the problem.

The message is a suggestion

The pre-filled text lands in the compose box, not in a sent message. The visitor reads it, edits it, or clears it.

That makes short, specific text work best — a question they would have asked anyway, not a paragraph they have to delete.

Test it on a phone

Desktop WhatsApp, WhatsApp Web and the mobile app all handle these links slightly differently, and a link that works in one can do nothing in another.

One test from a real phone before publishing is worth more than any amount of checking the URL by eye.

The number format is the usual failure

A wa.me link needs the full international number with no plus sign, spaces, dashes or leading zeros. A national format silently opens a chat with nobody, or with the wrong person, rather than returning an error.

The pre-filled message is a convenience, not a guarantee: it lands in the input box where the sender can edit or delete it before sending. Never rely on its exact text to route or identify an enquiry.

WhatsApp link generator FAQ

Why is my WhatsApp link not working?

Almost always the number. It must be in full international form with no plus, no spaces and no leading zero: 447700900123, not 07700 900123. If the number has no WhatsApp account, the link also fails, and it fails silently.

Can I pre-fill a message in a WhatsApp link?

Yes, with the text parameter. The visitor sees it in the compose box and can edit or delete it before sending, so treat it as a starting point rather than something you control.

Is wa.me better than api.whatsapp.com?

wa.me is the short official form and behaves the same. The api.whatsapp.com URL is the older one and still works. Neither needs the WhatsApp Business API.

Does the link work on a desktop?

Yes. It opens WhatsApp Web or the desktop application if the visitor has one linked to their phone, and falls back to a page prompting them to install it. The experience is less smooth than on mobile, which is one reason to show the number as text as well.

Can I link to a group chat?

Not with this form. Group invites are a different link, generated inside WhatsApp from the group settings, and anyone holding it can join — so publishing one on a web page is a decision about who you are inviting, not just a formatting question.

How do I track clicks?

Attach an analytics event to the link. That tells you someone opened WhatsApp, not that a conversation happened, because everything after the tap is inside an app you cannot see. The WhatsApp Business platform is where conversation-level reporting lives.

Can I turn the link into a QR code?

Yes, encode the same URL. It is the standard way to bridge print, packaging or a shop window into a chat, and it avoids the whole problem of someone typing a number incorrectly.

Do I need a WhatsApp Business account?

No, the link works with any account. A Business profile is worth having anyway for the opening hours, the catalogue and the automatic replies, and it costs nothing — a personal number answering business enquiries is the arrangement that stops working first.

Does a pre-filled message count as marketing?

No, because the customer sends it. That distinction matters: a conversation the customer starts opens a window in which you can reply freely, where a business-initiated message requires an approved template. A click-to-chat link is the cheapest way to stay on the right side of that line.

What happens if the visitor has no WhatsApp?

They land on a page inviting them to install it, which is a dead end for anyone who was not going to. Always offer a second route — a phone number, an email address, a form — rather than making WhatsApp the only way to reach you.