Saves Discord chat logs to a file
  • C# 91%
  • HTML 8.4%
  • PowerShell 0.3%
  • Dockerfile 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Janik a63d95313e
Some checks failed
docker / pack (push) Has been cancelled
docker / deploy (push) Has been cancelled
main / format (push) Has been cancelled
main / test (push) Has been cancelled
main / pack (DiscordChatExporter.Cli, DiscordChatExporter.Cli, linux-arm) (push) Has been cancelled
main / pack (DiscordChatExporter.Cli, DiscordChatExporter.Cli, linux-arm64) (push) Has been cancelled
main / pack (DiscordChatExporter.Cli, DiscordChatExporter.Cli, linux-musl-x64) (push) Has been cancelled
main / pack (DiscordChatExporter.Cli, DiscordChatExporter.Cli, linux-x64) (push) Has been cancelled
main / pack (DiscordChatExporter.Cli, DiscordChatExporter.Cli, osx-arm64) (push) Has been cancelled
main / pack (DiscordChatExporter.Cli, DiscordChatExporter.Cli, osx-x64) (push) Has been cancelled
main / pack (DiscordChatExporter.Cli, DiscordChatExporter.Cli, win-arm64) (push) Has been cancelled
main / pack (DiscordChatExporter.Cli, DiscordChatExporter.Cli, win-x64) (push) Has been cancelled
main / pack (DiscordChatExporter.Cli, DiscordChatExporter.Cli, win-x86) (push) Has been cancelled
main / pack (DiscordChatExporter.Gui, DiscordChatExporter, linux-arm) (push) Has been cancelled
main / pack (DiscordChatExporter.Gui, DiscordChatExporter, linux-arm64) (push) Has been cancelled
main / pack (DiscordChatExporter.Gui, DiscordChatExporter, linux-musl-x64) (push) Has been cancelled
main / pack (DiscordChatExporter.Gui, DiscordChatExporter, linux-x64) (push) Has been cancelled
main / pack (DiscordChatExporter.Gui, DiscordChatExporter, osx-arm64) (push) Has been cancelled
main / pack (DiscordChatExporter.Gui, DiscordChatExporter, osx-x64) (push) Has been cancelled
main / pack (DiscordChatExporter.Gui, DiscordChatExporter, win-arm64) (push) Has been cancelled
main / pack (DiscordChatExporter.Gui, DiscordChatExporter, win-x64) (push) Has been cancelled
main / pack (DiscordChatExporter.Gui, DiscordChatExporter, win-x86) (push) Has been cancelled
main / release (push) Has been cancelled
main / deploy (DiscordChatExporter.Cli, DiscordChatExporter.Cli, linux-arm) (push) Has been cancelled
main / deploy (DiscordChatExporter.Cli, DiscordChatExporter.Cli, linux-arm64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Cli, DiscordChatExporter.Cli, linux-musl-x64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Cli, DiscordChatExporter.Cli, linux-x64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Cli, DiscordChatExporter.Cli, osx-arm64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Cli, DiscordChatExporter.Cli, osx-x64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Cli, DiscordChatExporter.Cli, win-arm64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Cli, DiscordChatExporter.Cli, win-x64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Cli, DiscordChatExporter.Cli, win-x86) (push) Has been cancelled
main / deploy (DiscordChatExporter.Gui, DiscordChatExporter, linux-arm) (push) Has been cancelled
main / deploy (DiscordChatExporter.Gui, DiscordChatExporter, linux-arm64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Gui, DiscordChatExporter, linux-musl-x64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Gui, DiscordChatExporter, linux-x64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Gui, DiscordChatExporter, osx-arm64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Gui, DiscordChatExporter, osx-x64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Gui, DiscordChatExporter, win-arm64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Gui, DiscordChatExporter, win-x64) (push) Has been cancelled
main / deploy (DiscordChatExporter.Gui, DiscordChatExporter, win-x86) (push) Has been cancelled
main / notify (push) Has been cancelled
Clamp dates to valid Discord epoch values (#1604)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com>
2026-11-14 20:24:00 +02:00
.assets Update screenshot 2023-02-16 23:16:04 +02:00
.devcontainer Update CSharpier in devcontainer 2026-11-04 20:51:00 +00:00
.docs Fix grammar 2026-07-25 20:28:29 +03:00
.github Add macOS instructions to packaged assets (#1605) 2026-11-04 23:49:50 +02:00
DiscordChatExporter.Cli Show only the message for domain-specific errors (#1596) 2026-10-17 13:19:58 +03:00
DiscordChatExporter.Cli.Tests Only render http(s) embed URLs as links in HTML export (#1594) 2026-11-06 15:19:20 +02:00
DiscordChatExporter.Core Clamp dates to valid Discord epoch values (#1604) 2026-11-14 20:24:00 +02:00
DiscordChatExporter.Gui Reformat XAML 2026-10-29 15:28:14 +00:00
.editorconfig Add .editorconfig 2026-10-25 16:47:51 +02:00
.gitignore Fix case-insensitive lookup for data package index file (#1460) 2026-01-01 21:19:59 +02:00
Contributing.md Update Contributing.md 2026-10-29 17:48:53 +02:00
Directory.Build.props Remove lang version from build props 2026-05-03 16:01:32 +03:00
Directory.Packages.props Replace JsonExtensions with PowerKit.Json 2026-11-01 13:24:08 +00:00
DiscordChatExporter.Cli.dockerfile Migrate to Centralized NuGet Package Management (CPM) (#1489) 2026-02-26 21:29:46 +02:00
DiscordChatExporter.slnx Standardize repo structure 2026-04-19 16:24:23 +03:00
docker-entrypoint.sh Fix pathing in docker entrypoint 2024-01-31 21:32:40 +02:00
favicon.ico Update favicon 2026-03-31 23:47:26 +03:00
favicon.png Update favicon 2026-03-31 23:47:26 +03:00
global.json Update to .NET 10 2025-11-11 19:46:22 +02:00
License.txt Update license year 2025-12-06 19:20:21 +02:00
NuGet.config Update NuGet.config 2022-04-22 17:03:03 +03:00
Readme.md Add macOS instructions to packaged assets (#1605) 2026-11-04 23:49:50 +02:00

DiscordChatExporter

Status Build Coverage Release Downloads Pulls Discord

Development of this project is entirely funded by the community. Consider donating to support!

Icon

Made in 🇺🇦 Ukraine — despite Russia's best efforts. Using this project or its source code comes with the implicit agreement that you condemn Russia's war of aggression against Ukraine, recognize Russia as a terrorist state, and support Ukraine's territorial integrity.

DiscordChatExporter is an application that can be used to export message history from any Discord channel to a file. It works with direct messages, group messages, and server channels, and supports Discord's dialect of markdown as well as most other rich media features.

Warning

While DiscordChatExporter allows it, automating user accounts is against Discord TOS and may result in you getting banned. If possible, use a bot to export chat logs from accessible channels.

See also:

Download

  • Graphical user interface (desktop app):
    • 🟢 Stable release: look for DiscordChatExporter.*.zip
    • 🟠 CI build: look for DiscordChatExporter.*.zip
    • 📦 Scoop: scoop install extras/discordchatexporter (community-maintained)
    • 📦 WinGet: winget install Tyrrrz.DiscordChatExporter.GUI (community-maintained)
    • 📦 AUR: yay -S discord-chat-exporter-gui (community-maintained)
    • 📦 Nix: nix-shell -p discordchatexporter-desktop (community-maintained)
  • Command-line interface (terminal app):
    • 🟢 Stable release: look for DiscordChatExporter.Cli.*.zip
    • 🟠 CI build: look for DiscordChatExporter.Cli.*.zip
    • 🐋 Docker: docker pull tyrrrz/discordchatexporter
    • 📦 WinGet: winget install Tyrrrz.DiscordChatExporter.CLI (community-maintained)
    • 📦 AUR: yay -S discord-chat-exporter-cli (community-maintained)
    • 📦 Nix: nix-shell -p discordchatexporter-cli (community-maintained)

Note

Community-maintained packages are published independently from this repository and may not always be up to date with the latest release.

Note

If you're unsure which build is right for your system, consult with this page to determine your OS and CPU architecture.

Features

  • Cross-platform graphical and command-line interfaces
  • Authentication via either a user or a bot token
  • Multiple output formats: HTML (dark/light), TXT, CSV, JSON
  • Support for markdown, attachments, embeds, emoji, and other rich media features
  • File partitioning, date ranges, message filtering, and other export options
  • Self-contained exports that can be viewed offline

Screenshots

channel list rendered output