Skip to content
All resources
Guide
12 min read

How to Archive a Discord Server (and Where the Community Goes Next)

Learn how to archive a Discord server: freeze it, export the message history, and decide where the community goes next.

By Forumera team
On this page

Discord has no built-in "archive server" button. There is no menu item that turns an active server into a permanent, read-only record. If you are winding a server down, splitting a community, or moving somewhere else, "archiving" is really three separate jobs: freezing the server so nothing new happens in it, exporting the message history so it survives even if the server is deleted later, and, optionally, giving the community a new place to land.

It helps to be honest about what Discord is and is not. Discord message history is not indexed by search engines. If someone outside your server searches for a question that was already answered inside it, they will never find that answer, no matter how good it was. Once a server goes quiet or gets deleted, that history effectively disappears from view for anyone who was not already a member. Archiving well means deciding, on purpose, what happens to years of conversation before that happens by accident.

Step 1: Freeze the server

Freezing comes first because it stops new messages from complicating your export later, and it gives members a clear signal that something is changing.

  1. Announce a date. Pin a message and post it in every active channel, telling members when the server is going read-only and why.
  2. Set every channel read-only. In Server Settings, edit permissions for the @everyone role and remove Send Messages. Do this channel by channel, or on the categories that contain them, so nothing gets missed.
  3. Disable invites. Discord lets you pause invites from Server Settings, so no one new can join a server that is about to stop being active.
  4. Turn off community features you no longer need. If the server has Community mode enabled for things like server discovery or announcement channels you are not using, turn those off to stop new signups and noise.
  5. Keep one announcements channel open for staff. Leave a single channel writable, restricted to moderators or admins, so you can post updates about the migration itself.

A note on terminology: some Discord clients show an "Archive" option next to threads or channels. That only hides a thread from the active channel list. It is not server archiving, it does not export anything, and it does not protect the content if the server is later deleted.

Step 2: Export the history

There are two routes, and which one you take decides whether you end up with a community archive or with half a conversation.

RouteWhat you getWhat it costs you
Discord's data requestYour own messages, plus settings and the audit log for servers you ownUp to 30 days of waiting, and nobody else's messages
DiscordChatExporter with a bot tokenEvery channel the bot can read, as HTML, JSON, CSV or plain textA little setup in the developer portal
DiscordChatExporter with a user tokenThe same exportA breach of Discord's terms and a risk of a ban

Discord's own data request

The official route sits in User Settings under Data & Privacy (Request Data on desktop, "Request all of my data" on mobile). Discord needs a verified email on the account, handles one request at a time, and says it can take up to 30 days. The download link goes to the email attached when you made the request, and deleting the account before it arrives cancels the request.

The ZIP holds your profile and settings, every message you sent (deleted messages excluded) with attachment links, and, for servers you own, the channels, settings, webhooks, emoji and audit log. It does not hold anyone else's messages, and there is no setting that lets an admin request them. For a server owner it is an administrative record of the server with very little of the conversation, so run it last, as the only way to get the audit log and settings, and use a full export for the messages.

DiscordChatExporter and the token question

For a full server export, most admins use DiscordChatExporter, an open source (MIT) project maintained for years. It exports channels to HTML (dark or light theme), JSON, CSV or plain text, and the HTML output works offline. There is a desktop app for Windows, macOS and Linux, a cross-platform command line tool and a Docker image. For a whole server the command line matters: exportguild takes a server ID and walks its channels.

A few options change the result more than the format does:

OptionWhat it does
--mediaDownloads avatars, images and attached files instead of linking to them
--reuse-mediaSkips assets already fetched on a rerun
--include-threadsTakes none, active or all, and leaves threads out by default
--partitionSplits output after a message count or a file size such as 20mb, which keeps HTML files openable
--after, --beforeLimit the export to a date range
--filterFilters messages with expressions such as from:username has:image

The threads default is how people end up with an export that quietly misses years of thread discussion.

The tool accepts a user token or a bot token. Its own documentation warns that automating a user account is against Discord's Terms of Service and can get the account banned, and Discord's terms forbid scraping the service with automated software without consent. Use a bot: create an application in the Discord developer portal and invite it to your server with only View Channels and Read Message History. A bot reads only what its role can read, so the export matches the permissions you granted. We are not going to walk through extracting a token here: follow the tool's own documentation and make a bot token for this export rather than reusing one.

Other tools do narrower jobs. Discord History Tracker stores messages in a local SQLite file with a browser viewer. DiscordChatExporter-frontend puts a searchable, Discord-like interface over JSON exports. The Data Package Tool browses the official ZIP, which is otherwise a folder of CSV files named after channel IDs.

What every export misses

  • Attachments. Discord attachment URLs are signed with an expiry time, and once it passes the link is dead. An archive that stores only links, including the official data package, turns into a wall of broken images. This is the strongest reason to use --media.
  • Voice. Voice channels, stage events and screen shares were never recorded, so they leave nothing behind.
  • Threads, unless you ask for them with --include-threads all.
  • Edit history and deleted messages.
  • Who reacted with what. Reactions come through thin at best.
  • Roles and nicknames as they were. They are captured as they stand on export day, so an old argument loses the context of who held which role at the time.

