| Development of this project is entirely funded by the community. Consider donating to support! |
Made in 🇺🇦 Ukraine — despite Russia's best efforts. Using this project or its source code comes with the implicit agreement that you condemn Russia's war of aggression against Ukraine, recognize Russia as a terrorist state, and support Ukraine's territorial integrity.
DiscordChatExporter is an application that can be used to export message history from any Discord channel to a file. It works with direct messages, group messages, and server channels, and supports Discord's dialect of markdown as well as most other rich media features.
Warning
While DiscordChatExporter allows it, automating user accounts is against Discord TOS and may result in you getting banned. If possible, use a bot to export chat logs from accessible channels.
See also:
- 📦 mlomb/chat-analytics — solution for analyzing chat patterns of Discord users, using exports produced by DiscordChatExporter
- 📦 slatinsky/DiscordChatExporter-frontend — convenient viewer for exports produced by DiscordChatExporter
- Graphical user interface (desktop app):
- 🟢 Stable release: look for
DiscordChatExporter.*.zip - 🟠 CI build: look for
DiscordChatExporter.*.zip - 📦 Scoop:
scoop install extras/discordchatexporter(community-maintained) - 📦 WinGet:
winget install Tyrrrz.DiscordChatExporter.GUI(community-maintained) - 📦 AUR:
yay -S discord-chat-exporter-gui(community-maintained) - 📦 Nix:
nix-shell -p discordchatexporter-desktop(community-maintained)
- 🟢 Stable release: look for
- Command-line interface (terminal app):
- 🟢 Stable release: look for
DiscordChatExporter.Cli.*.zip - 🟠 CI build: look for
DiscordChatExporter.Cli.*.zip - 🐋 Docker:
docker pull tyrrrz/discordchatexporter - 📦 WinGet:
winget install Tyrrrz.DiscordChatExporter.CLI(community-maintained) - 📦 AUR:
yay -S discord-chat-exporter-cli(community-maintained) - 📦 Nix:
nix-shell -p discordchatexporter-cli(community-maintained)
- 🟢 Stable release: look for
Note
Community-maintained packages are published independently from this repository and may not always be up to date with the latest release.
Note
If you're unsure which build is right for your system, consult with this page to determine your OS and CPU architecture.
- Cross-platform graphical and command-line interfaces
- Authentication via either a user or a bot token
- Multiple output formats: HTML (dark/light), TXT, CSV, JSON
- Support for markdown, attachments, embeds, emoji, and other rich media features
- File partitioning, date ranges, message filtering, and other export options
- Self-contained exports that can be viewed offline

