Discord History Tracker v.31h | Release Notes

Discord History Tracker lets you save chat history in your servers, groups, and private conversations, and view it offline.

This page explains how to use Discord History Tracker entirely in your browser. While this method gets you started quicker and works on any device that has a modern web browser, it has significant limitations and fewer features than the desktop app.

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 crash or freeze if you have too many messages. If this is a concern, use the desktop app instead.

How to Use

A tracking script will load messages according to your settings, and temporarily save them in your browser. Once you finish tracking, the browser will create an archive file you can save to your disk, and open in an offline viewer later.

Setup the Tracking Script

Option 1: Userscript

Preferred option. Requires a browser addon, but DHT will stay up-to-date and be easily accessible on the Discord website.

  1. Install a userscript manager addon:
    • Violentmonkey (Chrome)
    • Tampermonkey (Firefox, Edge, Chrome, Opera)
    • Due to browser bugs / limitations, DHT will not work in Firefox with Greasemonkey / Violentmonkey, and in Safari at all
  2. Click Install Userscript to prompt an installation into the userscript manager
  3. Open Discord, and view any server, group, or private conversation (it will not appear in Friends list)
  4. Click DHT in the top right corner:

Option 2: Browser / Discord Console

The console is the only way to use DHT directly in the desktop app.

  1. Click Copy to Clipboard to copy the tracking script
  2. Press Ctrl+Shift+I in your browser or the Discord app, and select the Console tab
  3. Paste the script into the console, and press Enter to run it
  4. Press Ctrl+Shift+I again to close the console

Your browser may not support copying to clipboard, please try copying the script manually:

Option 3: Bookmarklet

Requires Firefox 69 or newer.

  1. Right-click Discord History Tracker
  2. Select «Bookmark This Link» and save the bookmark
  3. Open Discord and click the bookmark to run the script

Old Versions

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.

How to Track Messages

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.

How to View History

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.

External Links