CLI tool
rusq/slackdump avatar
rusq/slackdump

Slackdump: eleven export modes, a browser-driven login and three unsigned release archives

Save or export your private and public Slack messages, threads, files, and users locally without admin privileges.

2,875 stars179 forksGoAGPL-3.0

At a glance

What is it?
A Go tool that archives Slack channels, threads, files, users and emojis into a SQLite archive or a json+gz bundle without admin rights. Its own warning sits at the top of the page, its login path pulls in a browser driver and a TLS fingerprint library, and its release archives are built with 7z and shipped unsigned.
Who is it for?
Fit for someone who needs their own workspace history kept locally, including free workspaces where older content becomes inaccessible and retention limits apply, and unfit for anyone whose organisation treats automated access as a reportable event, because the project says plainly that use can trigger Slack security alerts and notify administrators.
Can I use it commercially?
Yes, with strict conditions. AGPL-3.0 is a network copyleft licence: if people use a modified version over a network, for example as a hosted service, you must offer them its source code under the same licence.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Go, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • rusq/slackdump2,875 ★ · +67
Star history
Repository2026-10-042026-11-22
rusq/slackdump2.8k2.9k

67 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The security warning is the first thing on the page

Before any description, the page opens with a warning block titled for enterprise workspaces. Its content is short and unambiguous: depending on the Slack plan and the security settings in place, using this tool may trigger Slack security alerts and may notify workspace administrators about unusual or automated access, or about scraping attempts. The responsibility line is equally direct, putting compliance with the organisation's own policies and with Slack's terms of service on the person running it, and pointing at a separate document, doc/enterprise.md, for enterprise workspace tips. Nothing else in the documentation softens that. For a reader deciding whether to run this at work, that single block carries more weight than the feature list that follows it, and it is the first thing to look for when judging whether a deployment of this tool would be welcome in a given workspace.

Eleven modes behind one binary and a first-run wizard

The description enumerates eleven modes of operation, which is the clearest statement of scope in the whole document: listing users and channels, dumping messages and threads, creating a Slack Export in either Mattermost or Standard mode, creating an archive, converting an archive to other formats, downloading emojis, viewing an export, dump or archive, searching messages and files, resuming a previous archive, running a local MCP server, and the database tools. Everything runs from one executable. On a fresh download the instruction is to unpack the archive anywhere, run ./slackdump or slackdump.exe, and drive a menu with the arrow keys and Enter; from a repository checkout there is a build path and a run-without-building path:

shell
go build -o slackdump ./cmd/slackdump
./slackdump wiz

The same wizard is reachable with go run ./cmd/slackdump wiz, and the manual page is committed in the tree, so `man ./slackdump.1` works on a build. The help section then routes by situation: slackdump help quickstart with the same guide online, the committed man page for a generic command overview, a separate wiki page for the login flow it calls Ez-Login 3000, and slackdump help whatsnew for what changed in v4. The last of those exists because v4 broke compatibility, and the one long-form write-up still linked from the quick links, an overview of v1 on Medium, is explicitly marked outdated.

Two archive shapes, and incremental runs for the 90-day limit

An archive comes in one of two shapes, a SQLite database or json stored with gzip, and the archive is the tool's own format rather than something Slack produces. Around that sit three capabilities that matter for anyone keeping history. Incremental archives let a run add only what is new, which the page ties to the free plan’s 90-day visibility limit. Slack states that free workspaces can retain data for 90 days or one year depending on settings, while older history becomes inaccessible under the free plan. An archive can only preserve content the tool could access when it ran. Resuming does the same for an existing archive, adding new messages to what is already there. And the database tools handle the housekeeping that creates: merge, dedupe and cleanup, invoked as slackdump tools merge/dedupe/cleanup, where cleanup is described as clearing out unfinished sessions rather than anything to do with Slack itself. Conversion is the other direction, turning an archive into an Export or a Dump file that other tools can read.

The login path is browser automation, and the dependency list says so

