Warning: Keep your token secret! Don't share it with anyone. Using a token for DiscordChatExporter is technically against Discord's ToS. Use at your own risk and be responsible with the exports.
Method 1: Using Browser Developer Tools
- Open Discord in your browser (not the app).
- Press F12 to open Developer Tools.
- Go to the Network tab.
- Refresh the page.
- Find a request to "api/v9/users/@me" or similar.
- Look in the request headers for "Authorization".
- Your token is the value after "Authorization".
Method 2: Using Browser Console
- Open Discord in your browser (not the app).
- Press F12 to open Developer Tools.
- Go to the Console tab.
- Paste this code:
window.webpackChunkdiscord_app.push([[Math.random()],{},e=>{console.log(e.c.find(e=>e?.exports?.default?.getToken).exports.default.getToken())}])
- Press Enter. Your token should appear in the console.