Exports Discord chat logs to a file
Go to file
dependabot[bot] c2d7f7effc
Bump the nuget group with 15 updates
Bumps AsyncImageLoader.Avalonia from 3.7.0 to 3.8.0
Bumps Avalonia to 12.0.0, 12.0.2
Bumps Avalonia.Desktop from 11.3.14 to 12.0.2
Bumps coverlet.collector from 8.0.1 to 10.0.0
Bumps DialogHost.Avalonia from 0.11.0 to 0.12.1
Bumps Gress from 2.1.1 to 2.2.0
Bumps Markdig from 1.1.2 to 1.1.3
Bumps Microsoft.Extensions.Configuration from 10.0.5 to 10.0.7
Bumps Microsoft.Extensions.Configuration.EnvironmentVariables from 10.0.5 to 10.0.7
Bumps Microsoft.Extensions.Configuration.UserSecrets from 10.0.5 to 10.0.7
Bumps Microsoft.Extensions.DependencyInjection from 10.0.5 to 10.0.7
Bumps Microsoft.NET.Test.Sdk from 18.3.0 to 18.5.1
Bumps RazorBlade from 0.11.0 to 1.0.0
Bumps Spectre.Console from 0.54.0 to 0.55.2
Bumps YoutubeExplode from 6.5.7 to 6.6.0

---
updated-dependencies:
- dependency-name: AsyncImageLoader.Avalonia
  dependency-version: 3.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: Avalonia
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nuget
- dependency-name: Avalonia
  dependency-version: 12.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nuget
- dependency-name: Avalonia.Desktop
  dependency-version: 12.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nuget
- dependency-name: coverlet.collector
  dependency-version: 10.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nuget
- dependency-name: DialogHost.Avalonia
  dependency-version: 0.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: Gress
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: Markdig
  dependency-version: 1.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
- dependency-name: Microsoft.Extensions.Configuration
  dependency-version: 10.0.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
- dependency-name: Microsoft.Extensions.Configuration.EnvironmentVariables
  dependency-version: 10.0.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
- dependency-name: Microsoft.Extensions.Configuration.UserSecrets
  dependency-version: 10.0.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-version: 10.0.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: nuget
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-version: 18.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: RazorBlade
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nuget
- dependency-name: Spectre.Console
  dependency-version: 0.55.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
- dependency-name: YoutubeExplode
  dependency-version: 6.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nuget
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-01 12:03:33 +00:00
.assets
.docs Update token extraction script in docs (#1511) 2026-03-16 15:24:54 +02:00
.github Standardize repo structure 2026-04-19 16:24:23 +03:00
DiscordChatExporter.Cli Remove BOM 2026-04-19 23:13:12 +03:00
DiscordChatExporter.Cli.Tests Remove BOM 2026-04-19 23:13:12 +03:00
DiscordChatExporter.Core Use PowerKit's Uri.TryGetFilaName() 2026-04-20 22:22:11 +03:00
DiscordChatExporter.Gui Refactor GUI spacing 2026-04-22 17:18:28 +03:00
.gitignore
Directory.Build.props Standardize repo structure 2026-04-19 16:24:23 +03:00
Directory.Packages.props Bump the nuget group with 15 updates 2026-05-01 12:03:33 +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
favicon.icns Update favicon 2026-03-31 23:47:26 +03: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
License.txt
NuGet.config
Readme.md Add warning against user account automation 2026-04-14 22:52:10 +03:00

DiscordChatExporter

Status Made in Ukraine Build Coverage Release Downloads Pulls Discord Fuck Russia

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

Icon

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.

Terms of use[?]

By using this project or its source code, for any purpose and in any shape or form, you grant your implicit agreement to all the following statements:

  • You condemn Russia and its military aggression against Ukraine
  • You recognize that Russia is an occupant that unlawfully invaded a sovereign state
  • You support Ukraine's territorial integrity, including its claims over temporarily occupied territories of Crimea and Donbas
  • You reject false narratives perpetuated by Russian state propaganda

To learn more about the war and how you can help, click here. Glory to Ukraine! 🇺🇦

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)

Important

To launch the GUI version of the app on MacOS, you may need to first remove the downloaded file from quarantine. You can do that by running the following command in the terminal: xattr -rd com.apple.quarantine DiscordChatExporter.app.

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

See also

  • Chat Analytics — solution for analyzing chat patterns of Discord users, using exports produced by DiscordChatExporter.
  • DiscordChatExporter-frontend — convenient viewer for exports produced by DiscordChatExporter.