Nothing on the visible page explains how authentication happens, but the module requirements are unusually explicit about it. Alongside the ordinary libraries sit go-rod, a Chrome DevTools Protocol driver, and playwright-go, Playwright's Go bindings, which is what a tool that drives a real browser to sign in looks like. There is a cookie library from MercuryEngineering, a TLS fingerprint library in refraction-networking/utls, and two of the author's own modules, rusq/slackauth and rusq/slack, plus an auth/ directory at the repository root. The help section points at a separate wiki page for what it calls Ez-Login 3000, so the login flow has its own guide. Taken together these say the tool needs a browser it can drive and a session it can keep, but dependencies alone do not establish that a personal browser profile is required. Follow the documented login flow, protect session credentials and observe the workspace’s access policies. The rest of the module list describes the terminal program around that login: a Charm stack of bubbletea, bubbles, huh and lipgloss for the menu, pterm and fatih/color for output, humanize and a progress bar for progress reporting, chi for routing, a validator with locale data for input checking, goldmark with an emoji extension for rendering, goose for schema migrations alongside sqlx, and BurntSushi/toml with godotenv for configuration.

The container runs the test suite before it builds the binary

The Dockerfile is unusual in a useful way: the build stage runs the tests as part of producing the image. It starts from a golang:alpine image, copies go.mod and go.sum first so dependency download is cached, sets CGO_ENABLED=0 and CI=true, then runs go test across the tree and only then go build with the symbols stripped. CGO_ENABLED=0 is why the module carries modernc.org/sqlite rather than a cgo database driver, since the archives are SQLite and a static binary is what makes the second stage possible. The runtime stage is a plain alpine image with the single binary copied to /usr/local/bin, a group and user created for it, a /work directory owned by that user, the USER instruction switched over, and the entrypoint pointing at the binary. So the container is a non root, single purpose image, and a broken test suite fails the image build instead of shipping.

Three archives per release, built with 7z and signed by nobody

The release artifacts are described by the Makefile rather than in prose, and there are three of them: one zip for linux, one for darwin and one for windows, named after the executable. Each is packed with 7z and contains the binary plus a fixed set of two extra files, README.md and LICENSE, and the executable is removed afterwards so the next target starts clean. Nothing in that list signs anything or produces a checksum, which lines up exactly with the install note on the page: on Windows and macOS the downloaded executable may trigger an Unknown developer warning because it has not been signed with a developer certificate, and the page then walks through the per-platform workarounds for bypassing that prompt. Version identity comes from git describe --tags stamped in at link time together with the short commit and a UTC build date, and the same file prefers podman when docker is absent. It also carries a debug target that keeps the symbols instead of stripping them, two shortcut targets that build single architectures under x86_ and arm_ prefixes, rules that turn the man page into a postscript file and then a PDF, and a clean target that removes the binaries and any dated directory left over from a run.

Source files sit at the repository root beside the directories

The top level mixes library code, process files and tooling configuration in one directory. Eight source files sit directly at the root, channels.go, messages.go, users.go, user_cache.go, config.go, processors.go, emoji.go and thread.go, each with its own _test.go sibling, alongside slackdump.go as the entry point and a matching test file for it. The rest is directories with clear jobs: cmd/, internal/, export/, source/, stream/, processor/, downloader/, auth/, types/, utils/, mocks/, contrib/ and doc/. Then there is the paper layer, a committed slackdump.1 man page, WHATSNEW.md, notes.md and a TODO.org file that is tracked like any source file, plus a tmp/ directory at the root. Configuration for automated tooling is equally spread out, with AGENTS.md, opencode.jsonc and three separate directories for agent instructions, .agents/, .codex/ and .opencode/, next to .codespellrc, .devcontainer/, .dockerignore, SECURITY.md, CONTRIBUTORS.md, CODE_OF_CONDUCT.md and .goreleaser.yaml. The module path itself carries the major version, github.com/rusq/slackdump/v4, and the newest release is v4.5.0, published on 2026-10-03, nine days after the last commit on master.

Viewing and converting without leaving the tool

Once something is dumped there is a built-in viewer:

shell
slackdump view <zip or directory>

