Open Source Alternatives to Slack

Updated 5 December 2026 · 7 alternatives · Team Chat & Messaging

Slack is the leading team chat app. The free plan hides messages older than 90 days, and paid plans are priced per user. Here are 7 open source alternatives, 6 of them self-hostable and 1 you can install as an app.
Top pickElementAGPL-3.0 · ★ 13.7k
Best self-hostedElementAGPL-3.0 · ★ 13.7k
Best appWireGPL-3.0 · ★ 1.2k
Slack is made bySalesforceProprietary

Slack alternatives compared

Project Licence Type Self-host Cloud option GitHub stars
Element AGPL-3.0 Self-hosted ✓ Yes ✓ Yes ★ 13.7k
Mattermost AGPL-3.0 Self-hosted ✓ Yes ✓ Yes ★ 39.8k
Rocket.Chat MIT Self-hosted ✓ Yes ✓ Yes ★ 46.6k
Zulip Apache-2.0 Self-hosted ✓ Yes ✓ Yes ★ 26.4k
Campfire MIT Self-hosted ✓ Yes — ★ 4.9k
Huly EPL-2.0 Self-hosted ✓ Yes ✓ Yes ★ 28.3k
Wire GPL-3.0 Mobile app — ✓ Yes ★ 1.2k

The 7 open source alternatives to Slack

1

Element

AGPL-3.0 · Self-hosted · ★ 13.7k on GitHub · since 2016

Visit site ↗

Element is the flagship client for Matrix, an open, decentralised communication protocol. It offers end-to-end encrypted messaging, voice and video calls, and can federate with other Matrix servers. Governments including France, Germany's armed forces and NATO use Matrix-based systems.

  • End-to-end encryption by default
  • Decentralised and federated
  • Bridges to Slack, Teams, WhatsApp and more
  • Self-host your own Matrix server
Self-hosted Cloud option Source code ↗ Also replaces Microsoft Teams, Discord, WhatsApp
2

Mattermost

AGPL-3.0 · Self-hosted · ★ 39.8k on GitHub · since 2015

Visit site ↗

Mattermost is a Slack-style team messaging platform built for organisations with strict security requirements, including defence and government. It supports channels, threads, calls, playbooks and integrations, and can run fully on-premises or air-gapped.

Note: The server is AGPL-3.0; some enterprise features require a commercial licence.

  • Channels, threads and voice calls
  • Slack import
  • Playbooks for incident response
  • On-premises and air-gapped deployment
Self-hosted Cloud option Source code ↗ Also replaces Microsoft Teams
3

Rocket.Chat

MIT · Self-hosted · ★ 46.6k on GitHub · since 2015

Visit site ↗

Rocket.Chat is a communications platform for team chat and customer service, with an omnichannel inbox for WhatsApp, email and live chat. It supports Matrix federation and end-to-end encryption.

Note: The core is MIT-licensed; enterprise features are under a separate licence.

  • Team chat with channels and threads
  • Omnichannel customer inbox
  • Matrix federation
  • Self-hosted or cloud
Self-hosted Cloud option Source code ↗ Also replaces Microsoft Teams, Discord, Intercom
4

Zulip

Apache-2.0 · Self-hosted · ★ 26.4k on GitHub · since 2012

Visit site ↗

Zulip is a team chat app that organises every conversation into streams and topics, so you can catch up on what matters without scrolling through one long channel. It is fully open source, with free cloud hosting for open source projects and research groups.

  • Topic-based threading
  • Slack and Mattermost import
  • Free cloud for open source and education
  • Self-hosting fully supported
Self-hosted Cloud option Source code ↗ Also replaces Discord
5

Campfire

MIT · Self-hosted · ★ 4.9k on GitHub · since 2024

Visit site ↗

Campfire is a group chat app from the makers of Basecamp: rooms, direct messages, file sharing and search in one Docker image. 37signals released it as free open source software in 2025.

  • Rooms and direct messages
  • File and screenshot sharing
  • Search
  • Single Docker image
Self-hosted Source code ↗
6

Huly

EPL-2.0 · Self-hosted · ★ 28.3k on GitHub · since 2023

Visit site ↗

Huly combines issue tracking, team chat, documents and virtual office video calls in one platform. It is positioned as an open source alternative to Linear, Jira, Slack and Notion together.

  • Issue tracking with sprints
  • Team chat and virtual office
  • Documents and knowledge base
  • Self-hostable
Self-hosted Cloud option Source code ↗ Also replaces Jira, Linear
7

Wire

GPL-3.0 · Mobile app · ★ 1.2k on GitHub · since 2014

Visit site ↗

Wire is a secure messaging and calling app from a Swiss-German company, used by governments and businesses. All messages and calls are end-to-end encrypted, and the server can be self-hosted.

  • End-to-end encrypted chat and calls
  • MLS protocol
  • Guest rooms
  • On-premises option
Cloud option Source code ↗ Also replaces WhatsApp, Microsoft Teams

How to choose an open source alternative to Slack

Check channels and threads, Slack import, integrations and bots, mobile apps, and whether you want to self-host.

If you want your data on your own server, look at Element, Mattermost and Rocket.Chat. If you'd rather just install an app, Wireruns directly on your device. Don't want to run a server? Element, Mattermost and Rocket.Chatoffer an official hosted version.

Not sure where to start? Browse all team chat & messaging projects.

Slack alternatives: FAQ

What is the best open source alternative to Slack?

Element is the most complete open source alternative to Slack on our list, followed by Mattermost and Rocket.Chat. The best choice depends on what you need: Check channels and threads, Slack import, integrations and bots, mobile apps, and whether you want to self-host.

Is there a free alternative to Slack?

Yes. Every alternative listed here is open source, so the software itself is free to use. Some, such as Element, Mattermost and Rocket.Chat, also sell an optional hosted version if you don't want to run it yourself.

Can I self-host an alternative to Slack?

Yes: Element, Mattermost, Rocket.Chat, Zulip and Campfire can all be installed on your own server, so your data stays on infrastructure you control.

Is there an open source Slack alternative I can install as an app?

Wire (mobile app) runs directly on your device, with no server needed.

Why switch from Slack to open source software?

Slack is proprietary software owned by Salesforce: you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as AGPL-3.0, MIT and Apache-2.0, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.

Other popular alternatives

Browse 350+ open source alternativesSearch by product, category or licence