Discord Mention Generator
Discord mentions use special formats like <@USER_ID>, <@&ROLE_ID> and <#CHANNEL_ID>. If you have the IDs, this tool builds the correct mention code for you.
- Free, no limits
- No login
- Runs in your browser
Enter an ID to build a mention code.
About this tool
Mentions are special codes that ping users, roles and channels. User mentions look like <@ID>, role mentions like <@&ID>, channel mentions like <#ID>.
This tool builds the correct mention code from any ID.
How to use
Enter an ID.
Pick the mention type (user, role or channel).
Copy the mention code and paste it anywhere Discord renders markdown.
The four mention formats
A user mention is `<@USER_ID>`, a role mention is `<@&ROLE_ID>`, a channel link is `<#CHANNEL_ID>` and a custom emoji is `<:name:EMOJI_ID>` or `<a:name:EMOJI_ID>` when animated. The client replaces each with a rendered pill at display time; the underlying text is always the raw form.
The ampersand in the role form is the part people forget. `<@123>` and `<@&123>` are different mentions - the first tries to resolve a user with that ID and renders as a broken `@unknown-user` if none exists.
An older user-mention variant, `<@!ID>`, indicated a nickname. Discord accepts it for compatibility but no longer produces it, and both forms render identically. There is no reason to write it in new content.
Mentions in embeds do not notify
A mention in a normal message pings. The same mention inside an embed description renders as a pill but sends no notification at all, because Discord deliberately suppresses embed mentions to stop bots from pinging through rich content.
This surprises people building announcement bots: the embed looks right and the mention is highlighted, yet nobody is notified. The fix is to put the mention in the message content alongside the embed, where it will ping normally.
Bots can also control pinging explicitly with the `allowed_mentions` field, which lets a message contain `@everyone` as visible text while notifying nobody. That is the safe default for any bot that echoes user input.
Mentions in bots and webhooks
When a bot or webhook sends a mention, it needs the raw mention code. This tool produces exactly the format Discord's API expects.
Frequently asked questions
When do mentions actually ping someone?
User mentions always ping. Role mentions ping everyone with the role. Channel mentions jump to that channel.
Related guides
Browse all guides and generators.
Try other relevant tools
Discord Permission Calculator
Tick permissions and get the exact bitfield integer for your bot invite.
Discord Invite Builder
Build an OAuth2 invite link for your bot or app in one click.
Discord Role Name Generator
Generate creative role names for your Discord server, from fun to formal.