Deleter Tool

Discord DM Message Deleter

A secure, client-side, open-source console script to delete your direct messages and channel histories on Discord. No third-party token sharing required.

Last updated: June 25, 2026

Security & Trust

Traditional tools ask you to type your sensitive Discord account token into their websites. This is extremely dangerous. Our script runs completely inside your own browser (client-side). Your token never leaves your device and is never sent to our servers. The full source code is visible right below for you to inspect.

How to Use (Step-by-Step)
  1. Open Discord Web (discord.com/app) on your computer and log in.
  2. Go to the DM channel where you want to delete your messages.
  3. Open your browser's Developer Tools Console by pressing F12 or Ctrl + Shift + I.
  4. If Discord blocks pasting, type allow pasting into the console and press Enter.
  5. Copy the console script from below, paste it into the console, and press Enter. The script will automatically try to find your token and channel ID, opening a control panel on Discord.
  6. Manual Token Fallback (If Prompted): If the script cannot find your token automatically, you can retrieve it manually:
    • Go to the Network tab inside Developer Tools (press F12).
    • Refresh the Discord page (F5) or click on any channel to trigger requests.
    • Look for requests named science, @me, or messages.
    • Click on the request and go to Headers -> find Request Headers -> find Authorization.
    • Copy that long token string (without the word "Bearer" if present) and paste it when prompted by the script.
Features
  • Auto Token Retrieval: The script automatically fetches your authorization token from Discord's active session. No manual copying needed.
  • Pick Messages from Chat: Click directly on any message in Discord to set it as the start or end point for deletion (deletes messages before or after it).
  • Archive Import (index.json): Import the "messages/index.json" file from your Discord data package to delete your entire direct message history in batch.
  • Advanced Filters & RegEx: Filter messages by specific text content, link existence (has:link), files (has:file), pinned status, date range, or regular expressions.
  • Streamer Mode (Redact): Enable streamer mode to automatically blur personal user handles, channel names, and IDs for safe screen sharing or screenshots.
  • Delay Customization: Adjust the search and deletion delays dynamically via sliders to keep your account safe from temporary rate limits.
JAVASCRIPT

Important Notes & Best Practices

  • Self-Bot Policy: Automating user account actions via console scripts is technically a violation of Discord's Terms of Service. Although our script has built-in safe delays (1.5s per message) to look human-like, use this tool at your own discretion.
  • Rate Limits: If you delete messages too quickly, Discord will temporarily rate-limit your account. The script will automatically detect this and pause itself. Do not try to bypass this pause.
  • Permanent Action: Message deletion is permanent and cannot be undone. Once deleted, messages are removed from Discord servers forever.
  • Keep Your Token Private: Never share your Discord authorization token or screenshots of your console/network logs. If shared by accident, log out of Discord immediately on that browser and change your password to invalidate the token, and enable 2FA.