A lightweight, standalone Discord message purger and channel toolkit designed to run directly inside Discord's DevTools console. No extensions, userscripts, or third-party dependencies required.
- Open Discord in your browser (discord.com/app).
- Open Developer Tools by pressing Ctrl + Shift + I (or F12).
- Click the Console tab.
- Copy all code from
index.js, paste it into the console, and press Enter. - Click the
[SC] PURGERbutton at the bottom-right corner to open the control panel.
- Enable DevTools in Discord Desktop:
- Press Win + R, enter
%appdata%\discord\settings.json, and open it with a text editor. - Add
"DANGEROUS_ENABLE_DEVTOOLS_ONLY_ENABLE_IF_YOU_KNOW_WHAT_YOURE_DOING": trueinside the JSON object, then save. - Restart Discord.
- Press Win + R, enter
- Press Ctrl + Shift + I inside Discord to open DevTools.
- Go to the Console tab, paste
index.js, and press Enter.
Once the panel is open:
- Resolve Token: Click
AUTOnext to the Discord Token field. ShredCord will grab your active session token directly from client memory. - Set Target: Open the text channel or DM you want to clear, then click
AUTOnext to Channel ID. - Filter Author: Click
MEto automatically target only your own messages (recommended), or leave blank to scan all authors if you have moderation permissions. - Adjust Pace & Filters: Set your preferred delay (750ms default recommended) and optional date/content filters.
- Start Purging: Click
Start Purge. Progress and real-time logs will display in the panel and console.
- Dual-Engine Purge: Searches messages via Discord's indexing API and automatically falls back to direct channel history scanning if the search endpoint is unavailable.
- Live Deletion Logger: Uses a DOM
MutationObserverto intercept and display deleted messages before they vanish from your chat window. - Ghost Ping Alerts: Tracks mentions that get deleted immediately and displays a desktop-style toast notification.
- Channel Archiver: Exports messages from any channel into clean HTML, structured JSON, or plain TXT files.
- Session-Only Memory: Never saves, transmits, or logs tokens to any external server. All network requests go directly to Discord's official API (
discord.com/api/v10).
- Toggle Button (
[SC] PURGER): Floating button at the bottom-right opens or minimizes the control panel. - Minimize (
_/+): Collapses the window into a small status bar showing live purge progress. Double-clicking the header also toggles minimize. - Close (
×): Closes the interface without stopping any active background purge. - Drag Handle: Click and drag the header bar to place the panel anywhere on your screen. Viewport clamping prevents it from going off-screen.
- Rate Limits: Keep the delay slider at 750ms or higher to stay within Discord's normal rate-limit thresholds.
- Token Safety: Your token grants full access to your account. Never paste untrusted scripts or share your token with anyone.