opensourceprojects.dev

A broadsheet for software that doesn't ask for your email

Export your Discord channel history to a file, no fuss
GitHub RepoViews0

Project Description

View on GitHub

Your Discord Conversations Are Trapped in Discord—Here's How to Get Them Out

You've probably had a Discord server running for years now—full of inside jokes, project discussions, or a community you've built from scratch. But it's all locked inside Discord's servers, and there's no built-in "download everything" button. That's where DiscordChatExporter comes in: it's an application that pulls message history from any Discord channel and writes it to a file.

What It Does

DiscordChatExporter exports message history from Discord channels to a file. That's the core of it. It handles direct messages, group messages, and server channels, and it preserves Discord's markdown formatting along with most rich media features—so the export doesn't come out as a wall of unstyled plaintext.

The project ships in two flavors: a desktop app with a graphical interface, and a command-line interface for those who'd rather script things or run it in a terminal. There's also a Docker image available if you want to run the CLI in a container. The graphical app is distributed through the usual channels—stable release zips, CI builds, plus community-maintained packages for Scoop, WinGet, AUR, and Nix. The CLI gets the same treatment, with Docker thrown in on top.

Why It's Cool

Here's what makes this worth a look:

  • It covers every channel type. Direct messages, group DMs, server channels—all of them. If you've ever wanted to archive a DM thread or back up a server before shutting it down, this handles it without you needing to think about which kind of channel you're dealing with.

  • Formatting survives the trip. Discord's markdown dialect is preserved, and so are most rich media features. That matters more than it sounds—an export where every message is flattened into unstyled text is barely usable for anything beyond a text search.

  • Two interfaces, one tool. Some people want a point-and-click app; others want to pipe things through a shell script. You get both, and the CLI even has a Docker image so you can run it wherever you've got a container runtime.

  • It plays well with others. The README points to companion projects: mlomb/chat-analytics for analyzing chat patterns from the exports, and slatinsky/DiscordChatExporter-frontend as a viewer for the files it produces. That ecosystem angle is a nice signal—the output format is useful enough that other people built tools around it.

One thing worth flagging honestly: the README carries a clear warning that automating user accounts violates Discord's terms of service and could get you banned. It recommends using a bot to export logs from accessible channels where possible. That's a real constraint, not a footnote—worth reading before you start pointing it at your main account.

How to Try It

Getting started depends on which interface you want.

For the desktop app, grab the latest stable release from the releases page and look for the DiscordChatExporter.*.zip file. If you're on a package manager, there's a good chance it's already packaged:

scoop install extras/discordchatexporter   # Scoop
winget install Tyrrrz.DiscordChatExporter.GUI   # WinGet
yay -S discord-chat-exporter-gui   # AUR
nix-shell -p discordchatexporter-desktop   # Nix

For the CLI, download the DiscordChatExporter.Cli.*.zip from the same releases page, or pull the Docker image:

docker pull tyrrrz/discordchatexporter

WinGet and AUR packages exist for the CLI as well. The full repository—with documentation on usage, authentication, and export options—is at github.com/Tyrrrz/DiscordChatExporter.

Final Thoughts

This is a focused, practical tool that solves a specific problem well: getting your Discord history out of Discord and into a file you actually own. The dual GUI/CLI approach means it works whether you're a casual user who wants a backup or a developer building an archive pipeline. The maintenance status badge and the TOS warning are both worth noting—this isn't a set-and-forget automation tool for your personal account, and the project is in maintenance mode. But if you need to export a channel history, it's a solid, well-supported option with a healthy ecosystem around its output format.


Follow @githubprojects for more developer tools and open source projects.

Back to Projects
Project ID: discordchatexporterLast updated: November 27, 2026 at 02:47 AM