Discord History Tracker lets you save chat history in your servers, groups, and private conversations, and view it offline.
You can use Discord History Tracker either entirely in your browser, or download a desktop app for Windows / Linux / Mac. While the browser-only method is simpler and works on any device that has a modern web browser, it has significant limitations and fewer features than the app. Please read about both methods below.
A tracking script will load messages according to your settings, and save them in your browser.
Because everything happens in your browser, if the browser tab is closed, or your browser or computer crashes, you will lose all progress. Your browser may also be unable to process large amounts of messages. If this is a concern, use the app method.
Preferred option. Requires a browser addon, but DHT will stay up-to-date and be easily accessible on the Discord website.
The console is the only way to use DHT directly in the desktop app.
Your browser may not support copying to clipboard, please try copying the script manually:
Requires Firefox 69 or newer.
Whenever DHT is updated to work with a new version of Discord, it may no longer work with the previous version of Discord.
If you haven't received that Discord update yet, see Release Notes for information about recent updates, and Old Versions if you need to use an older version of DHT.
When using the script for the first time, you will see a Settings dialog where you can configure the script. These settings will be remembered as long as you don't delete cookies in your browser.
By default, Discord History Tracker is set to automatically scroll up to load the channel history, and pause tracking if it reaches a previously saved message to avoid unnecessary history loading.
Before you Start Tracking, you may use Upload & Combine to load messages from a previously saved archive file into the browser.
When you click Download, the browser will generate an archive file from saved messages, and lets you save it to your computer.
First, save the Viewer file to your computer. Then you can open the downloaded viewer in your browser, click Load File, and select the archive to view.
The app can be downloaded from GitHub. Every release includes 4 versions available:
The three non-portable versions include an executable named DiscordHistoryTracker you can launch. For the portable version, extract the archive into a folder, open the folder in a terminal and type: dotnet DiscordHistoryTracker.dll
The app saves messages into a database file stored on your computer. When you open the app, you are given the option to create a new database file, or open an existing one.
In the Tracking tab, click Copy Tracking Script to generate a tracking script that works similarly to the browser-only version of Discord History Tracker, but instead of saving messages in the browser, the tracking script sends them to the app which saves them in the database file.
See Option 2: Browser / Discord Console above for more detailed instructions on how to paste the tracking script into the browser or Discord app console.
When using the script for the first time, you will see a Settings dialog where you can configure the script. These settings will be remembered as long as you don't delete cookies in your browser.
By default, Discord History Tracker is set to automatically scroll up to load the channel history, and pause tracking if it reaches a previously saved message to avoid unnecessary history loading.
In the Viewer tab, you can open a viewer in your browser, or save it as a file you can open in your browser later. You also have the option to apply filters to only view a portion of the saved messages.
-port <p>
and -token <t>
command line arguments to configure the server manually — otherwise, they will be assigned automatically in a way that allows running multiple separate instances of the app.Issues & Suggestions — Source Code — Follow Dev on Twitter — Support via Patreon — Support via Ko-fi