Exports Discord direct messages, group chats, and server channels to offline files in several formats.
Overview
DiscordChatExporter pulls message history from Discord and writes it to a file you can keep or archive. It works with direct messages, group messages, and server channels, and preserves Discord-style markdown and rich media such as attachments, embeds, and emoji where supported.
You can run a graphical desktop build or a command-line build. Authentication uses either a user token or a bot token; the documentation warns that automating user accounts may violate Discord’s terms, and suggests using a bot when possible for accessible channels.
Exports can be saved as HTML with dark or light themes, plain text, CSV, or JSON. Options include splitting output into multiple files, filtering by date or message, and producing self-contained HTML that opens without a live connection.
Stable and continuous integration builds are distributed as zip archives for the GUI and CLI. Community-maintained packages may lag behind the latest release.
Key features
- GUI and CLI interfaces
- User or bot token authentication
- HTML, TXT, CSV, JSON output
- Markdown and rich media support
- Date ranges and message filters
- File partitioning for large exports
- Offline-viewable HTML exports
- DMs, groups, and server channels
Use cases
- Archiving server conversation history
- Backing up a community channel offline
- Exporting logs for moderation records
- Automating exports via the CLI
- Sharing a static HTML chat transcript