Bulk delete your own Discord messages - Fast, secure, privacy-focused
Bulk delete your own Discord messages from channels, DMs, or entire servers.
Discord doesn't let you mass-delete messages—Detcord does. Filter by date, content, links, or regex. Pause and resume large operations. 100% browser-based, no data leaves your machine.
This project is independent and is NOT affiliated with, endorsed by, or connected to Discord Inc.
Discord may change their API at any time, which could break this tool without notice.
This software is provided AS-IS without warranty. Use at your own risk.
We have made security a priority, but we cannot guarantee the safety of your data.
Only YOUR OWN messages can be deleted. This is a Discord API limitation.
Detcord is a browser userscript that allows you to bulk delete your own Discord message history. Discord does not provide native bulk deletion functionality, requiring users to delete messages one at a time. This tool automates that process while respecting Discord's rate limits.
| Detcord | Other Tools | |
|---|---|---|
| TypeScript codebase | ✓ | ✗ |
| Tested (80%+ coverage) | ✓ | ✗ |
| Security documentation | ✓ | ✗ |
| Modular architecture | ✓ | ✗ |
| Modern tooling (Vite, Biome) | ✓ | ✗ |
| Active maintenance | ✓ | Varies |
You need a userscript manager browser extension installed:
Choose what you want to delete messages from:
Narrow down which messages to delete:
| Filter | Description |
|---|---|
| After Date | Only delete messages sent after this date |
| Before Date | Only delete messages sent before this date |
| Contains | Only delete messages containing specific text |
| Has Links | Only delete messages with URLs |
| Has Files | Only delete messages with attachments |
| Include Pinned | Include pinned messages (off by default) |
| Regex Pattern | Advanced filtering with regular expressions |
We have worked hard to make Detcord secure, but we offer no guarantees. The tool:
See our Security Policy for more details.
No. Discord's API only allows users to delete their own messages. This is a platform limitation, not a limitation of Detcord.
Discord enforces strict rate limits on their API (approximately 5 deletions per second). Detcord respects these limits to avoid getting your account flagged. Large deletion operations may take hours.
No. Detcord is a userscript that only works in web browsers. You must use Discord at discord.com/app in a browser with a userscript manager installed.
The deletion will stop. When you return and reopen Detcord, you can start a new deletion operation. Previously deleted messages will not be re-processed.
While Detcord makes standard API requests that look like normal Discord usage, we cannot guarantee that Discord will not detect or take action against automated tools. Use at your own risk.
Discord may have changed their API. Check the GitHub Issues page to see if others have reported the same problem.
| Browser | Status |
|---|---|
| Chrome | Supported |
| Firefox | Supported |
| Edge | Supported |
| Safari | Supported (with Tampermonkey) |
| Opera | Supported |
This is normal. Detcord will automatically wait and retry when rate limited.
This project is licensed under the MIT License. See the LICENSE file for details.
We welcome contributions! Please see our Contributing Guide for details.
Before contributing, please read:
Detcord is an independent project. Discord is a trademark of Discord Inc.