How to export a Discord chat to Excel or CSV
Excel or CSV: which should I pick?
Pick Excel (XLSX) to open the file straight in Excel with a frozen header row; pick CSV for Google Sheets, databases or scripts. Compare all six export formats to see what each file contains.
This guide is about messages, one row per message. For a list of a server's members, see how to export a Discord member list to CSV or Excel.
Step-by-step
- 1
Install DiscordSuite from the Chrome Web Store.
- 2
Open the channel, thread or DM on discord.com in Chrome, Firefox or Edge.
- 3
Click the DiscordSuite icon.
- 4
Choose XLSX or CSV in the Format menu.
- 5
Optional: set From and To dates.
- 6
Click Export and save.

XLSX and CSV export are in Chat Exporter, the tool that exports the chat to a spreadsheet.
What columns do you get?
Both formats have the same 11 columns. For every option in the export window, see the step-by-step guide to exporting a Discord chat. To export a DM to a spreadsheet, open the DM and follow the same steps.

| Column | What it holds |
|---|---|
| MessageId | Discord's message ID |
| Timestamp | When the message was sent (UTC, ISO 8601) |
| AuthorId | The author's user ID |
| Author | Username |
| AuthorDisplayName | Display name |
| Content | Message text |
| Attachments | Attachment URLs, space-separated |
| Reactions | Emoji with counts, e.g. "👍 (3)" |
| ReplyTo | ID of the message being replied to |
| Edited | When it was edited, if it was |
| Pinned | true or false |
When you export a thread, a twelfth column, ThreadParent, marks the starter message as true and the thread's replies as false.
Download a sample spreadsheet
Open a sample Discord chat export (CSV) to see the eleven columns filled in. The usernames, IDs and messages are fictional, and the file is labelled as sample data. It is written the same way as a real DiscordSuite CSV export, including the UTF-8 marker Excel needs. Paste a MessageId into the Discord ID lookup and you get the same instant as the Timestamp column.
Opening CSV in Excel and Google Sheets
DiscordSuite's CSV is UTF-8 with a byte-order mark, so emoji and accents display correctly when you double-click it in Excel. In Google Sheets, use File → Import → Upload. Message text that starts with =, +, - or @ is escaped with an apostrophe so it can't run as a formula. Excel can round long IDs if it treats them as numbers. If a MessageId or AuthorId looks wrong, import the CSV with those columns set to Text. The Excel (XLSX) export already stores IDs as text and freezes the header row, so you can sort or filter without losing the column names.
Ideas for analysis
- Count messages per person with a pivot table on Author, or filter the Author or AuthorId column to one person.
- Chart activity over time by grouping Timestamp by day. Timestamps are UTC.
- Filter Content for keywords or links, or use DiscordSuite's message filters to export only those messages in the first place.
- Use ReplyTo to follow a reply chain: it holds the MessageId of the message being answered.
- Filter Pinned to true to list only pinned messages.
Frequently asked questions
Can I export Discord messages to Google Sheets?
Yes. Export to CSV or XLSX, then import the file into Google Sheets.
Why do emoji look broken in my CSV?
DiscordSuite's CSV includes a UTF-8 marker that Excel recognizes. If another app shows odd characters, import the file as UTF-8.