On this page
- deep link vs universal link vs app link at a glance
- deeplink vs app link vs website: one address, three results
- how an iPhone decides to open the app
- how an Android phone decides
- universal links not working on iOS? check in this order
- app links not opening on Android
- why universal links may not open the app inside Instagram or TikTok
- smart links and deferred deep links
- which one should you use?
- related reading
App link vs deep link, in short: a deep link is any link that opens a set screen inside an app instead of its home screen or a website. An app link is Android's verified kind of deep link, and a universal link is the iPhone's. Both are ordinary https web addresses that open the app when it's installed and your website when it isn't.
The older kind of deep link swaps https for the app's own scheme name. There's no website behind it, so with no app installed the tap has nowhere to go. That's why Apple and Google now point developers to the verified kinds. This page covers how each phone decides, why universal links sometimes open Safari anyway, and what changes when the tap happens inside Instagram or TikTok.
deep link vs universal link vs app link at a glance
| Custom-scheme deep link | Universal link | App link | |
|---|---|---|---|
| Phones | iPhone and Android | iPhone | Android 6 and later, with Google services |
| What it looks like | the app's own scheme name, then a path | a normal https address on your site | a normal https address on your site |
| Who can claim it | any app can register the same scheme | only your app: a file on your site names it | only your app: a file on your site names it |
| App not installed | nothing to fall back to | your site opens in the default browser | your site opens |
| Where it's set up | the app's URL types | the Associated Domains entitlement and an apple-app-site-association file | an intent filter that asks to be verified, and an assetlinks.json file |
Apple calls custom schemes "an acceptable form of deep linking" but says "universal links are strongly recommended". If two apps register the same scheme, "the app the system targets is undefined" (Apple: Defining a custom URL scheme for your app). For universal links, Apple says that if the person hasn't installed your app, "the system opens the URL in their default web browser" (Apple: Allowing apps and websites to link to your content).
Google describes app links as "an enhanced deep linking capability" that opens your content "without requiring the user to select your app from a disambiguation dialog". Plain Android deep links work on every Android version but "are subject to the system disambiguation dialog", the chooser that asks which app should open the link (Android Developers: App Links). With app links, people without the app "go to your website instead — no 404s, no errors" (Android Developers: About App Links).
deeplink vs app link vs website: one address, three results
Here's the part that confuses people: a universal link or an app link is a website address. The same https address is a plain website link on a laptop, an app link on an Android phone with your app, and a universal link on an iPhone with your app. Nothing in the link changes. What changes is whether the phone has an app that your website vouches for.
Android 12 made the website side stricter. Since then, a web link opens in an app only if that app is approved for the domain. "If your app isn't approved for the domain, the web intent resolves to the user's default browser app instead" (Android 12 behavior changes). So an https deep link that was never verified now behaves like a website link.
how an iPhone decides to open the app
- At install. On iOS 14 and later, when someone installs your app, Apple's own CDN fetches your site's association file and the phone downloads it from there. Devices check for updates about once a week, and Apple's advice for getting a newer copy onto a device is to reinstall the app (Apple TN3155: Debugging universal links).
- On a tap. Tapping a universal link to a different domain opens your app. Tapping one to the same domain as the page you're on keeps you in Safari, "respecting the user's most likely intent to continue within the browser".
- Typed addresses. Entering the address in the browser's address bar "will never open the app".
- The person's choice. Long-pressing a universal link offers both your app and the browser. Whichever the person picks becomes the default on that device for links from that domain, until they long-press and choose again.
- Other browsers. "It is up to third-party web browsers to enable universal links functionality," Apple says. Safari supports all of it.
how an Android phone decides
- At install, Android fetches the Digital Asset Links file from
https://yourdomain/.well-known/assetlinks.jsonand checks that it names your app and its signing certificate (Android Developers: Verify Android App Links). - Verified links open your app with no chooser. Unverified ones go to the default browser on Android 12 and later, unless the person has approved the app for that domain.
- People can approve links by hand. Android's settings have a screen called Open by default with an option called Open supported links; turning it on shows Links to open in this app, where domains can be ticked or added with Add link. How you reach that screen varies by phone maker.
- Android 15 adds Dynamic App Links, which let you "refine your app's deep link behaviors on the fly" from your server, without releasing a new version of the app (Android Developers: App Links).
The file itself, field by field, is in the assetlinks.json file, explained.
universal links not working on iOS? check in this order
These checks follow Apple's own debugging note (TN3155, last revised 15 May 2025).
- Test in Notes, not Safari. Paste the link into a note and long-press it. If it's set up right, you're offered both your app and the browser. Only the browser? The setup is wrong; go to step 4.
- Undo an old choice. If someone once picked the browser, that sticks for the domain. Long-press again and choose the app.
- Check where the link sits. A link to the same domain as the current page stays in Safari. Apple's fix is a separate subdomain, with its own file, for links that should open the app (a login button, say).
- Fetch the file. It must be at
https://yourdomain/.well-known/apple-app-site-association. A 301 or 302 isn't supported for the file. A 403 or 404 means your site blocked the request: the file has to be reachable from any IP address, in every country, by any client. - Match the domains. A file at the root domain covers the root and a wildcard entry for subdomains. A specific subdomain such as www needs its own file at its own address. Domains in the entitlement can't include a port number.
- Check the format. Use
appIDswithcomponents, or the olderappIDwithpaths, but don't mix the two. - Verify on a Mac.
sudo swcutil dl -d yourdomainchecks the file downloads;sudo swcutil verifychecks a path matches. - Run the phone's own check. With Developer Mode on, go to Settings › Developer, turn on Associated Domains Development under Universal Links, then open Diagnostics and enter the full address.
- Changed the file recently? Apple's CDN caches it, and there's no way to clear that cache. While testing, Apple's developer mode for associated domains reads the file straight from your site.
app links not opening on Android
- See what Android recorded:
adb shell pm get-app-links PACKAGE_NAME.verifiedmeans it worked.nonemeans nothing is recorded yet: Google says to wait a few minutes and verify again.legacy_failuremeans an older verifier rejected it, for an unknown reason. - Run verification again:
adb shell pm verify-app-links --re-verify PACKAGE_NAME. - Check the file at
/.well-known/assetlinks.json: the package name and the certificate fingerprint must match the app that's installed. The assetlinks.json guide shows where to find both.
why universal links may not open the app inside Instagram or TikTok
When a fan taps a link inside Instagram, TikTok or a similar app, it opens in that app's own browser. Whether a universal link or app link leaves that browser for another app is up to the app hosting it, not the phone.
- On Android, a web view hands tapped links to the system by default, but an app that sets its own web view client decides each link itself and can keep it inside (Android Developers: Build web apps in WebView).
- On iPhone, Apple lists web views among the places universal links can open, but the app hosting one can accept or reject each navigation, and Apple's docs suggest using that "to restrict navigation from specific links" (Apple: WKNavigationDelegate).
- TikTok's help says it "no longer supports links that open or log you into other social media apps" on profiles, and limits how people browse "external link chains" in its in-app browser (TikTok Support: Adding a website link to your profile).
So a deep link that works from Messages can stop working the moment it's tapped from a bio. Fans can use the app's own menu to open the page in their browser (the wording varies by app), and then the phone decides again. What else breaks inside these browsers, from sign-ins to saved cards, is in why you're logged out after tapping a link in Instagram.
If you're a creator sending fans from a bio, this is the part linkboo handles. On Pro, linkboo's deeplinking moves fans from the app's browser to their own. In some apps that happens by itself; in others they press and hold one button first. Your linkboo page opens there, and fans tap the link they wanted. A Free page opened inside an app stays in that app's browser.
smart links and deferred deep links
Universal links and app links only help when the app is already installed. Getting someone to the right screen after they install from the store is called deferred deep linking, and neither platform's links do it on their own.
Firebase Dynamic Links used to. It shut down on 25 August 2025, and its links now return a 404 to anyone who taps them. Google's FAQ points to app links and universal links for installed apps, and to third-party providers for the rest (Firebase: Dynamic Links deprecation FAQ). On Android, an app can read "the referrer URL of the installed package" after install through Google Play's Install Referrer API (Android Developers: Play Install Referrer).
"Smart link" is a vendor term for a link that picks a destination per device. If you're weighing those vendors, see Branch.io alternatives for small businesses and AppsFlyer OneLink alternatives.
which one should you use?
- Links into your own app from the web, email or social: universal links and app links, on a domain you control. One https address does both jobs.
- App-to-app handoffs where you control both apps: a custom scheme still works, but Apple recommends universal links even there.
- No app of your own: you don't need any of this. You're linking to the big apps' own web addresses, which already work as universal links and app links. What is deep linking explains it without the jargon, and links that open Instagram, TikTok and 8 more apps lists the address to use for each.
related reading
- open in app from web: the patterns that work, with code
- how to check by hand whether a link opens the app
- the assetlinks.json file, explained
What is the difference between an app link and a deep link?
A deep link is any link that opens a set screen inside an app. An app link is Android's verified kind: an https address that your website proves belongs to your app, so it opens the app with no chooser and falls back to your website when the app isn't installed.
Are universal links and deep links the same thing?
A universal link is the iPhone's kind of deep link. It's a normal https address on your site that opens your app when it's installed and your website when it isn't. Older deep links use the app's own scheme name instead and have no website to fall back to.
Why are my universal links not working on iOS?
Paste the link in Notes and long-press it. If your app isn't offered, the setup is wrong: check the association file and the entitlement. If it is offered, the link was probably typed into Safari, on the same domain as the page, or tapped inside another app's browser.
Do universal links work on Android?
No. Universal links are Apple's. Android's version is the app link, set up with an assetlinks.json file on your site. One https address can be both.
Do universal links open the app from inside Instagram or TikTok?
That's up to the app that hosts the browser, and TikTok's help says it no longer supports profile links that open other social apps. Opening the page in the phone's own browser hands the decision back to the phone. The in-app browser guide explains what else changes.