Tyrrrz/DiscordChatExporter
Tyrrrz/DiscordChatExporter has 12,330 GitHub stars and 1,048 forks. GitHot measured +4 stars in 24 hours. Last checked 2026-11-06 06:24 UTC. Last push 2026-11-04.
Saves Discord chat logs to a file
What you can do
- 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
Measured star growth
- in 24h
- +4
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalDiscordChatExporter
| 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
Download
- 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.
Features
- 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
Screenshots

Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,476 starspublic-apis/public-apis
A collective list of free APIs
496,785 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
438,404 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,086 stars