Home › Guides › tel: and sms: links in HTML: syntax, extensions and iPhone vs Android differences

tel: and sms: links in HTML: syntax, extensions and iPhone vs Android differences

tel: and sms: links turn a phone number into a one-tap action. They are simple, but they have compatibility details worth knowing.

Published on October 6, 2026 · By the QLinky team

Call link

<a href="tel:+13051234567">Call (305) 123-4567</a>

Extensions and pauses

To dial an extension after the switchboard answers, add one comma for each pause of about two seconds and then the extension:

<a href="tel:+525512345678,,123">Call sales (ext. 123)</a>

The standard also defines the ;ext=123 form, but commas are what works best in phone dialers.

Link to send an SMS

<a href="sms:+13051234567?&body=Hi%2C%20I%27d%20like%20some%20information">Send SMS</a>

The historical difference between systems is in how the number is separated from the message:

SystemTraditional formForm compatible with both
Androidsms:+52…?body=Holasms:+52…?&body=Hola
iPhonesms:+52…&body=Holasms:+52…?&body=Hola

The ?&body= combination is the one QLinky uses because it works on both. Even so, test the link on both systems if you can: the behavior also depends on the messaging app installed.

What happens on a computer

A tel: link on a computer opens whichever application is registered for calls: FaceTime on a Mac, or video calling and phone-link programs on Windows. If there is none, nothing happens. The same goes for sms:.

That is why it's a good idea to always show the number as text, and not just an icon.

Good practices

Try it now

Generate your link for free, with no sign-up and without your data leaving the browser.

Click-to-call link generator (tel:)SMS link generator with message

Other guides

See all guides →