DiscordChatExporter
Export any Discord channel's message history to HTML, TXT, CSV, or JSON — DMs, groups, and servers included.
Visit websiteOverview
Discord keeps your conversations, but it never gives you a way to take them with you. DiscordChatExporter turns any channel's history into a file you own.
Every export is a self-contained file you can open offline — messages with Discord's markdown, attachments, embeds, and emoji intact, in HTML, TXT, CSV, or JSON.
What it does
- Any channel — direct messages, group messages, and server channels
- Four formats — HTML in dark or light themes, plus TXT, CSV, and JSON
- Precise exports — file partitioning, date ranges, and message filtering
- Two interfaces — a graphical app and a command-line tool, plus a Docker image
- Your credentials, your choice — authenticate with a user token or a bot token
How it runs
Free and open source under the MIT license, with desktop and CLI builds for Windows, macOS, and Linux, plus a Docker image. The README warns that automating a user account breaks Discord's terms and can get it banned, so a bot token is the safer route.
Who it is for
Moderators archiving a server, researchers studying a conversation, and anyone who wants a personal backup of chats that matter.