# 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) DiscordChatExporter can be used to export message history from a [Discord](https://discordapp.com) channel to a file. It works for both direct message chats and guild chats, supports markdown, message grouping, embeds, attachments, mentions, reactions and other features. It works with both user and bot tokens, supports multiple output formats and allows you to trim messages by dates. _For guides and other info -- check out the [wiki](https://github.com/Tyrrrz/DiscordChatExporter/wiki)._ ## Download - **[Latest release](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest)** - [Docker image](https://hub.docker.com/r/tyrrrz/discordchatexporter): `docker pull tyrrrz/discordchatexporter` - [CI build](https://github.com/Tyrrrz/DiscordChatExporter/actions) ## Features - Graphical and command line interfaces - Supports both user tokens and bot tokens - Allows retrieving messages in specified date range - Multiple export formats: HTML (dark/light), TXT and CSV - Renders all message features including: markdown, attachments, embeds, emojis, mentions, etc ## Screenshots ![channel list](.screenshots/list.png) ![rendered output](.screenshots/output.png)