Export your Discord channel history to a file, no fuss
Discord community and DM history can finally be archived in files the user owns, though automation via personal accounts risks a Discord ban.
DiscordChatExporter is a free, open-source tool that downloads your Discord message history into a file you control. Discord itself offers no 'download everything' button, so this fills the gap for DMs, group chats and server channels while keeping formatting and images intact. It works as a point-and-click desktop app or a command-line script tool. It suits anyone archiving a community, though automating it with your personal account violates Discord's terms of service.
Organisations running Discord communities have no built-in export, so chat records stay locked to Discord's servers, this tool mitigates that lock-in risk before a server is retired. It is free, open source and in maintenance mode, with a Docker image and package managers like WinGet and Scoop for deployment. The material risk: automated exports via user accounts breach Discord's terms and can trigger bans; bot-based export is the safer route. Companion tools like chat-analytics add value to the exported files.
DiscordChatExporter (Tyrrrz/DiscordChatExporter) exports message history from DMs, group DMs and server channels, preserving Discord's markdown dialect and most rich media rather than flattening output to plaintext. It ships as a GUI desktop app and a CLI, with a Docker image, stable release zips, CI builds and packages for Scoop, WinGet, AUR and Nix. The project is in maintenance mode. The README warns that automating user accounts violates Discord's TOS and recommends bot-based export for accessible channels.