The quickest way to get a Discord ID from a username
To find a Discord ID from a username, the fastest method is to open Discord, find the person's profile, and look for their numeric ID in the URL or by enabling Developer Mode. If you have Developer Mode turned on, you can right-click any username and select "Copy User ID" directly. Without Developer Mode, you can visit someone's profile and look at the web address — the long number at the end is their ID.
Discord IDs are different from usernames. A username is what you see in chat (like "JamesRodriguez"), while an ID is a unique number assigned to every account (like "123456789012345678"). Usernames can change, but IDs never do, which is why some tools and bots ask for IDs instead of names.
Key Takeaways
- Enable Developer Mode in Discord settings under User Settings > Advanced > Developer Mode to see a "Copy User ID" option when you right-click a username.
- Without Developer Mode, visit someone's profile in Discord and check the URL in your browser — the number at the end is their ID.
- On mobile, you can open a direct message with someone and look at the URL in your browser to find their ID.
- Discord IDs are permanent numbers that never change, even if someone changes their username.
Turning on Developer Mode to copy IDs directly
Developer Mode is a Discord setting that adds a "Copy User ID" option to right-click menus. To turn it on, open Discord and go to User Settings (the gear icon in the bottom left). Click Advanced, then toggle Developer Mode on. Once it is on, you can right-click any username in chat or in a profile and select "Copy User ID" — the number goes straight to your clipboard.
This method works on both desktop and mobile Discord. On mobile, hold down on a username instead of right-clicking, and the same menu appears. Developer Mode stays on until you turn it off, so you only need to do this once.
Finding an ID from a profile URL without Developer Mode
If you do not want to enable Developer Mode, you can still find someone's ID by looking at their profile. Click on their username or avatar to open their profile card. In the desktop version, look at the URL in your browser's address bar — it will look something like discord.com/users/123456789012345678. The long number at the end is their ID.
On mobile, the process is similar but less obvious. Open a direct message with the person, then look at the URL in your browser if you switch to a web view. The number in the URL is their ID. This method takes a few extra steps but works without changing any settings.
Why Discord uses both usernames and IDs
Discord usernames can be changed at any time, which means they are not reliable for permanent identification. IDs, on the other hand, are assigned when an account is created and never change. This is why bots, webhooks, and some Discord tools ask for IDs instead of usernames — they need something that will not break if someone changes their name.
If you are setting up a bot or integrating Discord with another service, you will often need to provide IDs rather than usernames. Knowing how to find them quickly saves time when you are configuring permissions or linking accounts.
Getting someone else's ID when you are not friends
If you need the ID of someone you are not connected to on Discord, the process depends on whether they are in a server with you. If they are in a shared server, you can find them in the member list, click their name, and use the same methods above — either right-click to copy the ID with Developer Mode on, or check the profile URL.
If you are not in any servers together and do not have them as a friend, you cannot see their profile directly through Discord. In that case, you would need them to share their ID with you, or you would need to join a server where they are a member first.
Using IDs with Discord bots and integrations
Many Discord bots ask for user IDs when you are setting up roles, permissions, or automated messages. Once you have copied someone's ID, you can paste it into a bot command or configuration panel. For example, a moderation bot might ask you to provide a user ID to mute or restrict someone, or a welcome bot might use IDs to send personalized messages.
Some bots also use IDs in their command syntax. Instead of typing a username, you type the ID in angle brackets, like <@123456789012345678>. This format works reliably even if the person changes their username, which is why bots prefer it.
Frequently Asked Questions
Can someone see my ID if I share it?
Your Discord ID is not secret — anyone can find it by looking at your profile or using Developer Mode. Sharing your ID is safe and does not expose your account to hacking. However, only share it with people or services you trust, since some bots or tools might use it to send unwanted messages or spam.
What is the difference between a Discord ID and a tag?
A Discord tag is your username plus a four-digit number, like "JamesRodriguez#1234". An ID is a much longer number that Discord assigns to your account. Tags can change if you change your username, but IDs never change. Most modern Discord tools ask for IDs instead of tags because they are more reliable.
Why does Discord show different numbers in different places?
Discord has server IDs, channel IDs, message IDs, and user IDs — they are all different numbers. If you are looking for a person's ID, make sure you are copying the user ID from their profile, not a message ID or channel ID. The right-click menu with Developer Mode on will say "Copy User ID" to make it clear.
Can I find someone's ID if they blocked me?
If someone blocked you, you cannot see their profile or right-click their name in chat. However, if you have an old direct message conversation with them, you can still see their ID in the URL. Otherwise, you would need to ask them directly or find them in a server where you are both members and they have not blocked you.