Skip to content
OSINTtools.io

DiscordChatExporter

Verified yesterday

Desktop and command-line app that exports Discord channels, threads and DMs to HTML, TXT, CSV or JSON for offline archiving.

Windows/macOS/Linux desktop · CLI · Docker · Open source · Data capturing · github.com

Takes
Pricing
Free, open source
Footprint
Active · contacts the target
Account
Needed for full results
API
No public API
Last verified
Nov 25, 2026
Summary

Desktop and command-line app that exports Discord channels, threads and DMs to HTML, TXT, CSV or JSON for offline archiving. Read the cons before you build a workflow on it.

What it does

DiscordChatExporter is an open-source app that saves the message history of Discord server channels, threads, group chats and direct messages to files. It comes as a desktop app and as a command-line tool (also packaged for Docker), authenticates with a bot or user token, and writes HTML that looks like Discord, plain text, CSV or JSON, including usernames, timestamps, attachments, embeds and reactions.

Investigators use it to preserve Discord conversations before they are deleted, to analyse them offline, and to keep a readable copy as evidence. Filters for date ranges, authors and message types keep exports focused, and the CLI can be scripted for repeated captures.

Footprint is active: it contacts the target or the services it is checking, which can be logged on the other side. An account is needed for full results. There is no public API.

Pros
  • +Free and open source
  • +HTML output is easy for non-technical readers
  • +Structured CSV and JSON for analysis
  • +Actively maintained
Cons
  • −You can only export channels your account or bot can see
  • −Using a user token to automate an account breaks Discord's terms and can get it banned
  • −Handling a token safely takes some care

When to use it

  1. 01Use it when you need to archive a Discord channel before messages are removed.
  2. 02Use it when you want Discord messages in CSV or JSON for analysis.
Key featuresExport to HTML, TXT, CSV or JSONServer channels, threads, group chats and DMsDate range and message filtersAttachments, embeds and reactionsGUI and CLI versionsDocker image

Next steps from this result

Suggested from the inputs DiscordChatExporter takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

Quick start

Docker (CLI)
docker pull tyrrrz/discordchatexporter

Technical details

Listing verified by an editor on Nov 25, 2026
API
No public API
Account
Needed for full results
Footprint
Active · contacts the target
Pricing
Free, open source
Platforms
Windows/macOS/Linux desktop · CLI · Docker
Repository
Tyrrrz/DiscordChatExporter 12,447 stars
Language
C#
Licence
MIT
Last commit
Nov 2026
Listed
Nov 25

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used DiscordChatExporter? Sign in to say what you used it for and how it went.

Sign in to review

Alternatives to DiscordChatExporter

Listed tools that take the same inputs, closest match first.

No other listed tool takes the same inputs yet.

DiscordChatExporterOpen source · verified yesterday
Visit github.com (opens in new tab)