Discord chat exporter filter

Short answerFilters, on the Messages panel, keep only the messages you want in an export. From, Contains text, Has, Mentions and Pinned only combine with AND. Any ticked Has type is enough. Filters are free.

What it does

Filters start collapsed. Open Filters on the Messages panel.

  • From.

    User IDs, usernames or display names, separated by commas. An ID must match exactly. A name must be the whole username or display name, ignoring case, not part of a name. Listing several people keeps a message from any one of them.

  • Contains text.

    A case-insensitive match in the message text, plus embed titles and descriptions. It does not search other embed fields.

  • Has.

    Image, video, audio, file, link, embed or sticker. A message matches if it has any one of the types you tick. Image, video and audio mean attachments of that kind. File means any attachment. Link means an http or https URL in the message text. A URL that appears only inside an embed does not count as a link. Embed means the message has an embed. Sticker means the message has a sticker. To save a server's sticker files, use the emoji and sticker downloader.

  • Mentions.

    A user ID, username or display name, separated by commas, matched the same way as From, against the people that message actually mentions.

  • Pinned only.

    When this is ticked, only pinned messages match. When it is not ticked, pinned messages are still included if they match the other fields.

Different fields combine with AND. From "alice" and Has "image" keeps Alice's messages that have an image.

Filters work with HTML, PDF, Excel (XLSX), CSV, JSON and TXT. HTML and TXT write the filters in the header. JSON stores them in a filters field when at least one field is set. CSV and Excel include the matching rows and do not repeat the filter settings in the file. To filter, then open the file in a spreadsheet, see the Excel and CSV guide.

The same filters apply when you export several channels. That option needs the paid Chat Exporter tool (or All tools). Each channel is still its own file.

A media-only export downloads files only from messages that match. The media type and extension filters then choose which of those files to save. Media-only needs Media Downloader (or All tools). It cannot be combined with Only new messages.

First N and last N count matching messages. Last N with a From filter keeps the latest matching messages from those people, not the latest messages in the whole chat.

While an export runs, progress shows how many messages were scanned and how many matched.

With Only new messages, DiscordSuite remembers the newest message it looked at, including messages that did not match. A later export does not revisit those messages, even if you change the filters. If an export stops before the end, DiscordSuite does not mark the unscanned part as already checked. Only new messages needs the paid Chat Exporter tool, and it cannot be combined with first or last N. Backups that export only new messages since the last export are covered in the backup guide. See How DiscordSuite works for install and permissions.

Message Cleaner does not use these filters. It deletes your own messages in the open chat after you confirm. If you want a copy first, export, then use Message Cleaner. The steps are in how to delete all your Discord messages.

How to use it

  1. 1

    Open the channel, thread or DM in Discord in your browser.

  2. 2

    Open DiscordSuite and stay on Messages.

  3. 3

    Open Filters and fill only the fields you need.

  4. 4

    Pick an export format. Optional: dates, first or last N, attachments, media only, or several channels. Walkthrough for dates, last N, one person and pins: How to export part of a Discord chat.

  5. 5

    Click Export.

The channel walkthrough is How to export a Discord chat. To export one thread, open it first; the filters work the same way. Leave the filters empty to archive a channel with its whole history. For files only, see How to download all images from a Discord channel.

Export messages from one user

Put that person's user ID, username or display name in From. Add more people, separated by commas, to keep messages from any of them. Other fields you fill still have to match.

Free vs paid tool

FreePaid

Filters are free, on every format. The free plan still has a lifetime message total, and that total counts matching messages. The paid Chat Exporter tool (or All tools) removes the message limit and adds several channels at once, only new messages, and attachments in one ZIP. Media-only export needs Media Downloader. See pricing.

Frequently asked questions

Can I export messages from one Discord user?

Yes. In From, enter that person's user ID, username or display name. Separate extra people with commas to include any of them.

Can I export only images or links from a Discord chat?

Yes. Tick Image, Link, or both under Has. Any ticked type matches. Media-only export saves the files from the matching messages and skips the transcript. Media-only needs Media Downloader.

Which export formats do message filters work with?

HTML, PDF, Excel (XLSX), CSV, JSON and TXT. HTML and TXT record the filters in the header. JSON stores them in a filters field. CSV and Excel contain the matching rows and do not copy the filter settings into the file.

Do non-matching messages come back if I change the filters later?

Not if you used Only new messages and that export finished. DiscordSuite skips messages it already scanned, including ones that did not match, even if the filters change. If the export stopped before the end, the unscanned part is still available next time.

Filter a Discord export