Skip to content

Instantly share code, notes, and snippets.

@priyazsh
Last active May 13, 2026 11:15
Show Gist options
  • Select an option

  • Save priyazsh/1be45b722181ec634664410cde244708 to your computer and use it in GitHub Desktop.

Select an option

Save priyazsh/1be45b722181ec634664410cde244708 to your computer and use it in GitHub Desktop.
How To Get Discord Account Token?

How to Get Discord Account Token?

Note

This guide is for educational purposes only.

Instructions

Follow these steps to retrieve your Discord account token:

  1. Open Discord Website:

    • Go to Discord Website and log in to your account in the browser if you haven't already.
  2. Bookmark the Website:

    • Bookmark the Discord website.
  3. Edit the Bookmark URL:

    • Edit the bookmark you just created and change the URL to the following code:
       javascript:(function()%7Blocation.reload()%3Bvar%20i%20%3D%20document.createElement('iframe')%3Bdocument.body.appendChild(i)%3Balert(i.contentWindow.localStorage.token)%7D)()
  4. Execute the Bookmark:

    • Click on the bookmark you edited. A popup will appear, revealing your Discord token. Copy it for your use.

Video Tutorial

If you prefer visual guidance, watch this video tutorial:

How To Get Discord Account Token?

Discord

For further assistance, join our Discord server:

Join our Discord

Warning

Discord tokens are sensitive information. Treat them like keys to your account and keep them private to prevent the risk of hacking. Safeguard your Discord token for account security.


- Priyansh Prajapat

@Hi-doki

Hi-doki commented Sep 1, 2025

Copy link
Copy Markdown

🤓

@jeffersonz12

Copy link
Copy Markdown

Bruh there's literally a location.reload() at the front of the script

I just removed that part and it worked for me (I also changed output to console.log() cuz I deleted the javascript: and just ran it in my console):

Relax, I'm over this already. Plus, it doesn't work without location.reload back then. I'm not sure about now.

@priyazsh

Copy link
Copy Markdown
Author

@priyazsh

priyazsh commented Oct 5, 2025

Copy link
Copy Markdown
Author

why the youtube vedio got deleted? can you make another one on any website and give me? pleaseeeeeeeeee

if i upload it again, they'll take down the channel

@sxbontopsof-cpu

Copy link
Copy Markdown

javascript:(function()%7Blocation.reload()%3Bvar%20i%20%3D%20document.

@Urnyy

Urnyy commented May 13, 2026

Copy link
Copy Markdown

discord reload itself when the bookmark is executed.

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