DiscordChatExporter: Save Your Discord Chat Logs to a File

DiscordChatExporter: Save Your Discord Chat Logs to a File

Summary

DiscordChatExporter is a powerful, cross-platform application designed to export Discord message history. It supports direct messages, group chats, and server channels, preserving rich media features and Discord's markdown. Users can save their chat logs to various formats, including HTML, TXT, CSV, and JSON.

Repository Info

Updated on March 13, 2026
View on GitHub

Tags

Click on any tag to explore related repositories

Introduction

DiscordChatExporter, developed by Tyrrrz, is an essential tool for anyone looking to archive their Discord conversations. This versatile application allows users to export message history from any Discord channel, including direct messages, group messages, and server channels. It meticulously preserves Discord's rich media features and markdown, ensuring that your exported logs are comprehensive and accurate.

Installation

DiscordChatExporter offers both a graphical user interface (GUI) and a command-line interface (CLI) for various platforms.

GUI (Desktop App):

Download the latest stable release from the GitHub releases page (look for DiscordChatExporter.*.zip).

CLI (Terminal App):

Download the latest stable release from the GitHub releases page (look for DiscordChatExporter.Cli.*.zip).

Docker:

You can also use the Docker image:

docker pull tyrrrz/discordchatexporter

AUR (Arch Linux):

Install via AUR:

discord-chat-exporter-cli

Nix:

Install via Nix:

discordchatexporter-cli

Important Note for MacOS Users:

To launch the GUI version on MacOS, you need to remove the downloaded file from quarantine by running the following command in your terminal:

xattr -rd com.apple.quarantine DiscordChatExporter.app

Key Features

DiscordChatExporter provides a robust set of features to customize your export process:

  • Cross-Platform Compatibility: Available as both a GUI and CLI application for various operating systems.
  • Flexible Authentication: Authenticate using either a user token or a bot token.
  • Multiple Output Formats: Export chats to HTML (with dark/light themes), TXT, CSV, or JSON.
  • Rich Media Support: Full support for markdown, attachments, embeds, emojis, and other rich media elements.
  • Advanced Export Options: Utilize file partitioning, specify date ranges, and apply message filtering for precise exports.
  • Offline Viewing: Generate self-contained exports that can be viewed without an internet connection.

Why Use

DiscordChatExporter stands out as a premier solution for Discord chat archiving due to its comprehensive feature set and ease of use. Whether you need to preserve important conversations, analyze chat patterns, or simply keep a personal record, this tool offers unparalleled flexibility. Its ability to handle various Discord channel types and rich media, combined with multiple output formats, makes it an invaluable asset for any Discord user.

Links

For more information and to get started with DiscordChatExporter, refer to these official links: