Exports Discord chat logs to a file
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Oleksii Holub 0139eeaeed
Add `DiscordChatExporter.Cli.sh` for simpler usage from shell (#1205)
3 days ago
.assets Update screenshot 1 year ago
.docs Fix docker user permissions issues (#1194) 1 month ago
.github Update GitHub Actions 1 month ago
DiscordChatExporter.Cli Add `DiscordChatExporter.Cli.sh` for simpler usage from shell (#1205) 3 days ago
DiscordChatExporter.Cli.Tests Skip Twitch clip projections because they can't be rendered locally (#1200) 3 weeks ago
DiscordChatExporter.Core Shorten error messages for when attempting to export a period with no messages (#1201) 3 weeks ago
DiscordChatExporter.Gui Fix nullability mismatch in WPF converters 2 months ago
.gitignore Update gitignore file 4 months ago
Directory.Build.props Set a high default assembly version to avoid auto-update prompts 2 months ago
DiscordChatExporter.Cli.dockerfile Fix docker user permissions issues (#1194) 1 month ago
DiscordChatExporter.sln Switch to a new versioning strategy 3 months ago
License.txt Update license 2 months ago
NuGet.config Update NuGet.config 2 years ago
Readme.md Update readme 2 months ago
docker-entrypoint.sh Fix pathing in docker entrypoint 1 month ago
favicon.ico Update favicon 9 months ago
favicon.png Update favicon 9 months ago



Status Made in Ukraine Build Coverage Release Downloads Pulls Discord Fuck Russia

Development of this project is entirely funded by the community. Consider donating to support!


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.

If you have questions or issues, please refer to the docs.

💬 If you want to chat, join my Discord server.

Terms of use[?]

By using this project or its source code, for any purpose and in any shape or form, you grant your implicit agreement to all the following statements:

  • You condemn Russia and its military aggression against Ukraine
  • You recognize that Russia is an occupant that unlawfully invaded a sovereign state
  • You support Ukraine's territorial integrity, including its claims over temporarily occupied territories of Crimea and Donbas
  • You reject false narratives perpetuated by Russian state propaganda

To learn more about the war and how you can help, click here. Glory to Ukraine! 🇺🇦


This application comes in two flavors: graphical user interface (GUI) and command-line interface (CLI). The following table lists all available download options:

Downloads Supported OS
  • Windows 7 or higher
  • 🟢 Stable release (DiscordChatExporter.Cli.zip
  • 🟠 CI build (DiscordChatExporter.Cli.zip)
  • 🐋 Docker (tyrrrz/discordchatexporter)
  • 📦 AUR (discord-chat-exporter-cli)
  • 📦 Nix (discordchatexporter-cli)
  • Windows 7 or higher
  • macOS 10.13 (High Sierra) or higher
  • Linux (multiple distros)

Important: To run DiscordChatExporter, you need to make sure that the .NET 8.0 Runtime is installed. You can download it here:

This should not be necessary if you install DiscordChatExporter using a package manager, as it should take care of the dependencies for you. This is also not necessary if you are running DiscordChatExporter via Docker, because the image already contains the runtime.

Note: AUR and Nix packages linked above are maintained by the community. If you have any issues with them, please contact the corresponding maintainers.


  • Graphical user interface (Windows)
  • Command-line interface (Windows, Linux, macOS)
  • 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


channel list rendered output

See also

  • Chat Analytics — solution for analyzing chat patterns of Discord users, using exports produced by DiscordChatExporter.
  • DiscordChatExporter-frontend — convenient viewer for exports produced by DiscordChatExporter.