A working order

  1. Name the scope. Most servers have three or four channels worth keeping and a dozen holding greetings, and exporting everything makes the result harder to use, not safer.
  2. Freeze the channels in scope (Step 1), so the export is a snapshot that stops moving.
  3. Invite the export bot with View Channels and Read Message History and nothing else.
  4. Run exportguild with --media, --reuse-media and --include-threads all.
  5. Export twice if you can: JSON for anything you might process later, HTML for anything a person will read.
  6. Verify. List the server's channels with the tool's channels command, compare the list against the files you produced, and open the oldest and newest exports to check that images load from local storage.
  7. Keep two copies in two places, neither of them Discord.
  8. Finish with the official data package for the audit log and server settings.

Large servers take time: years of history across many channels can take hours, mostly because of Discord's API rate limits. And check your jurisdiction's privacy rules before publishing anything. An export contains other people's words, usernames and sometimes personal details, and what you may do with it depends on where you and your members are, not just on Discord's own rules.

Step 3: Decide what happens to the exported history

An export is just a pile of HTML, JSON, or text files until you decide what it is for. Three common paths:

  1. Keep it private as a backup. This is the minimum. Store the export somewhere durable, note the date, and move on. Nobody outside the old server ever sees it again, but it is not lost either.
  2. Publish selected channels as static HTML on a website. DiscordChatExporter's HTML output can be uploaded as-is. This works well for a handful of channels that matter, like a rules channel or a highlights reel, but it does not give readers search or navigation the way a real site does.
  3. Import the valuable threads into a forum by hand. FAQ answers, setup guides, and pinned messages are usually a small fraction of the total history, but they are the part worth the effort of manually rewriting into proper posts.

An export is storage. Nobody searches a folder of HTML files or links to it, which is how archives quietly die even when the files survive. The communities that get value out of one do a second pass: they pick the twenty or so conversations members keep referring to, give each a title and a page, and put the conclusion at the top instead of two hundred messages below it.

Be clear with yourself about the limits here. Forumera can import a DiscordChatExporter JSON export into a forum: channels become boards, chat becomes one thread per day or per conversation, and a dry run shows the result before anything is created. That moves the history, but it does not decide what matters. Someone still has to read it, pin the answers worth keeping and give them proper titles.

Step 4: Give the community a next home

Freezing and exporting protect the past. What members actually want to know is where to go next. There are three reasonable answers, and they are not mutually exclusive.

Another Discord server. If real-time chat is the main thing your community values, spinning up a fresh server and inviting everyone over keeps the format members already know. It does nothing for discoverability or search, since the new server starts with the same limitations as the old one.

A forum. A forum is a better fit for anything that should still be findable a year from now: guides, troubleshooting threads, product feedback, long debates worth revisiting. Threads live at their own URLs, they can be searched, and depending on how the forum is configured, they can be found by people who were never members in the first place.

Both. Many communities keep Discord for live conversation and add a forum for anything worth finding later. Chat handles the moment, the forum handles the memory.

If you want a hosted forum without running your own server, Forumera is one option: there is a free plan, no ads, and each forum gets its own subdomain with categories, boards, and threads. On a public forum, those threads are indexable by search engines, which solves the specific problem that started this whole process. You can create a forum here, and if you are still comparing platforms, our Discord alternatives guide covers more ground.

Checklist

  • Set a freeze date and announce it in every active channel
  • Remove Send Messages from @everyone in all channels
  • Pause invites in Server Settings
  • Turn off Community features you no longer need
  • Leave one staff-only channel open for migration updates
  • Create a dedicated export bot with only View Channels and Read Message History
  • Run the export with media downloads and all threads included
  • Confirm the channel list, attachments, and oldest and newest messages look complete
  • Keep two copies of the export in two places outside Discord
  • Request the official data package for the audit log and server settings
  • Decide whether the export stays private, gets published, or feeds a manual forum import
  • Pick the community's next home: another Discord server, a forum, or both
  • Post the new home's link in the frozen server's staff-only channel and pin it

FAQ

Can you archive a Discord server without deleting it?

Yes. Freezing a server (removing Send Messages permissions, pausing invites, and turning off features you no longer need) leaves the server intact and visible to existing members while stopping new activity. Nothing forces you to delete it, and many communities keep a frozen server around indefinitely as a reference.

Does deleting a server delete the messages for members?

Deleting a server removes it and its message history from Discord for everyone, including members who had access before. Individual members do not retain a personal copy of the conversations unless they exported their own messages beforehand or someone ran a full server export in advance.

How long does an export take?

It depends on the size of the server. A small server with a few channels and light history can export in minutes. A large, years-old server with many channels and heavy attachment use can take several hours. Rate limits imposed by Discord's API are usually the bottleneck, not the export tool itself.

This depends on where you and your members are, and on what you do with the export afterward. Keeping a private backup is generally low risk. Publishing other people's messages publicly raises different questions depending on local privacy law and Discord's own Terms of Service. Check both before you publish anything, rather than assuming an export you are technically able to make is one you are free to share.

Ready to start?

Try the guides above on a forum of your own.

Create your forum