Slack to Mattermost: the migration guide

Data flowing from a Slack export archive into a self-hosted Mattermost server

Every guide to leaving Slack eventually says the same three words: export, convert, import. This one does the three words properly, and it can, because both vendors document the path in public: Slack's help center specifies exactly what an export contains on each plan, and Mattermost's administration guide walks the whole pipeline from export archive to imported workspace, feature-mapping tables included. This guide assembles both into one path with nothing invented: the plan-level reality of what you can export, the conversion step most guides skip, what migrates and what genuinely does not, and the cutover checklist. If you are still deciding whether to leave, the why lives elsewhere in this cluster; this page is for the day you have decided.

TL;DR

  • What you can export depends on your Slack plan: public channels on Free and Pro; private channels and direct messages require Business+ or higher. Check before you plan the migration, not after.
  • The pipeline is three steps with real tooling: export the archive from Slack, convert it with Mattermost's mmetl tool (dry-run first), and import via the bulk-loading mechanism with mmctl.
  • Messages, threads, attachments, reactions, users and channel history migrate; integrations, canvases, profile pictures, user groups and presence do not, per Mattermost's own mapping tables.
  • Every imported user needs an email address; the conversion halts on a missing one unless you pick one of its two documented flags.
  • Slack-format incoming webhook payloads are reusable against Mattermost's Slack-compatible endpoints, so some integrations are a re-point, not a rebuild.
  • Links to old Slack posts keep working in imported messages for as long as the Slack workspace stays accessible, which enables a gradual cutover.

Step zero: know what your plan can export

The migration's shape is decided by a table in Slack's own help center, and reading it first prevents the most common bad surprise in this process. On the Free and Pro plans, workspace owners can export messages and file links from public channels, in JSON format. Private channels and direct messages, including Slackbot conversations, join the export on Business+. Enterprise adds selective exports by conversation type, member, or workspace, plus per-user data, and Business+ can put exports on a recurring schedule, which matters for teams running a long transition: the archive you import at cutover can be the freshest of a series rather than a snapshot taken weeks earlier.

The table's fine print carries one more nuance worth knowing during scoping: data from public Salesforce channels rides along in public exports, while limited-access Salesforce channels need a separate application on some plans. A public-channels-only export is a real migration for teams whose history lives in public channels, and an incomplete one for teams whose work happened in DMs, so the first act of the migration is honest scoping: what needs to carry, and does the plan let it?

Two more facts from the same page shape expectations. Export permissions belong to workspace owners on most plans, with an Export Admin role available at Enterprise, so the person running the migration needs the right seat. And Mattermost's guide adds the commercial warning worth repeating before anyone budgets this: Slack's data control policies and export capabilities can change, and Slack may charge fees for exporting at enterprise scale.


What migrates and what does not

Mattermost publishes the full mapping, and the honest version of any migration guide is a compressed copy of it. What comes with you: public and private channels, with archived Slack channels importing as archived when timestamps are available; direct messages; group DMs of up to eight members as group messages, with larger groups becoming private channels; posts and thread replies; file attachments; emoji reactions; channel mentions where the mentioned channel is in the export; and external links. Users arrive with name, email and title, and deactivated users import as deactivated Mattermost users with their channel memberships intact. Bots import when the conversion assigns them an owner through its bot-owner flag.

What does not, and what you do instead: integrations, which are simply not present in a Slack export file, so each one is either recreated as a Mattermost plugin, webhook, or API integration, or, in the case of incoming webhooks, re-pointed, because Mattermost's incoming webhook endpoint accepts Slack-format payloads. Canvases must be downloaded manually from the links in the export's canvases file before you leave. Custom emoji are re-added by name, user groups become Mattermost custom groups, profile pictures and presence are set by each user, and starred conversations have no counterpart because Mattermost saves messages instead. Enterprise Grid workspaces map to Mattermost teams, with shared channels mapped to a single team, since Mattermost does not support Slack's cross-workspace sharing model.


The export, concretely

The export itself is an archive whose structure Mattermost's guide documents precisely, because the conversion tool expects that exact shape: a channels file and a users file at the root, the private-conversation files for groups, direct messages and multi-party messages when the plan includes them, an integration log, and per-channel folders holding daily post files, one JSON file per channel per day. Public and private channel names appear as the top-level folder names. A public-channels-only export is exactly what it says: the private-conversation files are absent, private-channel folders are absent, and the conversion proceeds without them.

Enterprise Grid exports arrive as a single archive combining org-level and per-workspace data. The guide's advice on structure is worth taking early: for most organizations, importing into one Mattermost team is simplest, with multiple teams reserved for intentional separation, because shared channels must map to a single team and org-wide DMs that span workspaces are assigned to one team with cross-workspace participants arriving as placeholder accounts. And if multiple exports are needed, a series taken over time or per-workspace archives from Grid, the documented rule is chronological: convert each archive separately and import them in order, so history lands in sequence.