It accepts all three output shapes, the Slackdump archive, a Standard or Mattermost Slack Export, and dump mode files, and it displays images. For a shareable result there is a converter to a browsable static HTML archive:

bash
slackdump convert -f html -o my_html_archive <zip or directory>

Three third-party viewers are recommended alongside it, each with a stated limit: SlackLogViewer is written in C++, works on Export files and will not display images unless you used an export token flag; Slackdump2Html is a Python application that works on Dump mode files; and Slack Export Viewer displays files only when they were saved in Standard file mode. Migration elsewhere has its own answer too, with Slackord2 named as the recommended route for moving to Discord because it reads the export files this tool generates, and a GitHub CLI extension and a permissions-free MCP server are both linked as third-party projects. Around them sits a small support structure: a Telegram discussion, a donation page and a GitHub Sponsors button, a Mattermost migration guide in the doc directory, and a Japanese write-up on running SlackLogViewer together with Slackdump. The built-in MCP server deserves a separate note, because what it leaves out matters more than what it does: it is read only, it analyses data in an archive of any type, and it answers questions about command line flags, which is the entire feature list. The tool table on the page starts at load_source. Read only means it will not post, delete or react to anything in Slack, which narrows the risk a long way compared with a bot holding write scopes; the exposure is the content of whatever archive it is pointed at.

Editorial conclusion

Fit for someone who needs their own workspace history kept locally, including free workspaces where older content becomes inaccessible and retention limits apply, and unfit for anyone whose organisation treats automated access as a reportable event, because the project says plainly that use can trigger Slack security alerts and notify administrators. Three things to weigh first: the releases are unsigned, with no checksum file in the archive beyond the binary, the README and the LICENSE, so verify what you download before running a tool that logs into your workspace; the login path is browser automation with cookie handling and TLS fingerprinting in the dependency list, so check the documented login flow and protect any resulting session credentials; and the built-in HTML conversion plus the third-party viewers all read the same archive, so decide where that data lands before converting it. Read doc/enterprise.md before running this on a paid plan.

Frequently asked questions

What is slack dump?

Slackdump is a Go command line tool that archives your own Slack data locally: private and public messages, threads, channels, users, files and emojis. It can produce a Slack Export without admin access, keep incremental archives, and store the result as a SQLite database or as json with gzip.

Can I export an entire Slack conversation with slackdump?

Yes, that is the tool's main purpose. It lists users and channels, dumps messages and threads, and writes a Slack Export in Standard or Mattermost mode, plus its own archive format that it can later convert into an Export or a Dump file for other viewers.

Is slackdump safe to use on a company workspace?

The repository warns that depending on the Slack plan and security settings, use may trigger Slack security alerts and notify workspace administrators about unusual or automated access, and it puts responsibility for compliance with organisational policy and Slack's terms on the person running it. It points to doc/enterprise.md for enterprise workspace tips.

Can slackdump bulk delete Slack messages?

Nothing in the repository describes deleting anything in Slack. The listed modes cover listing, dumping, exporting, archiving, converting, emoji download, viewing, searching and resuming, and the database tools merge, dedupe and cleanup operate on local archives, where cleanup means clearing unfinished sessions.

Does slackdump work with Slack's own archive and emoji features?

It is meant for the cases Slack does not cover: channels on a free subscription with no archive, where history is limited to ninety days, and workspaces where an administrator will not let you install applications. Emoji download is a separate mode, and incremental archiving is the feature aimed at that ninety-day limit.

How is slackdump installed on a Mac and on other systems?

On macOS the page gives one command, brew install slackdump. Elsewhere you download the latest release for your operating system, unpack the archive, and run ./slackdump or slackdump.exe, then drive the menu with the arrow keys and Enter. The binary is unsigned, so an Unknown developer warning is expected on Windows and macOS.

Official sources

  1. Issues
  2. License: AGPL-3.0
  3. README
  4. Releases
  5. rusq/slackdump on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/rusq-slackdump.svg)](https://hysenlabs.com/projects/rusq-slackdump)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/rusq-slackdump.svg)](https://hysenlabs.com/projects/rusq-slackdump)

Was this useful?