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
Tyrrrz 506bc0176b
Fix incorrect replace order
2 years ago
.assets Reorganize assets 3 years ago
.github Use net7.0 2 years ago
DiscordChatExporter.Cli Correct a comment 2 years ago
DiscordChatExporter.Cli.Tests Update NuGet packages 2 years ago
DiscordChatExporter.Core Fix incorrect replace order 2 years ago
DiscordChatExporter.Gui Update NuGet packages 2 years ago
.gitignore Add HTML formatting for system messages (#926) 2 years ago
Changelog.md Update version 2 years ago
Directory.Build.props Remove unneeded project props 2 years ago
DiscordChatExporter.Cli.dockerfile Use Alpine as the base image in docker, publish a self-contained app (#974) 2 years ago
DiscordChatExporter.sln Simplify dockerfile 2 years ago
License.txt Update my name to match correct spelling 3 years ago
NuGet.config Update NuGet.config 3 years ago
Readme.md Fix the build badge in the readme 2 years ago
favicon.ico Add icon 7 years ago
favicon.png Add icon 7 years ago

Readme.md

DiscordChatExporter

Made in Ukraine Build Coverage Release Downloads Discord Donate Fuck Russia

🟡 Project status: maintenance mode[?]

DiscordChatExporter can be used to export message history from a 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 all other rich media features.

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

💬 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! 🇺🇦

Download

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
GUI
  • Windows 7 or higher
CLI
  • 🟢 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)

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

Warning: To run DiscordChatExporter on macOS and Linux, you need to make sure that .NET Runtime v6 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.

Features

  • Graphical user interface (Windows)
  • Command line interface (Windows, Linux, macOS)
  • Authentication via both user and bot tokens
  • 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 don't require internet

Screenshots

channel list rendered output

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