Click-to-call link generator
Build tel: and sms: links that dial or open a message with the text ready.
International format. The plus is kept — unlike WhatsApp links, tel: wants it.
Test it
Fill the form to build a link.
Link
Before you ship this
- Note: Enter the number to dial.
How to use it
- Choose call or text message.
- Enter the number in international format, starting with the country code.
- For an sms link, add the text the message should open with.
- Copy the link into an href, and show the number as text too.
Keep the plus
tel: links want full international format with the leading +, which tells the dialler the next digits are a country code. A number without it only works for callers already in that country.
This is the opposite of a WhatsApp link, which wants digits only. Two link types, two rules, and swapping them silently breaks both.
The sms body is genuinely unreliable
The separator before body has differed between iOS and Android for years. ?body= is the specified form and works on current versions of both, which is what this emits.
Older devices and third-party messaging apps are another matter, so design the page to still make sense if the text never arrives.
Always show the number
On a desktop the link may do nothing, and a visitor who cannot see the digits cannot write them down.
Linking the visible number solves both: it dials on a phone and reads as a number everywhere else.
Write the number in international form
A tel: link with a local number works only for a caller already in that country. Write it in E.164 — a plus, the country code, then the number with no spaces, brackets or dashes — and it dials correctly from anywhere.
On desktop the link opens whatever handler is registered, which may be nothing at all, so never make a phone number the only way to reach you. Show it as text beside the link.
Click-to-call link generator FAQ
What format should a tel: link use?
International, starting with +, with no spaces or punctuation: tel:+442079460000. Unlike a WhatsApp link, the plus is kept — it tells the dialler the country code follows.
Can an SMS link pre-fill the message?
Mostly. The spec says ?body=, which current iOS and Android both accept, but older iOS wanted &body= and some messaging apps drop it entirely. Test on both platforms before relying on it.
What happens to a tel: link on a desktop?
It opens whichever application has registered the handler — Skype, Teams, FaceTime — or nothing at all. That is why the number should always be visible as text as well as linked.
Should I use a tel: link or a WhatsApp link?
Both, where both make sense. A tel: link is universal and needs nothing installed; a WhatsApp link reaches people who will message but not phone, which in much of the world is most of them. The one mistake is offering only the channel your team prefers.
How do I track clicks on a phone link?
Attach an analytics event to the click — in GA4 a click event with the number as a parameter is enough to count intent. It tells you that someone tapped, not that a call connected. For that you need call tracking with a dedicated number, which is a different tool and a real cost.
Do tel: links work in email?
In mobile email clients, almost always. Desktop Outlook is the unreliable one: depending on version and configuration it may strip the link or hand it to an application that is not installed. Always print the number as readable text beside it.
Can I include an extension?
The standard way is to append ;ext=123 to the number, and most modern diallers handle it. The older trick of adding commas as pauses still works on many phones but behaves differently across them. Where the extension matters, say it in the visible text too.
Should the visible text match the link exactly?
It should match the number, not the format. Link to the international form with no spaces, and show the number the way a local reader expects to see it — 020 7946 0000 rather than +442079460000. The link is for the dialler; the text is for the person.
Is a phone link accessible?
Yes, if it is labelled. A link whose text is the number itself reads perfectly; a link whose text is Call us or an unlabelled telephone icon leaves a screen reader user with no idea what will be dialled. Put the number in the link text or in an aria-label.
Do I need the country code for a purely local audience?
Yes. A number without it depends on the dialler guessing the country from the SIM, which fails for anyone travelling, for anyone with a foreign SIM, and for most desktop handlers. The plus and the country code cost nothing and remove the entire class of failure.