Skip to content

Instantly share code, notes, and snippets.

@oyepriyansh
Last active April 19, 2025 16:42
Show Gist options
  • Save oyepriyansh/1be45b722181ec634664410cde244708 to your computer and use it in GitHub Desktop.
Save oyepriyansh/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

@Fah111ed
Copy link

Fah111ed commented Mar 9, 2024

Token

@AboHamra1
Copy link

AboHamra1 commented Jun 4, 2024

Token

@AboHamra1
Copy link

Token

@EJking72
Copy link

EJking72 commented Jun 5, 2024

token

@ItzAbhijeetYT1
Copy link

token

@iamcrazy10
Copy link

Token

@Hi-doki
Copy link

Hi-doki commented Aug 5, 2024

token

@fady20201
Copy link

token

@renacodes356
Copy link

Token

@rayenloihichi
Copy link

Token

@AbsurdlyUnique
Copy link

Token

@monsif569
Copy link

token

@adamafwo
Copy link

Token

@fortynaytilibabagi
Copy link

bruhken

@Bituvo
Copy link

Bituvo commented Nov 29, 2024

Token

@MythicalPhantom
Copy link

MythicalPhantom commented Dec 6, 2024

I want to use this script to obtain the account token, but then use it for other purposes. I replaced the alert with a return to store it in a variable, but the scripts wonโ€™t work because the page would reload. Is there a way around this?

This is a nice script overall :)

@Hi-doki
Copy link

Hi-doki commented Dec 6, 2024

Have you tried storing the token in the sites local local storage? You could do this for example: localStorage.setItem('discord_token', token_variable);
@MythicalPhantom

@MythicalPhantom
Copy link

Have you tried storing the token in the sites local local storage? You could do this for example: localStorage.setItem('discord_token', token_variable); @MythicalPhantom

I realized that about 2 hours ago, but thank you ๐Ÿ™

@Hi-doki
Copy link

Hi-doki commented Dec 6, 2024

Have you tried storing the token in the sites local local storage? You could do this for example: localStorage.setItem('discord_token', token_variable); @MythicalPhantom

I realized that about 2 hours ago, but thank you ๐Ÿ™

ah okay no problem, good luck with whatever you're doing

@Hi-doki
Copy link

Hi-doki commented Dec 9, 2024

token

@MythicalPhantom
Copy link

token

@Zombro01
Copy link

token

@nhnhhhh
Copy link

nhnhhhh commented Mar 6, 2025

TOKEN

@nhnhhhh
Copy link

nhnhhhh commented Mar 6, 2025

Token

@andres1138
Copy link

Token,
I figured I would go ahead and continue this token chain.

@Hi-doki
Copy link

Hi-doki commented Mar 31, 2025

token

@r5ter13
Copy link

r5ter13 commented Apr 19, 2025

token

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