The first time I needed a discord id for a bot setup, I spent five minutes clicking around before finding it. Once you know where the copy id option is, it takes about three seconds. Here is every method to get any discord id — user id, server id, channel id, message id, role ID, and emoji ID — on desktop and mobile.
What Is a Discord ID?
A discord id is a unique number Discord assigns permanently to every account, server, channel, message, and role. It is a snowflake id — 17 digits to 20 digits long — that is permanent and never changes even if you change your username or display name.
Discord IDs are used for bot settings and automate workflows, server management and moderation tools, reporting problems to Discord support, and identifying specific users or objects in legal process requests.
Is a Discord ID just a number? Yes — it is a 17 digits to 20 digits snowflake id that is permanent and unique identifier for that object. A Discord ID and a user id are the same thing.
Step 1 — Enable Developer Mode
To access the copy id option on most platforms you must first enable developer mode. This is a free toggle that takes ten seconds.
Desktop:
- Click the settings gear icon in the bottom left
- Scroll to app settings → Advanced
- Toggle developer mode on
- Press Escape to close
Mobile:
- Tap your profile picture in the bottom bar (bottom right on iOS)
- Tap the settings gear icon in the top right
- Scroll down and tap Advanced
- Toggle developer mode on
Once developer mode is active, right click on desktop or long press on mobile reveals the copy id option on users, servers, channels, messages, and roles. Leave it on permanently — it has no downside and you will use it constantly.
Method 1 — Right Click Any Profile (Desktop)
This is the fastest desktop method for any user id:
- Find the user in a server member list, chat messages, or direct messages
- Right click their profile picture or username
- Select copy user id from the dropdown menu
That is it. The unique number is now on your clipboard ready to copy paste anywhere.
Method 2 — Through the User Profile (Desktop and Mobile)
- Click or tap the user's profile picture to open their profile view
- Tap the three dots in the upper corner of their profile
- Select copy user id from the dropdown menu
This profile view method works the same on desktop and mobile and is the most reliable way when right click is not available.
Method 3 — From a Direct Message (Mobile)
- Open any direct messages conversation with the user
- Long press on any message they sent
- Tap copy user id from the menu
Mobile tip: Do not long press the profile picture next to a message — that opens the edit message menu, not the user options. Instead tap their name in the DM header at the top to open their profile, then use the three dots to access copy user id.
Method 4 — From the Server Member List (Mobile)
- Open the server member list (tap the people icon top right)
- Tap and hold on the user's name
- Tap the three dots that appear
- Select copy user id
This is the cleanest mobile method when you are already in a server.
Method 5 — Get Your Own User ID
Desktop:
- Right click your own username or profile picture in any channel
- Select copy user id from the dropdown menu
Mobile:
- Tap your profile picture in the bottom bar
- Open your profile view
- Tap the three dots beneath your username
- Select copy user id
Method 6 — The @Mention Method (No Profile Needed)
This works even if offline and is the fastest method when you have the user's username:
- Type
@followed by their username in any channel chat box - Right click the blue @mention method that appears in your message (desktop) or long press it (mobile)
- Select copy id
This gives you the user id without opening their profile view at all.
How to Get Every Other Type of Discord ID
Server ID: Right click the server icon in the left sidebar on desktop → copy server id. On mobile, long press the server name → copy server id.
Channel ID: Right click the channel name in the channel list → copy channel id. On mobile, long press the channel name → copy channel id.
Message ID: Right click any message → Copy Message ID. On mobile, long press the message → three dots → Copy Message ID.
Role ID: Go to Server Settings → Roles → right click the role → copy id.
Emoji ID:
For emoji id: type a backslash \ followed by the emoji in chat (e.g. \:emojiname:), press send. Discord shows the raw format with the number — copy the ID from that output. Works the same for channel mention and roles — type \#channelname to get the channel ID in raw text.
Desktop vs Mobile Quick Reference
| What to copy | Desktop | Mobile |
|---|---|---|
| User ID | Right-click name → Copy User ID | Long press name → Copy User ID |
| Own User ID | Right-click own name → Copy User ID | Profile → three dots → Copy User ID |
| Server ID | Right-click server icon → Copy Server ID | Long press server → Copy Server ID |
| Channel ID | Right-click channel → Copy Channel ID | Long press channel → Copy Channel ID |
| Message ID | Right-click message → Copy Message ID | Long press message → Copy Message ID |
Common Problems When Getting a Discord ID
- No copy id option appearing — developer mode is not enabled. Go to Settings → Advanced → toggle on
- Only seeing copy username instead — same fix, developer mode is off
- Long press on profile picture opens edit message — do not long press the avatar next to a message. Use the DM member list workaround: tap the name in the DM header, open the member list arrow, then long press your name there
- Invalid snowflake error in a bot — you pasted a placeholder or wrong format instead of a real 17 digits to 20 digits ID
- Channel not found error — wrong server context or the bot does not have access to that channel
Related Guides
- How to Find Your Discord ID
- Discord ID Lookup — Complete Guide
- What Is a Discord Timestamp?
- Discord Snowflake ID Decoder
Also try our free tools:
- Discord Snowflake ID Decoder — decode any Discord ID to get its creation date
- Discord Timestamp Generator — generate timestamp codes for any server event
- Unix Timestamp Converter — convert Unix numbers to readable dates
Frequently Asked Questions
Ready to generate Discord timestamps?
Open the Generator