The conversion, the step guides skip

Between Slack's archive and Mattermost's import format sits a conversion step, and it has real tooling: mmetl, Mattermost's conversion utility. The documented sequence is a dry run first, validating the export and reporting what it sees, then the full conversion, which produces the JSONL file Mattermost imports plus a data directory of attachments. For Enterprise Grid archives, a grid conversion step splits the org-level archive into per-workspace pieces before the per-workspace conversions run.

The dry run is not ceremony. Slack's export format has changed over time, and the guide's own troubleshooting entry for exports that used to parse and suddenly do not is the tell: run the validation, read what it reports, and fix the archive before committing to a full conversion. Success has a documented shape, and the guide's spot-check list is worth keeping open next to the terminal: the command exits clean, the JSONL starts with a version line and contains user, channel and post lines, the attachment paths it references exist under the data directory, and the parse phases complete without fatal errors. Large conversions move through four phases with progress logged per channel, so a long-running conversion is normal, a silent one is worth a second look.


The email rule, and the user table behind it

One requirement deserves its own section because it stops migrations cold: every imported user needs an email address. When the Slack export is missing one, the conversion stops and names that user, unless you have chosen a flag, and the guide renders the choice as a three-way table. With the default-email-domain flag, missing addresses become the username at a domain you specify, your organization's, with the advice to correct any address that should be different before import. With the skip-empty-emails flag, the addresses stay blank, and a real one must be set on each affected user before import or validation fails. With no flag at all, the conversion simply stops. Enterprise Grid imports can also create placeholder users with a synthesized local address, and the guide's instruction is direct: search the import file for your own domain and for that placeholder suffix, correct the addresses, and validate with mmctl before the real import.

Guest accounts have a decision of their own. The default mmetl behavior keeps Slack guests as Mattermost guests, which requires that guest access be enabled on the destination server before the import runs; if your plan for guests differs, decide it here, because it is cheaper to settle before the conversion than in the user table after.


The import, and what happens on the server

Import uses Mattermost's bulk loading mechanism, documented on its own page: the converted JSONL and attachment directory are packaged per its specification, uploaded, and processed with mmctl, the server's command-line client, which also carries the validate step that belongs in front of every import. The preparation list from the migration guide is unglamorous and essential: scope the history you are importing, confirm the server's settings and infrastructure are ready for the volume, and back up the Mattermost environment before importing anything, because imports write.

The guide's FAQ answers the operational questions before they become incidents. Imports can run in batches; users do not need to exist beforehand because the import creates them; custom emoji import separately and are referenced by name; running the same import twice creates duplication, so imports are once-only operations; multi-gigabyte imports have their own documented handling; and Slack URLs embedded in imported messages keep resolving for as long as the Slack workspace remains live.


Validation and cutover

The last documented phase is verification, and its checklist is short enough to quote whole: confirm that channels, users, and message history imported correctly, fix unread states on channels and threads where needed, and activate the imported user accounts before the production cutover. Imported accounts arrive deactivated by design, so activation is the switch that turns a verified import into a working workspace. Because old Slack links keep working while the old workspace lives, the cutover does not have to be a cliff: run both, move channel by channel, and retire the export source when the last team has moved.

In practice the sequence that works is boring on purpose: import the full history first, validate it, activate a pilot group, move one working channel as the test of daily habits, then widen. The Slack side stays read-only reference during that window, and the recurring-export capability on Business+ is what lets a straggler channel's last two weeks be folded in with a second chronological import rather than a manual copy.


Where the destination runs

The migration ends with a Mattermost server holding your history, and that server has to live somewhere. If it lives with us, the shape is the one this cluster always offers: Team Edition in whichever of 21 datacenter regions suits your data residency, backups and updates included, a seven-day trial that takes no card, and, worth stating on a page about leaving, an exit of its own: the full PostgreSQL database is yours, so the door you just walked through swings both ways. The story of why teams make this move, the training defaults and the vendor chains, is documented in the Slack privacy explainer and the wider alternatives comparison.


The failure modes, and where they come from

The guide's troubleshooting entries read like a map of how these projects go wrong, which makes them the cheapest planning document available. The archive that used to parse and no longer does: Slack's export format has drifted over time, so an export taken today is not guaranteed to match documentation written for an older one, and the dry run is the detection layer. The import run twice: duplication, which is why the once-only rule pairs with the backup step. The user without an email: a halt, unless flagged. The guests nobody planned for: an import that expects a server setting that was never enabled. Every one of these is a preparation-phase decision that arrived late, and the pattern is the argument for the guide's ordering: scope, prepare, dry-run, then commit.

