New method (contributed by youyoumu)
- Open the browser console with
F12
orCtrl + Shift + I
. - Enable mobile device emulation with
Ctrl + Shift + M
. - Paste the following code into the console and press Enter:
const iframe = document.createElement('iframe');
console.log(
'Token: %c%s',
'font-size:16px;',
JSON.parse(document.body.appendChild(iframe).contentWindow.localStorage.token)
);
iframe.remove();
Alternatively, you can just go to the Application
tab, then Local Storage
, and find the token
key under https://discord.com/
after you have enabled mobile device emulation.
Click to expand
- Open the browser console with
F12
orCtrl + Shift + I
. - Go to the network tab
- Filter by Fetch/XHR
- Choose a request that isn't an error (if there aren't any, click on a channel or server to trigger some requests.)
- You'll find your discord token under the
request headers
->authorization
section. Copy and paste it from there.
This one works by pasting this in dev console.
Make sure to enable mobile emulation first