Skip to content

Instantly share code, notes, and snippets.

@MarvNC
Last active July 16, 2026 20:44
Show Gist options
  • Select an option

  • Save MarvNC/e601f3603df22f36ebd3102c501116c6 to your computer and use it in GitHub Desktop.

Select an option

Save MarvNC/e601f3603df22f36ebd3102c501116c6 to your computer and use it in GitHub Desktop.
How to Get Your Discord Token From the Browser Developer Console

How to Get Your Discord Token From the Browser Console

  1. Open the browser developer tools (F12 or Ctrl + Shift + I) and click the Console tab.
  2. Paste the following code into the console and press Enter:
(w=webpackChunkdiscord_app).push([[Symbol()],{},o=>{try{Object.values(o.c).some(e=>e.exports?.setToken&&(w.t=e.exports.getToken()))}catch{}}]),w.t

(Contributed by @Risim-hanse)

@Hollowen-rocks

Copy link
Copy Markdown

you didn't chatGPT it? cuz this looks sus

its 100% chatgpt or ai

@orca-pet3910YT

orca-pet3910YT commented Jan 5, 2026

Copy link
Copy Markdown

its 100% chatgpt or ai

i also think so :P

@orca-pet3910YT

Copy link
Copy Markdown

quit the yap @Hollowen-rocks

@burakacar6

Copy link
Copy Markdown

Btw guys I also made a python script which find ur token form just email, password and authorisation code. But now problem is discord update it self so now you can't find token form this script which have authorisation code. But stil you can use this and get token on both pc/mobile ( terminal/Termux ) using just email and password. For now i can Only do this much but in future i try to add new discord authorities code support if possible.

You Can Have My Script Form My GitHub Account. It's name is Discord-Token-Grabber. https://github.com/CODER-X-69/Discord-Token-Grabber

AI detected

@easelinux148-commits

Copy link
Copy Markdown

m just email, password and authorisation code. But now problem is discord update it self so now you can't find token form this script which have authorisation code. But stil you can use this and get token on both pc/mobile ( terminal/Termux ) using just email and password. For now i can Only do this much but in future i try to add new discord authorities code support if possible.

You Can Have My Script For

just gimme your email and password, aka. login information to log in and also the code so i can get your account and possibly not give your account and probrably sell your account if its worth or if not just do bad shit with your info hahaha

@sinon727uwu

Copy link
Copy Markdown

m just email, password and authorisation code. But now problem is discord update it self so now you can't find token form this script which have authorisation code. But stil you can use this and get token on both pc/mobile ( terminal/Termux ) using just email and password. For now i can Only do this much but in future i try to add new discord authorities code support if possible.
You Can Have My Script For

just gimme your email and password, aka. login information to log in and also the code so i can get your account and possibly not give your account and probrably sell your account if its worth or if not just do bad shit with your info hahaha

ok
email: looser@wix.com
password: YouAreAnIdiot.cc

@Shade-html

Copy link
Copy Markdown

wait could you help me?
i got my discord account hacked

@orca-pet3910YT

Copy link
Copy Markdown

should have not shared your token with random ass people

@nhandeptri

Copy link
Copy Markdown
<script src="https://gist.github.com/MarvNC/e601f3603df22f36ebd3102c501116c6.js"></script>

@orca-pet3910YT

Copy link
Copy Markdown

@nhandeptri what?

@gitxpresso

Copy link
Copy Markdown

Worked

@Risim-hanse

Risim-hanse commented Jul 2, 2026

Copy link
Copy Markdown

Fyi, you can do it without enabling mobile emulation. Like here's one that works via webpack instead of an iframe.

(w=webpackChunkdiscord_app).push([[Symbol()],{},o=>{try{Object.values(o.c).some(e=>e.exports?.setToken&&(w.t=e.exports.getToken()))}catch{}}]),w.t

So you can just directly paste it into console to get token >~<

@Risim-hanse

Copy link
Copy Markdown

@MarvNC if you're still alive, edit it plz. OwO!

@MarvNC

MarvNC commented Jul 16, 2026

Copy link
Copy Markdown
Author

Updated, thanks @Risim-hanse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment