Skip to main content
A custom URL scheme is a link format unique to your app, such as youruniquestring.https://example.com/path. When a user taps one of these links on a device that has your app installed, the link opens the page in your app instead of a web browser. Custom URL schemes are most useful for:
  • Authentication redirects, such as returning users to your app after they sign in with a third-party provider.
  • Advanced in-app navigation, such as linking from another app or a QR code directly to a page in your app.
Installed apps onlyCustom URL schemes only work on iOS and Android devices with your app installed. They don’t work in desktop browsers. We recommend this option for experienced developers.
Use deep links for public linksFor links that you share publicly, such as in emails, text messages, or on your website, use deep linking (Universal Links and App Links) instead. Those links open your website in a browser when the app isn’t installed, while a custom scheme link does nothing.

How it works

1

Choose a unique scheme

Pick a scheme that no other app uses, for example youruniquestring. Standard links start with http:// or https://, and your custom scheme replaces that prefix.
2

Build your links

Add your scheme and a dot in front of the full URL of the page you want to open:
3

The user taps the link

If your app is installed, the device opens your app and loads https://example.com/path inside it.
Use only lowercase letters in your schemeUppercase letters and numbers can cause links to behave differently on iOS and Android.

Use your AI agent

Use the Median MCP with your AI agent to set your app's custom URL scheme. See Median MCP server to set it up.

Examples

With youruniquestring as your scheme:

Learn more

These platform guides explain how custom URL schemes work on each operating system:
Last modified on December 1, 2026