Discord link formats

Each row shows the normal web link, the iPhone URL scheme and the Android form. Replace the capitalised placeholders with real values.

ContentWeb linkiPhone (URL scheme)Android
Server invitehttps://discord.gg/INVITE_CODEdiscord://invite/INVITE_CODEdiscord://invite/INVITE_CODE
Open the apphttps://discord.com/appdiscord://discord://
Note

Invite codes must be active. Create an invite that never expires if the link will live in a bio or a printed QR code.

Not an official API

Most apps do not officially document their URL schemes. The formats below are the ones DSLink uses in production today, but an app update can change them — test on a real device before hard-coding a scheme into your own app or site.

Using the scheme on a website

A URL scheme can go straight into a link. On iPhone, Safari asks the visitor to confirm before switching apps:

<a href="discord://invite/INVITE_CODE">Open in Discord</a>

Two limits apply everywhere. If the app is not installed, a bare scheme does nothing useful — iOS shows an error. And built-in browsers inside apps such as Instagram, TikTok or X often block or ignore custom schemes, which is exactly where most links are tapped.

A DSLink smart link wraps all of this in one short URL. On a phone it tries the right app format for the device, falls back to the Discord web page if the app is missing, and sends desktop visitors straight to the website. You share one link everywhere and get click statistics on top.

Frequently asked questions

What is the Discord URL scheme for an invite?

discord://invite/INVITE_CODE opens the invite in the Discord app, where the visitor is already signed in.

Why does a discord.gg link ask me to log in?

It opened in a browser, which has no Discord session. The discord:// scheme hands the invite to the app instead.

What happens if the Discord app is not installed?

A bare URL scheme fails: iOS shows an error and nothing opens. Always pair it with a web fallback — on Android with S.browser_fallback_url in the intent, or use a DSLink smart link, which falls back to the web page automatically.