Universal Links vs deep links vs URI schemes: what's the difference?
Deep link is the general word; URI schemes, Universal Links and Android App Links are three ways to build one. What each is, how it behaves when the app is missing, who can claim it, where it breaks, and which to use for sharing, sign-in, ads and QR codes.
A deep link is any link that opens a specific screen inside an app. A URI scheme (myapp://product/42) and a Universal Link (https://example.com/product/42) are two ways to build one. The scheme is a name your app registers on the phone; the Universal Link is a normal web address that iOS hands to your app because your website says it may. Android's version of a Universal Link is called an App Link. For links that people share, use Universal Links and App Links, and keep a URI scheme for the few places that still need one.
The four terms
| Term | Example | Platform | What it is |
|---|---|---|---|
| Deep link | Any of the below | Both | The general idea: a link to a screen, not just to the app |
| URI scheme (custom scheme) | myapp://product/42 |
Both | A made-up scheme the app registers with the system |
| Universal Link | https://example.com/product/42 |
iOS, iPadOS | An https link the app is allowed to open, proven by a file on the domain |
| Android App Link | https://example.com/product/42 |
Android 6 and later | The same idea on Android, proven by assetlinks.json |
A fifth term appears next to these: a deferred deep link is a deep link that still works when the app isn't installed yet. The person installs the app and then lands on the screen the link pointed to. It isn't a link format; it's something a link service adds on top. See what deferred deep linking is.
So "Universal Links vs deep links" isn't a real contest. A Universal Link is a deep link. The useful comparison is between the three ways of building one.
URI schemes: the oldest way
Your app tells the system "I handle myapp://". On iOS that's a URL type in Info.plist; on Android it's an intent filter with android:scheme="myapp". When something opens a myapp:// URL, the system starts your app and passes the URL.
What's good about it
- Nothing to host. No domain, no file, no verification.
- It works from your own code, from another app's button and from a web page's button.
Where it breaks
- No app, no fallback. If the app isn't installed, the link has nowhere to go. Safari shows an error that the address is invalid, and other browsers do nothing or show an error page.
- Nobody owns a scheme. Any app can register
myapp://. Nothing proves that the app that opens is yours, which is why schemes are a poor choice for links that carry a sign-in token. - Many apps don't make it a link. Email clients, chat apps and social apps often show
myapp://…as plain text, or strip it. - Browsers ask first. Safari shows a prompt asking whether to open the page in your app before it leaves the browser.
Universal Links: an https link that iOS trusts
A Universal Link is an ordinary https URL on a domain you control. Two things tie the domain to the app:
- The app's Associated Domains entitlement lists the domain:
applinks:example.com. - The domain serves a file at
https://example.com/.well-known/apple-app-site-associationthat lists the app's ID and the paths it handles.
When someone taps a matching link, iOS opens the app directly, with no prompt and no browser in between. If the app isn't installed, the same link opens the web page. That fallback is the main advantage: one URL that works for everyone.
Because the file sits on your domain, only an app you name there can claim your links. No other app can take them.
Where it breaks
- A tap is required. Apple's technote on debugging Universal Links says entering the URL in a browser's address bar will never open the app. A script redirect without a tap stays in the browser too.
- Same-domain links stay in Safari. If a person is already reading
example.comin Safari and taps a link toexample.com, iOS keeps them in Safari. Links from another domain open the app. - Other browsers decide for themselves. Apple's technote says it's up to third-party browsers to support Universal Links. See Universal Links in Chrome on iOS.
- In-app browsers. Instagram, Facebook and similar apps open links in their own web view, which often keeps the person there. See why links open in the Instagram browser.
- The file has rules. HTTPS, HTTP 200, no redirect, and Apple fetches it through its own CDN, so changes aren't instant. The debugging checklist covers these.
Android App Links: the same idea on Android
An App Link is an https URL that Android opens in your app without asking. The proof has two halves here as well:
- An intent filter in the manifest with
android:autoVerify="true"and your host. - A file at
https://example.com/.well-known/assetlinks.jsonthat lists the app's package name and the SHA-256 fingerprint of its signing certificate.
Android's documentation says App Links work on Android 6 and later, on devices with Google services. When the app is installed, the system fetches the file and checks the fingerprint.
Without verification, an https intent filter is only a "web link". Since Android 12, Android's documentation says a web intent opens your app only if the app is approved for that domain; otherwise it goes to the default browser. Before Android 12, the person usually saw a chooser. More in Android App Links on Android 12 and later.
Android has one more format worth knowing. Chrome understands intent:// URLs, which name the package to open and can carry a fallback web address for when the app is missing. They only work in browsers that support them, so they suit a button on your own fallback page, not a link you share.
Side by side
| URI scheme | Universal Link | Android App Link | |
|---|---|---|---|
| Looks like | myapp://product/42 |
https://example.com/product/42 |
https://example.com/product/42 |
| Needs a domain and a hosted file | No | Yes, apple-app-site-association |
Yes, assetlinks.json |
| App not installed | Error or nothing | Opens the web page | Opens the web page |
| Can another app claim it? | Yes | No | No |
| Tappable in email and chat apps | Often not | Yes | Yes |
| Prompt before opening | Often | No | No |
| Opens from a pasted address-bar URL | Prompt in Safari | No | No |
| Set-up effort | Minutes | Entitlement and file | Intent filter, file and fingerprints |
Which one should you use?
Links you share (messages, email, social, SMS): Universal Links and App Links. One https URL covers iOS, Android and desktop, and it shows a web page when the app is missing.
QR codes and print: the same https link. A printed code can't be changed, so point it at a URL whose destination you can edit later. See one QR code for the app or the store.
Ads and install campaigns: an https link with deferred deep linking, because most people who tap don't have the app.
An "Open in app" button on your own page: an https link on a different host from the page first. A URI scheme or an intent:// URL is a reasonable second button, because the person has just tapped and a prompt is acceptable.
Sign-in redirects (OAuth, magic links): https links claimed by your app where the provider supports them, because nobody else can claim your domain. If you use a custom scheme, use it with PKCE and never put a long-lived token in the URL.
Navigation inside your own app (a push notification payload, a widget, a shortcut): a URI scheme or a plain path is fine. The link never leaves your code, so ownership and fallback don't matter.
Most apps end up with both: https links for everything public, and a scheme registered for internal use and as a fallback.
What neither format does on its own
- Take a new user to the right screen after install. A Universal Link or App Link to an app that isn't installed opens your website. Sending the person to the store and remembering the link through the install is deferred deep linking.
- Count clicks. The system opens the app directly, so nothing is recorded unless the app reports the open or the link passes through a server first.
- Fix in-app browsers. A fallback page with an open-in-app button is the usual answer.
How to check what you have
- The validator reads both association files for a domain and reports what Apple and Google will see.
- The deep link tester shows how a link opens from different apps.
- Commands for each case are in how to test deep links on Android and iOS.
- To write the two files, see apple-app-site-association and assetlinks.json set-up.
FAQ
Is a Universal Link a deep link?
Yes. Deep link is the general term for a link that opens a specific screen in an app. A Universal Link is Apple's https way of doing it, and an Android App Link is Google's.
Are URI schemes deprecated?
No. Both platforms still support them. Apple and Google recommend https links for links that leave your app, because a scheme has no fallback and can be claimed by another app.
Do I need both Universal Links and a URI scheme?
Usually yes. Use Universal Links and App Links for public links, and register a scheme for internal navigation, some sign-in flows and an open-in-app button on a fallback page.
What is the difference between Universal Links and App Links?
They do the same job on different platforms. Universal Links are for iOS and use the apple-app-site-association file and the Associated Domains entitlement. App Links are for Android and use assetlinks.json and an intent filter with autoVerify.
What happens when the app isn't installed?
A URI scheme fails. A Universal Link or App Link opens the web page at that address. To send the person to the store and then to the right screen, you need deferred deep linking.
One link for all of it
CodeOnAir AppLinks gives each link an https address on a link domain, hosts apple-app-site-association and assetlinks.json for that domain, opens the app when it's installed, and sends new users to the App Store or Google Play and then to the right screen. You can set a URI scheme as well for the cases that need it. How it works explains the flow, and you can create a free account: the Free plan includes 100 app links.
Checked on 16 November 2026 against Apple's Universal Links documentation and technote TN3155, and Android's App Links and Android 12 behaviour-change documentation.