Discord History Tracker BETA v.3

Discord History Tracker is a browser script that lets you locally save chat history in your servers, groups, and private conversations.

When the script is active, it will automatically load history of the selected text channel up to the first message, and let you download it for offline viewing in your browser.

How to Save History

...in your browser

Add the script as a browser bookmark by clicking Add Bookmark. Then open your Discord Friends list in a new tab (do not use an already opened one), and click the bookmark.

...in Discord app

Click Copy to Clipboard to copy the script. Then press Ctrl+Shift+I in the Discord app, select Console, paste the script into the text box on the bottom and press Enter to run it.

The script may ask you to reload Discord, simply paste and run the script again after the reload (the console stays open).

What next?

When running for the first time, you will see a Settings dialog with additional instructions that explain the limitations and recommendations. Please, read them carefully.

Upload your previously saved file if you have any. By default, Discord History Tracker is set to pause tracking after it reaches a previously saved message to avoid unnecessary history loading. You may also set it to load all channels in the server or your friends list by checking Switch to Next Channel.

Once you have configured everything, click Start Tracking, let it run in the background, and download the file when done.

How to View History

To browse the saved text channels, open the Viewer and upload the file. It is recommended to download the viewer and place it next to your saved files, that way you can view your history offline.

External Links

Planned Features


Discord History Tracker and the viewer are fully client-side and do not communicate with any servers. If you close your browser while the script is running, all unsaved progress will be lost.

Please, do not use this script for large or public servers. The script was made as a convenient way of keeping a local copy of private and group chats, as Discord is currently lacking this functionality.

Make sure you are using an up-to-date browser. Internet Explorer and old versions of good browsers are not supported.