# DiscordChatExporter | Exports Discord Chat Logs To A File ⭐

**URL:** <https://onehack.st/t/discordchatexporter-exports-discord-chat-logs-to-a-file/273254>\
**Category:** Tools & Scripts\
**Tags:** tools, windows, file-management\
**Created:** [January 24, 2024, 9:37pm UTC](https://onehack.st/t/discordchatexporter-exports-discord-chat-logs-to-a-file/273254 "2024-01-24T21:37:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [January 24, 2024, 9:37pm UTC](https://onehack.st/t/discordchatexporter-exports-discord-chat-logs-to-a-file/273254/1 "2024-01-24T21:37:16Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/c/2/c25c580a3c447d239a1e7dfcc41ab3d945169f39.png)

[![Status](https://camo.githubusercontent.com/96927374d0f22eb320b1da356687d09f924f153c7c4c7cc393c6052fc79df292/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d6d61696e74656e616e63652d6666643730302e737667)](https://github.com/Tyrrrz/.github/blob/master/docs/project-status.md) [![Made in Ukraine](https://camo.githubusercontent.com/0471dad39f93a7dd17dec59c2e5c12b42c056c95b142111a1ff3a49003c44794/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6164655f696e2d756b7261696e652d6666643730302e7376673f6c6162656c436f6c6f723d303035376237)](https://tyrrrz.me/ukraine) [![Build](https://camo.githubusercontent.com/f4254ff6e5956d7b8607b346918ba3a50b54461349728932c655a27ca84eccf1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f54797272727a2f446973636f7264436861744578706f727465722f6d61696e2e796d6c3f6272616e63683d6d6173746572)](https://github.com/Tyrrrz/DiscordChatExporter/actions) [![Coverage](https://camo.githubusercontent.com/b91f7e324179bb7599ece0129c8d4dd3f015d4d2450186ede6efe056c1df39a6/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f54797272727a2f446973636f7264436861744578706f727465722f6d6173746572)](https://codecov.io/gh/Tyrrrz/DiscordChatExporter) [![Release](https://camo.githubusercontent.com/bfe909b52036ea73a0426c119db6ab2bcee2bc22608ae1fba3ac6a7056c2323b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f54797272727a2f446973636f7264436861744578706f727465722e737667)](https://github.com/Tyrrrz/DiscordChatExporter/releases) [![Downloads](https://camo.githubusercontent.com/14b56f03d90a5bc85706e77df08a481de57c9421868a7f4fd08594f3766dcd28/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f54797272727a2f446973636f7264436861744578706f727465722f746f74616c2e737667)](https://github.com/Tyrrrz/DiscordChatExporter/releases) [![Pulls](https://camo.githubusercontent.com/136166ed587fdc201e62f3d903bf368eb394bbb1881c3684dfaed328a7caf5f1/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f70756c6c732f74797272727a2f646973636f7264636861746578706f72746572)](https://hub.docker.com/r/tyrrrz/discordchatexporter) [![Discord](https://camo.githubusercontent.com/2e49fc5e308256df5d46662e88e71e6ba7bc42429906e9312bf4f2d76ac5de20/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3836393233373437303536353339323338343f6c6162656c3d646973636f7264)](https://discord.gg/2SUWKFnHSm) [![Fuck Russia](https://camo.githubusercontent.com/ff0efaa3c07e9807f1f2460d9bf7728fc0830633685c5919c8427b8d546214f7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6675636b2d7275737369612d6534313831632e7376673f6c6162656c436f6c6f723d303030303030)](https://twitter.com/tyrrrz/status/1495972128977571848)

**DiscordChatExporter** is an application that can be used to export message history from any [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 most other rich media features.

> ❔ If you have questions or issues, **please refer to the [docs](https://github.com/Tyrrrz/DiscordChatExporter/tree/master/.docs)**.

> 💬 If you want to chat, **join my [Discord server](https://discord.gg/2SUWKFnHSm)**.

## Terms of use[[?]](https://github.com/Tyrrrz/.github/blob/master/docs/why-so-political.md)

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**

## 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** | \* 🟢 **[Stable release](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest)** (`DiscordChatExporter.zip`) | |

- 🟠 [CI build](https://github.com/Tyrrrz/DiscordChatExporter/actions/workflows/main.yml) (`DiscordChatExporter.Gui.zip`)|\* Windows **7** or higher|  
| **CLI** |\* 🟢 **[Stable release](https://github.com/Tyrrrz/DiscordChatExporter/releases/latest)** (`DiscordChatExporter.Cli.zip`
- 🟠 [CI build](https://github.com/Tyrrrz/DiscordChatExporter/actions/workflows/main.yml) (`DiscordChatExporter.Cli.zip`)
- 🐋 [Docker](https://hub.docker.com/r/tyrrrz/discordchatexporter) (`tyrrrz/discordchatexporter`)
- 📦 [AUR](https://aur.archlinux.org/packages/discord-chat-exporter-cli) (`discord-chat-exporter-cli`)
- 📦 [Nix](https://search.nixos.org/packages?query=discordchatexporter-cli) (`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:
> 
> - [.NET 8.0 Runtime for **macOS x64**](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-8.0.0-macos-x64-installer)
> - [.NET 8.0 Runtime for **macOS arm64**](https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-8.0.0-macos-arm64-installer)
> - [.NET 8.0 Runtime for **Linux**](https://learn.microsoft.com/dotnet/core/install/linux) (find the correct download for your distro)
> - On Windows, the runtime should be installed automatically when you run the application for the first time
> 
> 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.

## Features

- 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

## Screenshots

 ![image](https://onehack.st/uploads/default/original/3X/b/e/be34c6e58a3c268892d3a3facc0f14266a769e37.png)

 ![image](https://onehack.st/uploads/default/original/3X/2/6/26761bff781c7f73776e4dc1dd658e7cfaa3e62f.png)

Source: `https://github.com/Tyrrrz/DiscordChatExporter?tab=readme-ov-file`

## **ENJOY & HAPPY LEARNING!** ❤

Appreciate the share & feedback! don’t be cheap!
