You tap a link on a contact page and, instead of a web page loading, your phone opens its dialer with the number already in it. Or a WhatsApp chat opens with the first message already written. That is a deep link: a link that opens an app or an action instead of a page.

Contact pages, support docs and booking sites run on these links, and each format has its own encoding rules. One wrong character, a plus sign left in a phone number or a space left unencoded in a message, and the link fails quietly. This guide explains the five types built by the free Deep Link Generator on Ovatly, how the encoding underneath them works, and the honest limits of each type.

Contents

  • Quick answer
  • The five types of deep link
  • How the encoding works
  • How to build a deep link, step by step
  • Worked example: a WhatsApp click-to-chat link
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

A deep link is a link that opens an app or an action instead of a web page. The Deep Link Generator builds five kinds: tel: links that start a call, sms: links with a pre-written text, mailto: links with the subject and body filled in, WhatsApp click-to-chat links, and Google Maps search links. Each type encodes its data its own way, so the reliable route is to build them rather than type them: pick the type, fill in the fields, fix any validation message, and copy the finished link into your page.

Call links (tel:). A tel: link starts a phone call. It is the simplest of the five: the link carries a number, and tapping it hands that number to whatever the device uses for calls.

Text links (sms:). An sms: link opens the visitor's messaging app with a text already written. The generator builds these in the ?body= form, so the link carries both the number and the pre-written message.

Email links (mailto:). A mailto: link opens an email with the recipients, subject and body filled in. Several recipients can be separated with commas in the To field, and in Cc or Bcc. Email bodies use CRLF line breaks, as mail clients expect, which you will see encoded as %0D%0A in the finished link.

WhatsApp links. A click-to-chat link opens a WhatsApp conversation, with an optional message already typed. WhatsApp identifies an account by its full international number, so these links are the strictest of the five about how the number is written: digits and country code only, no plus sign and no leading zero.

Maps links. A maps search link opens a Google Maps search. An address or place name is best for businesses and landmarks; coordinates are best for exact spots that have no address.

How the encoding works

A deep link packs instructions into a single line of text, so anything that could be misread has to be encoded. Two transformations do most of the work.

First, phone numbers are reduced to digits with their country code. The number +1 (555) 010-2030 becomes 15550102030: the plus sign, spaces, brackets and dashes all disappear, because WhatsApp matches accounts by the full international number and a local-format number starting with 0 cannot be matched at all.

Second, text is percent-encoded so that spaces and punctuation survive the trip. The message "Hello there" becomes Hello%20there, with %20 standing in for the space. Email bodies get the same treatment for their line breaks, which appear as %0D%0A.

These rules are why hand-typed deep links break so often. Every type has slightly different rules, and the generator exists to apply them for you.

  1. Open the Deep Link Generator and pick the link type: phone call, text message, WhatsApp, email or maps.
  2. Fill in the fields for that type. Optional fields can be left blank.
  3. Read the generated link and fix any validation message. The messages explain exactly what is wrong, so read them rather than guessing.
  4. Copy the link into your page, or use Test the link to try it on this device before you publish it.

Suppose a support page needs a WhatsApp button. You pick the WhatsApp type and enter the number +1 (555) 010-2030 with the message "Hello there". The generator returns:

https://wa.me/15550102030?text=Hello%20there

Read it in two parts. The number has been reduced to digits with its country code, 15550102030, because that is the only form WhatsApp can match to an account. The message follows after ?text=, percent-encoded, so the space and any punctuation survive the trip to the visitor's phone. A visitor who taps the link lands in a chat with your number, with "Hello there" already typed.

Limitations and honest tradeoffs

Deep links depend on the visitor's device in ways ordinary web links do not, and three of those dependencies are worth knowing before you rely on them.

WhatsApp is strict about numbers. If you enter a number in local format, the generator rejects it and explains why, rather than producing a link that fails silently on the visitor's phone. That rejection is a feature: a broken chat link costs you the conversation.

Text messages vary by device. The generator builds sms: links in the ?body= form, but a few older Android handlers expect a different separator. If a pre-filled SMS body does not appear on a specific device, that device is the reason, not your link.

Call and text links hand over to the system. A tel: or sms: link opens whatever the device has registered for the job: a phone app, FaceTime, Skype, or nothing at all. They are designed mainly for mobile visitors, and on a desktop with no handler they simply do nothing, harmlessly.

Common mistakes

  • Writing a WhatsApp number the way you would dial it locally. A leading zero or a plus sign makes the number unmatchable. Use digits with the country code, for example 92 for Pakistan or 1 for the US and Canada.
  • Typing deep links by hand. Spaces and punctuation in messages and email bodies must be encoded, and one missed character breaks the link quietly.
  • Assuming a pre-filled SMS body always appears. Older Android handlers expect a different separator, so test on real devices.
  • Expecting a call link to work on every desktop. With no handler registered, a tel: link does nothing at all.

FAQs

Why does my WhatsApp link need a country code? A wa.me link identifies an account by its full international number. A local-format number starting with 0 cannot be matched to an account, so add the country code, for example 92 for Pakistan or 1 for the US and Canada.

Do tel: and sms: links work on desktop computers? They hand over to whatever the system has registered: a phone app, FaceTime, Skype, or nothing at all. They are designed mainly for mobile visitors, and on desktop they are harmless if no handler exists.

Can a mailto: link include several recipients? Yes. Separate the addresses with commas in the To field, and in Cc or Bcc if you use them. The generator validates each address and encodes them all.

Why did the pre-filled text not appear in my text message? The generator builds sms: links in the ?body= form. A few older Android handlers expect a different separator, so if a pre-filled SMS body does not appear on a specific device, that device is the reason.

For a maps link, should I use an address or coordinates? An address or place name is best for businesses and landmarks. Coordinates are best for exact spots that have no address.

Conclusion

A deep link is a small piece of engineering disguised as a link: it carries an action, a destination and a pre-written message, all encoded into one line. Get the encoding right and the visitor lands exactly where you intended, in the right app, with the first step already done. The Deep Link Generator applies each format's rules for you and refuses the numbers that would fail silently. When the action points back at your own website, the name visitors see matters just as much, and our guide to domain name mistakes that cost you traffic and trust covers the errors to avoid there. For more guides in this series, see our URL and Link Tools guides.