Skip to content

Discord chat history

How to export Discord messages to a file

Discord has no channel export button. Run /export start with Pippin to save one channel, thread or forum post. Pippin sends ZIP files to your DMs with HTML you can read offline and JSON for your tools.

Each ZIP contains index.html and messages.json. With media on, the media folder holds downloaded attachments and avatars.

Choose the source

Select a text or announcement channel, a thread, or one post in a forum or media channel. Export threads separately from their parent channel.

Check permissions

You need Manage Messages, View Channel and Read Message History in the source. Pippin needs View Channel and Read Message History there. A private thread must be visible to both of you.

Check the cost

Export costs one move per 100 messages delivered, rounded up, on every plan. The server pays as each part arrives. Free includes 300 monthly moves and 1,000 one-time bonus moves.

How to export a Discord chat with Pippin

  1. 1

    Allow direct messages from the server

    Open the server's privacy settings and allow direct messages. Pippin sends a short DM before it starts. Keep DMs open until the files arrive.

  2. 2

    Choose the conversation and range

    Run /export start in the conversation, or select it with the channel option. To save a range, paste message links from that conversation into from and to. Both endpoints are included. Leave media on to include attachments and avatars, or turn it off for smaller files.

  3. 3

    Check progress

    Select Refresh to see how many messages and parts Pippin has sent. Use /export status to reopen the status screen. Select Cancel to stop. You keep the parts already delivered. Each server can run one export at a time.

  4. 4

    Download and open each ZIP

    Find the parts in your DMs from Pippin. Each ZIP holds up to 19 MiB. Extract each part into its own folder and open index.html in your browser. One run can deliver up to 250,000 messages in up to 50 parts.

What you get in the file

Open index.html to read the conversation in a dark theme. The HTML works offline without JavaScript. After 1,000 messages, follow the link to the next page. Each message keeps its author, original timestamp, reply reference and reaction counts where present.

Read messages.json to process the same history in your own tools. With media on, the media folder holds downloaded attachments and avatars. Custom emoji and embed images still link to Discord. If an attachment is unavailable or too large, the export marks it and keeps its link.

To keep the conversation readable inside Discord, copy the channel with /copy-channel or lock the original channel.

Export vs Discord's official data package

For your own message history, request a data package in Discord's Data & Privacy settings. Its message files contain the messages you sent, including in DMs. Discord emails you a download link within 30 days.

For a server conversation, Pippin includes the other members' messages you have permission to read. You receive each finished part in Discord.

Pippin vs DiscordChatExporter

DiscordChatExporter is a free, open-source desktop app and command-line tool. It runs on your machine and offers HTML, TXT, CSV and JSON. It supports personal DM history with a user token. Its documentation warns that automating a user account violates Discord's terms.

Pippin runs as a bot in your server. You can start an export on mobile or desktop without installing an exporter or pasting an account token. Each ZIP includes both HTML and JSON.

How to back up a Discord server

For files, run /export start once per channel, thread or forum post. Voice and stage channels cannot be exported. Pippin has no scheduled exports or restore command for these files.

Use /copy-server to keep a copy of the message history in another Discord server.

How Pippin helps

What happens if an export stops?

At a limit

Start another export with the continuation link from your last DM. If the server used its moves, wait for the monthly reset or add bonus moves first.

If access changes

If you lose channel access or close your DMs, delivery stops. The parts you already received stay in your DMs and still count toward the server's usage.

Play with Pippin for free on our support server

Join the Pippin Discord to try message, thread, forum-post, and conversation moves in a live test environment. No subscription or credit card, and it doesn't use your server's moves.

Discord logoJoin & try for free

Frequently asked questions

Can I back up a Discord server to a file?

Export each channel, thread and forum post separately. For a copy in another Discord server, use /copy-server. Pippin cannot restore a server from the ZIP files.

Can I export direct messages?

Pippin cannot export your DMs or group DMs. Request your Discord data package for the messages you sent there.

How do I download the rest of a channel's history?

If you reach a limit or run out of moves, use the continuation link in the last DM as from in a new /export start. If Pippin gives the last delivered message instead of the next one, that message appears in both exports.

Does an export change the channel?

The original messages stay where they are. Pippin sends status updates privately and posts no files in the channel.

Who can download the export?

Pippin delivers the ZIP files to your DMs. It keeps no copy and does not publish an archive website.