Open-source alternatives to WhatsApp

Element and Synapse are a free, open-source WhatsApp alternative for group chat: end-to-end encrypted rooms and direct messages on your own Matrix server, with apps for phones, desktop and the web. WhatsApp ties every account to a phone number and runs on Meta’s servers; a self-hosted Matrix server uses accounts you create, though this setup has no calls and the people you talk to need a Matrix account.

2 alternatives Free apps Our pick: Element + Synapse (Matrix)

At a glance

App Good for Code Ease of use
Element + Synapse (Matrix) Teams and communities that want encrypted chat on their own server that can also reach other Matrix servers Code Open source Some setup
Tinode Small groups that want a private WhatsApp-style messenger with phone apps on their own server Code Open source Some setup

Why look for an alternative to WhatsApp?

WhatsApp is Meta's messaging app, used for one-to-one chats, group chats and calls, with each account tied to a phone number.

Groups such as clubs, charities and small teams look for an alternative when they do not want members to share phone numbers, want their messages on a server they control rather than Meta's, or want accounts they can add and remove themselves. A self-hosted Matrix server with Element gives them encrypted rooms and direct messages; in return, this setup has no calls, and the admin creates each account. Tinode is closer to WhatsApp in look and feel, with phone apps, channels and one-to-one calls, but without end-to-end encryption.

The alternatives, compared

A self-hosted Matrix server for private, encrypted team chat.

Gives a group encrypted chat like WhatsApp groups, with rooms, direct messages, files, replies and reactions in Element's phone, desktop and web apps, on your own server. Accounts are ones the admin creates, not phone numbers, this setup has no voice or video calls, and the people you talk to need a Matrix account rather than WhatsApp.

Some setup Open source

A self-hosted messenger like WhatsApp, with web and phone apps.

Looks and works most like WhatsApp: one-to-one and group chats, broadcast channels, voice messages, photos and files, read receipts, and one-to-one voice and video calls, in a web app and free Android and iOS apps that connect to your server. People sign up with a username and password, not a phone number. Messages are not end-to-end encrypted, calls between different networks need a relay service it does not include, and phone notifications need extra setup.

What you gain
  • Chats and files stay on your own server, not on Meta's or Telegram's
  • Accounts use a username and password, so nobody has to share a phone number
  • No fee per person, however many people you add
What is different
  • Chats are not end-to-end encrypted, unlike WhatsApp
  • Calls are one to one only, and people on different networks may need an extra relay service to connect
  • Phone apps only notify you of new messages while they are open, until push notifications are set up
Some setup Open source

Moving from WhatsApp

WhatsApp chats do not move across, so start fresh. Choose your server's address with care, because it is part of every account, such as @alice:chat.example.com. Create an account for each person in the included admin panel and send them their username and password. Each person installs Element on their phone, enters your server's address and signs in. Then create a room for each group, invite its members, and keep a separate tool for calls. With Tinode, there is no admin panel for accounts: each person installs the Tinode app or opens the web address, signs up with a username and password, and you start the group chats from there. Anyone who can reach the address can sign up until you set up an email server to check sign-ups, and calls between people on different networks need a TURN relay service you add yourself.

Questions

What is the best open-source alternative to WhatsApp?

Start with Element + Synapse (Matrix). Both are free and open source.

Do I need a phone number to use Element and Synapse or Tinode?

No. With Element and Synapse, your server's admin creates accounts with a username and password; with Tinode, people sign up with a username and password. Nobody has to share a phone number.

Are chats end-to-end encrypted like WhatsApp?

In Element and Synapse, yes: direct messages and private rooms are end-to-end encrypted by default, so only the people in them can read them. Tinode is not end-to-end encrypted; messages are stored readable on your server.

Should I choose Element and Synapse or Tinode?

Choose Element and Synapse for end-to-end encrypted chat. Choose Tinode if you want something that looks and works more like WhatsApp, with one-to-one calls and broadcast channels, and you trust the server it runs on, since its messages are not end-to-end encrypted.

Are these WhatsApp alternatives really free?

Yes, Element + Synapse (Matrix) and Tinode are free. To run them you need Cloudgate and a server. Use hosted Cloudgate, which can also provide the server, or install Cloudgate on a server of your own for free. Cloudgate's plans and prices are at cloudgate.octabyte.io/pricing. One server can run several apps.

Do I need a developer to replace WhatsApp?

No. Cloudgate installs the app you choose on your server and gives it a secure web address, and you use it in your browser instead of WhatsApp.