Discord Guide

How to Get a Discord ID — All Methods

June 28, 2026 · 9 min read

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 iduser 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 id17 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:

  1. Click the settings gear icon in the bottom left
  2. Scroll to app settingsAdvanced
  3. Toggle developer mode on
  4. Press Escape to close

Mobile:

  1. Tap your profile picture in the bottom bar (bottom right on iOS)
  2. Tap the settings gear icon in the top right
  3. Scroll down and tap Advanced
  4. 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.

Pro Tip:You only need Developer Mode turned on once. After that it stays on across all servers and sessions. If you only see "Copy Username" when you long press on mobile, Developer Mode is not active — go back and toggle it on.

Method 1 — Right Click Any Profile (Desktop)

This is the fastest desktop method for any user id:

  1. Find the user in a server member list, chat messages, or direct messages
  2. Right click their profile picture or username
  3. 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)

  1. Click or tap the user's profile picture to open their profile view
  2. Tap the three dots in the upper corner of their profile
  3. 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)

  1. Open any direct messages conversation with the user
  2. Long press on any message they sent
  3. 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)

  1. Open the server member list (tap the people icon top right)
  2. Tap and hold on the user's name
  3. Tap the three dots that appear
  4. 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:

  1. Right click your own username or profile picture in any channel
  2. Select copy user id from the dropdown menu

Mobile:

  1. Tap your profile picture in the bottom bar
  2. Open your profile view
  3. Tap the three dots beneath your username
  4. 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:

  1. Type @ followed by their username in any channel chat box
  2. Right click the blue @mention method that appears in your message (desktop) or long press it (mobile)
  3. Select copy id

This gives you the user id without opening their profile view at all.

Pro Tip:The @mention method works even when the person is offline, not in the server, or has their profile locked. Type @username, right-click the blue mention that appears, and select Copy ID. Two seconds, no profile navigation needed. This shortcut is in none of the competitor guides.

How to Get Every Other Type of Discord ID

Server ID: Right click the server icon in the left sidebar on desktopcopy 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 copyDesktopMobile
User IDRight-click name → Copy User IDLong press name → Copy User ID
Own User IDRight-click own name → Copy User IDProfile → three dots → Copy User ID
Server IDRight-click server icon → Copy Server IDLong press server → Copy Server ID
Channel IDRight-click channel → Copy Channel IDLong press channel → Copy Channel ID
Message IDRight-click message → Copy Message IDLong press message → Copy Message ID

Common Problems When Getting a Discord ID

  1. No copy id option appearing — developer mode is not enabled. Go to Settings → Advancedtoggle on
  2. Only seeing copy username instead — same fix, developer mode is off
  3. 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
  4. Invalid snowflake error in a bot — you pasted a placeholder or wrong format instead of a real 17 digits to 20 digits ID
  5. Channel not found error — wrong server context or the bot does not have access to that channel

Related Guides

Also try our free tools:

Frequently Asked Questions

Enable developer mode in Settings → Advancedtoggle on. Then right click (desktop) or long press (mobile) any user, server, channel, or message and select the relevant copy id option from the dropdown menu. The snowflake id copies to your clipboard instantly.
With developer mode on, right click any user on desktopcopy user id. On mobile, long pressthree dotscopy user id. Then copy paste it wherever you need — a bot command, a report form, a message, or a lookup tool.
Right click your own profile picture or username in any channel on desktop and select copy user id. On mobile, tap your profile picture in the bottom bar → open profile viewthree dotscopy user id.
Developer mode is not enabled. Go to User Settings → app settingsAdvancedtoggle developer mode on. After that the copy id option appears everywhere you right click or long press.
The @mention method works on some Discord versions without developer mode — type @username, right click the blue mention, select copy id. Otherwise developer mode is required for all other copy id option methods.
For server id: right click the server iconcopy server id (desktop) or long press server name → copy server id (mobile). For channel id: right click the channel name → copy channel id (desktop) or long press channel → copy channel id (mobile). Both require developer mode to be active.
No. Every account, server, channel, message, and role has its own unique number. Your user id is permanent and never changes — it is the same snowflake id across every server you join regardless of username or display name changes.
Use it for bot settings configuration, server management commands, automate workflows with webhooks, look up account creation dates with our [Discord Snowflake ID Decoder](/discord-snowflake-id), or submit it for reporting and legal process identification purposes.

Ready to generate Discord timestamps?

Open the Generator

Did You Miss These?

Discord Guide

Generate a Discord Timestamp

Free tool — all 7 formats, live Discord preview, auto timezone detection.

Open Generator →
Discord Guide6 min read

Jun 28, 2026

Discord User ID — What It Is and How to Use It

What a Discord user ID is, what it looks like, how to find it, and how to use it for mentions, reports, bans, and bot commands.

Read Article →
Discord Guide6 min read

Jun 27, 2026

How to Find Your Discord ID

How to find your Discord user ID, server ID, channel ID, and message ID on desktop and mobile using Developer Mode.

Read Article →
Discord Guide8 min read

Jun 29, 2026

Date to Unix Timestamp — Complete Guide

How to convert any date to a Unix timestamp in JavaScript, Python, PHP, Java, MySQL and more. Code examples and common mistakes covered.

Read Article →
Discord Guide8 min read

Jun 29, 2026

Discord Countdown Timer — Complete Guide

How to create a live Discord countdown timer using timestamps and bots. Step-by-step guide with format codes and common mistakes.

Read Article →