# 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) [![Extra Services](https://img.shields.io/badge/extra%20services-xs:code-blue.svg)](https://xscode.com/Tyrrrz/DiscordChatExporter) ✅ **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 Requirements
GUI
🟢 Stable release (DiscordChatExporter.zip)
🟠 CI build (DiscordChatExporter.zip)
  • Windows 7+
.NET v3.1 Desktop Runtime
CLI
🟢 Stable release (DiscordChatExporter.CLI.zip)
🟠 CI build (DiscordChatExporter.CLI.zip)
🐋 Docker (tyrrrz/discordchatexporter) 🚀
📦 AUR (discord-chat-exporter-cli) 🚀 🦄
  • Windows 7+
  • macOS 10.11+
  • Linux
.NET v3.1 Base Runtime
- 🚀 - .NET Runtime is already embedded or installed automatically - 🦄 - Community-maintained resource > Note: DiscordChatExporter requires **.NET v3.1 Runtime** in order to work! Refer to the **Requirements** column in the above table to download the appropriate installer for your system. ## Features - Graphical user interface (Windows) - Command line interface (Windows, Linux, macOS) - Works with both user and bot tokens - Exports on the fly without buffering messages in memory - Allows exporting messages in a specified range - Supports file partitioning based on message count - Uses custom markdown parser compatible with Discord syntax - Handles all rich media features, including attachments, embeds, emojis, etc - Renders to HTML (dark & light), TXT, CSV, JSON ## Screenshots ![channel list](.screenshots/list.png) ![rendered output](.screenshots/output.png)