Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Developer tools

Tel link generator

This tel link generator turns a phone number and its country calling code into a tel link. (201) 555-0123 with country code 1 becomes tel:+12015550123. The page also writes the HTML anchor and the Markdown link, and checks the digits against the limits of the standard.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Spaces, hyphens, dots and brackets are fine. Start with + if the number already has its country code.
1 to 3 digits, for example 1 or 44. Leave empty when the number starts with +.
Empty shows the number.
Tel link

tel:+12015550123for +1 201 555 0123

  • 11 digits
  • digits only
Number shown
+1 201 555 0123
Digits in all
11, with the country code
Country calling code
+1
HTML link
<a href="tel:+12015550123">Call the office</a>
Markdown link
[Call the office](tel:+12015550123)
The same number spelled both ways
StyleLink target
Digits onlytel:+12015550123
With hyphenstel:+1-201-555-0123

How to use the Tel Link Generator

  1. Type the Phone number the way you usually write it. Start with + if it already holds its country code.
  2. Fill in the Country calling code when the number has no plus, and choose whether to remove a leading 0.
  3. Add an Extension and the Link text if you want them, and pick the target style.
  4. Press Copy tel link, Copy html link or Copy markdown link and paste it into your page.

How do you make a tel link?

A tel link is an ordinary link whose address starts with tel: instead of https:. When someone taps it on a phone, the phone offers to call that number. The address holds the number in international form: a plus sign, the country calling code, then the rest of the digits, with no spaces. For the number above that is +12015550123.

In HTML the link is one line: <a href="tel:+12015550123">Call the office</a> written inside a page, with the link text between the tags. In Markdown it is [Call the office](tel:+12015550123). The generator builds both from the same address, escapes characters such as & and angle brackets in the link text, and leaves the link text as the number itself when you leave that box empty.

What does the tel standard allow?

The tel scheme is defined in RFC 3966. A number that works anywhere starts with a plus sign. Hyphens, dots and brackets may be used between the digits for readability, and spaces are not allowed. The RFC's own example is tel:+1-201-555-0123, which is the same number as the default here with its hyphens kept: tel:+1-201-555-0123. Choose the style that suits you in Link target style, since both name the same number.

An extension goes after the number as a parameter. With the extension 123 the address becomes tel:+12015550123;ext=123, and the link text shows ext. 123 after the number. The RFC allows only one of the extension and the ISDN subaddress in an address, and this page builds the extension only.

Three numbers, written two ways
Number as typedDigits onlyHyphens kept
(201) 555-0123 with country code 1tel:+12015550123tel:+1-201-555-0123
020 7946 0000 with 44, leading 0 removedtel:+442079460000tel:+44-20-7946-0000
+61 2 5550 0123tel:+61255500123tel:+61-2-5550-0123

Which country code and leading zero should I use?

The country calling code has 1 to 3 digits, for example 1 or 44. When the number you typed does not start with +, the generator adds the code from its own box. A UK landline written 020 7946 0000 with code 44 gives tel:+4402079460000 if the zero is kept, and tel:+442079460000 when the leading 0 is removed. Many national formats start with a 0 that people dial inside the country. If the international form of your number leaves it out, set the box to Remove it. A number written with (0) after the country code is not accepted, and the message asks you to remove it.

Numbers that start with + are taken as they are, so +61 2 5550 0123 gives tel:+61255500123 and the country code box must stay empty. Typing a number with no plus and no code is an error, because a tel link without a country code works only on one phone network.

How long can the number be?

International numbers have at most 15 digits including the country code, a limit set by the E.164 numbering plan. The generator counts the digits of 12015550123 as 11, shows that count under the result, and refuses a 16 digit number with a message. It also asks for at least 4 digits in all, which is a check of this page and not a rule of the standard. Letters from keypad words such as 1-800-FLOWERS are named in an error, because the address needs the digits behind them.

Pair a tel link with a printed code by using the QR code generator or the vCard QR code generator, which saves the whole contact. Characters that do not fit in a link can be handled with the URL encoder and decoder.

Use it with

Questions

What is a tel link?

It is a link that starts with tel: and holds a phone number, so a tap on a phone offers to call it. For +1 201 555 0123 it is tel:+12015550123.

Can a tel link contain spaces?

No. RFC 3966 allows hyphens, dots and brackets as separators but not spaces. The generator removes spaces, or turns them into hyphens when you choose Keep hyphens: tel:+1-201-555-0123.

How do I add an extension?

Type it in the Extension box. The address then ends with ;ext=123, as in tel:+12015550123;ext=123.

Why does my link need a country code?

The plus sign and country code make the number work from any phone network. Without them it only works on the network it was written for, so the generator asks for the code or a leading +.

How many digits can the number have?

At most 15 including the country code. A longer number gets a message. +1 201 555 0123 has 11.

Is the number I type sent anywhere?

No. The link is built by this page from the fields you fill in, and nothing leaves it.

The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.