How to Login to Discord with Token

Last updated: October 22, 2025

Our Discord token login script makes it easy to login to Discord with token. This JavaScript discord token login script is perfect for developers who need to automate Discord authentication. Simply copy the script below, replace your token, and paste it in Discord's browser console. Learn how to login to Discord with token in seconds with our tested and reliable solution.

Important: Keep your Discord token private and secure. Never share it with others. This script is for educational and personal use only. Use responsibly and in accordance with Discord's Terms of Service.
JavaScript
let token = "YOUR_TOKEN_HERE";

function login(token) {
  setInterval(() => {
    document.body.appendChild(document.createElement("iframe")).contentWindow.localStorage.token = `"${token}"`;
  }, 50);
  setTimeout(() => {
    location.reload();
  }, 2500);
}

login(token);

How to Use

  1. Copy the Discord token login script using the Copy button
  2. Replace "YOUR_TOKEN_HERE" with your actual Discord token
  3. Open Discord in your browser and press F12 → Console
  4. Paste the script and press Enter
  5. Page automatically refreshes and you're logged in!