Published on

How to Get Your Discord Token

Authors

tailwind-nextjs-banner

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

  1. Open the Discord web app and log in to your account.
  2. Press Ctrl + Shift + I on Windows or Command + Shift + I on Mac to open the developer console.
  3. Go to the Console tab.
  4. 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()
  1. Press Enter to run the command, and you should see a result similar to the following:
'OTMA1DNMc0MwzUNTUTyE2Njw.GhOsnE.aXrR0SIp9wK4k1in8_OEjT-3svTSPIA-cw'
  1. Right click on it and select Copy String Contents.
  2. 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:

  1. Go to your Discord settings.
  2. 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.