- Published on
How to Get Your Discord Token
- Authors
- Name
- Law
- @law_tutorials
Introduction
Discord tokens are a unique identifier
that allow you to use Discord's API
. This token is essential if you want to use any bot
, perform certain actions, or access private information. In this guide
, we will show you how to get your Discord token
.
Watch this video if you want to see a visual guide on how to get your Discord token.
Step-by-Step Guide
- Open the Discord web app and log in to your account.
- Press
Ctrl + Shift + I
on Windows orCommand + Shift + I
on Mac to open the developer console. - Go to the Console tab.
- Enter the following command:
getToken.js
(webpackChunkdiscord_app.push([[''],{},e=>{m=[];
for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()
- Press
Enter
to run the command, and you should see a result similar to the following:
'OTMA1DNMc0MwzUNTUTyE2Njw.GhOsnE.aXrR0SIp9wK4k1in8_OEjT-3svTSPIA-cw'
- Right click on it and select
Copy String Contents
. - Paste the token into a text editor and save it for later use.
Important Notes
- You should never share your token with anyone.
- You should never use your token with non-trusted applications.
- Only use your token if you know what you are doing.
- Use an alt-account if you want to test bots / self-bots.
Reset Your Token
If you want to reset your token, there's multiple ways to do, but the easiest one:
- Go to your Discord settings.
- And just
change your password.
Conclusion
In conclusion, obtaining your Discord token is straightforward, but be sure to keep it private and secure. Additionally, it's a good practice to verify your token regularly.