Skip to guide
Account access

Logging in with a Discord Token

Open Discord, run the code and enter your token.

Updated 2 min read
Use only your own account token. Keep it private.

This unofficial method may not work with every Discord update.

Open Discord in your browser

Open discord.com/login ↗ in Chrome, Brave or Edge on your computer.

Open Developer Tools

macOS
Option + Command + I
Windows / Linux
Ctrl + Shift + I

Or right-click → Inspect.

Open the Console

ElementsConsoleSourcesNetwork

If your browser blocks pasting, use official login. Do not bypass the warning.

Run the code in the Discord tab

  1. Select Copy code.
  2. Paste it into the Console on discord.com and press Enter.
  3. Enter your token in the prompt and select OK.
JavaScript · run only on discord.com
(() => {
  if (location.origin !== "https://discord.com") {
    alert("Run this only on https://discord.com/login.");
    return;
  }

  let token = prompt("Enter your own Discord account token:");
  if (!token || !token.trim()) return;
  token = token.trim();

  const frame = document.createElement("iframe");
  frame.hidden = true;
  document.body.appendChild(frame);

  try {
    frame.contentWindow.localStorage.setItem(
      "token", JSON.stringify(token)
    );
  } catch {
    alert("Browser storage is unavailable. Use official login.");
    return;
  } finally {
    frame.remove();
    token = "";
  }

  location.reload();
})();

Keep the token prompt out of screenshots and screen shares.

Check your account

Discord reloads automatically. If login succeeds, confirm that your account avatar and server list appear.

Can’t log in?

Try email/password login, or contact support with your order ID and error message. Never send your token.

About tokens

A token is a session credential, not your account password. If the session has been reset, use email/password login instead.