# Export Discord Chat to HTML, PDF, CSV, Excel, JSON, TXT

https://discordsuite.io/features/export-formats/

# Export Discord chat to HTML, PDF, CSV, Excel, JSON or TXT

**Short answer** DiscordSuite saves any Discord channel, thread or DM as HTML, PDF, Excel (XLSX), CSV, JSON or TXT, and every format is on the free plan.

[Add to Chrome](https://chromewebstore.google.com/detail/discord-chat-exporter-dis/meibejmoeciaepbhjffdkacpbhiolooe?utm_source=discordsuite.io&utm_medium=tool&utm_content=export-formats)

## What it does

| Format | What you get | Pick it to… |
| --- | --- | --- |
| HTML | One file that looks like Discord: avatars, names, timestamps, formatting, mentions, custom emoji, replies, image previews, embeds, stickers, polls, reactions and edits | Read or share a chat |
| PDF | A PDF file of the chat, with searchable text and the images from Discord. One channel, thread or DM at a time | Print, file or send a chat as a document |
| Excel (XLSX) | A workbook with one row per message on a "Messages" sheet, header row frozen | Sort, filter or chart messages |
| CSV | The same 11 columns: MessageId, Timestamp, AuthorId, Author, AuthorDisplayName, Content, Attachments, Reactions, ReplyTo, Edited, Pinned. UTF-8, so emoji and accents show correctly | Use any spreadsheet or script |
| JSON | The full message data: author details, content, attachments, embeds, stickers, reactions, mentions, replies and polls | Feed scripts, databases or AI tools |
| TXT | A plain-text log, one line per message: `[timestamp] author: message` | Keep a lightweight, searchable log |

**HTML theme:** auto, light or dark. Auto follows the reader's system setting. Images, avatars and emoji load from Discord's CDN when you open the file (to [save a server's emoji files](https://discordsuite.io/guides/how-to-download-discord-emojis-and-stickers/) themselves, use the [emoji and sticker downloader](https://discordsuite.io/features/emoji-sticker-downloader/)); with Chat Exporter's **Download attachments** (or the All tools bundle), the export and every attachment come in one ZIP and the links open the local files after unzipping.

**Need a PDF?** Pick PDF in the Format menu and click Export. Step by step: [How to save a Discord chat as a PDF](https://discordsuite.io/guides/how-to-save-discord-chat-as-pdf/).

**Need a fuller record, with timestamps and files?** See [how to save Discord messages as a record](https://discordsuite.io/guides/save-discord-messages-as-evidence/). That page is not legal advice.

**Already have Discord's data package?** Its message files are JSON and hold only the messages you sent. A DiscordSuite export holds everyone's messages in the chat. See [Discord's data package vs a chat exporter](https://discordsuite.io/guides/discord-data-package-vs-chat-exporter/).

**Keeping a channel before it's hidden or deleted?** See how to [archive a Discord channel](https://discordsuite.io/guides/how-to-archive-a-discord-channel/).

**Checking a tool first?** Read [what an exporter can access](https://discordsuite.io/guides/is-discord-chat-exporter-safe/) before you install one.

## How to use it

1. Open the channel, thread or DM in Discord in Chrome, Firefox or Edge.
2. Click the DiscordSuite icon.
3. Pick a format (and, for HTML, auto, light or dark).
4. Optional: set From and To dates (both days included), the first or last N messages, or [message filters](https://discordsuite.io/features/message-filters/). Step by step: [How to export part of a Discord chat](https://discordsuite.io/guides/export-part-of-a-discord-chat/).
5. Click **Export** and save the file.

Every format is exported by [Chat Exporter, the tool that exports your Discord chat](https://discordsuite.io/features/chat-exporter/). Spreadsheet tips are in [How to export a Discord chat to Excel or CSV](https://discordsuite.io/guides/export-discord-chat-to-excel-csv/). To save a DM, see how to [export Discord DMs in any format](https://discordsuite.io/guides/how-to-export-discord-dms/).

## Free vs Chat Exporter

Free Paid

All six formats, an HTML theme of auto, light or dark, date ranges and first or last N are free. The free message allowance is a lifetime total, with a one-time bonus for leaving a review. Chat Exporter (or the All tools bundle) removes the limit and adds attachments in one ZIP, so you can [back up server messages with attachments](https://discordsuite.io/guides/how-to-backup-discord-server-messages/). See [pricing](https://discordsuite.io/pricing/).

## Frequently asked questions

**How do I save a Discord chat as an HTML file?**

Open the chat in Discord in Chrome, Firefox or Edge, click DiscordSuite, choose HTML and click Export. You get a single .html file that opens in any browser.

**Can I export a Discord chat to Excel?**

Yes. Choose Excel (XLSX) for a workbook, or CSV if you prefer a plain spreadsheet file.

**Can I export a Discord chat to PDF?**

Yes. Choose PDF in DiscordSuite's Format menu and click Export to get a PDF file of the chat. Step by step: [How to save a Discord chat as a PDF](https://discordsuite.io/guides/how-to-save-discord-chat-as-pdf/).

**Can I export a Discord chat in dark mode?**

Yes. Set the HTML theme to auto, light or dark before you export. Auto follows the reader's system setting.

## Pick a format and export your first chat

[Add to Chrome](https://chromewebstore.google.com/detail/discord-chat-exporter-dis/meibejmoeciaepbhjffdkacpbhiolooe?utm_source=discordsuite.io&utm_medium=tool&utm_content=export-formats)

## Related

- [All DiscordSuite features](https://discordsuite.io/features/)
- [Chat Exporter](https://discordsuite.io/features/chat-exporter/)
- [How to export a Discord chat](https://discordsuite.io/guides/how-to-export-discord-chat/)
- [How to export a Discord thread](https://discordsuite.io/guides/how-to-export-a-discord-thread/)
- [How to save a Discord chat as a PDF](https://discordsuite.io/guides/how-to-save-discord-chat-as-pdf/)
- [How to export a Discord chat to Excel or CSV](https://discordsuite.io/guides/export-discord-chat-to-excel-csv/)
- [Download all images from a Discord channel](https://discordsuite.io/guides/download-all-images-from-discord-channel/)
- [How DiscordSuite works](https://discordsuite.io/how-it-works/)