Volume is its own failure mode. A multi-year workspace exports to an archive measured in gigabytes, the conversion moves through its phases with per-channel progress logged, and the import writes all of it into a Mattermost server that needs the headroom. The guide quantifies the patience required: exports under roughly 100 GB often complete within a day, while larger ones can take several days per iteration, and for large datasets copying the import package onto the server directly is usually more reliable than uploading it through the client.

It also advises excluding very large or non-critical attachments when you can, because installers and videos nobody will open again cost iteration time on every run. The guide's preparation phase asks for infrastructure confirmation before this point for a reason, and a staging run against a copy is the standard practice this cluster's hosting stories keep repeating: verify the whole pipeline on a scratch destination first, then run it against the real one with the same commands and a known-good archive.


Questions people ask about the migration

Can I export everything from a free Slack workspace?
No. Free and Pro plans export messages and file links from public channels only, per Slack's help center. Private channels and direct messages require Business+ or Enterprise.

Do direct messages migrate to Mattermost?
Yes, when they are in the export, which requires a Business+ or higher Slack plan. One-to-one DMs map to Mattermost direct messages, and group DMs of up to eight members become group messages.

What is mmetl?
Mattermost's conversion utility. It converts a Slack export archive into the JSONL import format plus an attachments directory, with a dry-run mode for validation and flags including bot ownership and email handling.

Do threads and reactions survive the move?
Yes. Message history and thread replies migrate, and emoji reactions come with their posts, with one documented nuance: skin-tone variants are not kept, and custom emoji images must be re-added separately.

Do file attachments migrate?
Yes, files attached to messages come across through the conversion's attachment directory. Posts carrying many files may be split across thread replies, per the mapping table.

What happens to our Slack integrations?
They do not migrate, because integrations are not part of a Slack export file. Recreate them as Mattermost plugins, webhooks or API integrations. Incoming webhooks using Slack's payload format can be re-pointed, since Mattermost accepts Slack-compatible payloads.

What happens if a user in the export has no email address?
The conversion stops and names the user, unless you pass a flag: default-email-domain fills missing addresses with the username at your domain, and skip-empty-emails leaves them blank for you to fix before import validation.

What happens to guest accounts?
By default they stay guests, which requires guest access enabled on the Mattermost server before import. Plan for it during preparation, not after the user table lands.

What happens to deactivated users?
They import as deactivated Mattermost users, with their channel memberships preserved, and can be reactivated individually if those people return.

Do old links to Slack messages keep working?
Yes, for as long as the Slack workspace remains accessible. Imported messages keep their original Slack URLs, which is what makes a gradual, both-systems cutover possible.

Can the import run in batches?
Yes, imports can be batched. When converting multiple export archives, the documented rule is to run each separately and import them chronologically.

Do users need accounts before importing?
No. The import creates users from the export's user data, arriving with name, email and title, and deactivated accounts are activated as part of cutover.

What happens if the import runs twice?
Duplication. The guide's FAQ is direct: the same import run twice duplicates content, which is why imports are treated as once-only operations against a backed-up server.

What about Enterprise Grid workspaces?
Grid exports are single archives of org-level plus per-workspace data. A grid conversion step splits them, workspaces map to Mattermost teams, and shared channels map to a single team because cross-team sharing works differently in Mattermost.

What does not migrate at all?
Integrations, canvases, custom emoji images, profile pictures, user groups, presence, and starred conversations. Each has a documented replacement action, from plugin installs to manual downloads before you leave. One quieter rule belongs on the same list: conversations whose posts cannot be assigned to an imported user are dropped, which is the email rule wearing a different coat, and one more reason the user table gets settled first.

How large can an import be?
Multi-gigabyte imports are supported and documented: exports under roughly 100 GB often complete within a day, and larger ones can take several days per iteration. The preparation phase exists precisely to scope export size and confirm the destination is ready for it.

Can we run both systems during the transition?
Yes, and the link behavior encourages it: old URLs keep resolving while the Slack workspace lives, so teams can move channel by channel instead of on a single deadline.

How do we know the conversion worked before importing?
The guide's spot-check list: the command exits clean, the JSONL opens with a version line and contains user, channel and post lines, the attachment paths it references exist on disk, and the parse phases complete without fatal errors.

Try managed Mattermost hosting for 7 days


Sources

  1. Mattermost documentation, Migrate from Slack (the full pipeline, mapping tables, mmetl, FAQ)
  2. Mattermost documentation, Bulk import data
  3. Slack Help Center, Export your workspace data (export options by plan)
  4. DANIAN, the Slack privacy explainer
  5. DANIAN, open-source Slack alternatives
  6. DANIAN, managed Mattermost Team Edition

Related reading