# DiscordChatExporter [![Build](https://github.com/Tyrrrz/DiscordChatExporter/workflows/CI/badge.svg?branch=master)](https://github.com/Tyrrrz/DiscordChatExporter/actions) [![Release](https://img.shields.io/github/release/Tyrrrz/DiscordChatExporter.svg)](https://github.com/Tyrrrz/DiscordChatExporter/releases) [![Downloads](https://img.shields.io/github/downloads/Tyrrrz/DiscordChatExporter/total.svg)](https://github.com/Tyrrrz/DiscordChatExporter/releases) [![Donate](https://img.shields.io/badge/donate-$$$-purple.svg)](https://tyrrrz.me/donate) ✅ **Project status: active**. DiscordChatExporter can be used to export message history from a [Discord](https://discord.com) 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](https://github.com/Tyrrrz/DiscordChatExporter/wiki)**. ## 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) 🦄
  • Windows 7 or higher
  • macOS 10.13 (High Sierra) or higher
  • Linux (multiple distros)
- 🦄 - Community-maintained resource - ⚙️ - Requires .NET runtime to be installed manually: - [.NET Core v3.1 Runtime for **Windows x64**](https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-desktop-3.1.0-windows-x64-installer) - [.NET Core v3.1 Runtime for **Windows x86**](https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-desktop-3.1.0-windows-x86-installer) - [.NET Core v3.1 Runtime for **macOS x64**](https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-3.1.0-macos-x64-installer) - [.NET Core v3.1 Runtime for **Linux**](https://docs.microsoft.com/en-us/dotnet/core/install/linux) (find your distro) ## Features - Graphical user interface (Windows) - Command line interface (Windows, Linux, macOS) - Support for both user and bot tokens - Support for Discord's dialect of markdown - Support for attachments, embeds, emojis, and other rich media features - Multiple output formats: HTML (dark/light), TXT, CSV, JSON - File partitioning, date ranges, and other export options - Exports messages on the fly without buffering in-memory ## Screenshots ![channel list](.screenshots/list.png) ![rendered output](.screenshots/output.png)