Tool for archiving Discord servers/channels into HTML files with theme support. Preserves messages, attachments, and formatting.
This tool uses self-bot functionality which violates Discord Terms of Service. Use at your own risk.
- Archive entire servers or selected channels
- HTML output with:
- Light theme
- Dark theme
- Preserves:
- Message content
- Attachments (images, videos)
- User mentions
- Formatting (bold, italic, etc.)
git clone https://github.com/noverd/discord_dumper.git
cd discord_dumper
pip install -r requirements.txt
- Obtain your Discord token (see instructions below)
- Run main script:
python discord_dumper/main.py
- Open Discord in browser
- Login to your account
- Open Developer Tools (Ctrl+Shift+I)
- Go to Network tab → Refresh page
- Find any request → Copy "Authorization" header value
Variable | Default | Description |
---|---|---|
LOGLEVEL |
FATAL | Log verbosity (DEBUG, INFO, WARNING, ERROR, FATAL) |
DUMPER_TRACEBACK |
0 | Show error traces (1=enabled, 0=disabled) |
Example:
export LOGLEVEL=INFO
export DUMPER_TRACEBACK=1
python discord_dumper/main.py
discord_archive_server_id/
├── server_channel_1.html
├── server_channel_2.html
- Direct Messages (DMs) support
- PyPI package distribution
- Additional export formats:
- JSON
- CSV
- User-friendly TUI
This project is for educational purposes only. The developers assume no liability for:
- Account bans or violations of Discord ToS
- Improper use of archived data
- Legal consequences in your jurisdiction
For issues, please open a GitHub ticket.
Licensed under Apache License 2.0. Check LICENSE.TXT for more information.