Introduction to Matrix

Why Matrix Matters

Today's online communication systems have several serious issues: fragmentation, limited software choice, corporate control, and lack of privacy. This section describes how Matrix addresses all these issues.


Take a look at at's A Brief History of Chat Services to get an idea of how many systems have existed over the years in the ever-evolving online communication sphere. Now think about the number of systems there are to choose from today. You may be be questioning how many will be around a couple years, or months, from now. As long as new and better services are continually introduced, online communication will continue to exist in a fragmented state.

This fragmentation is a very real problem for users. Very few of these services are interoperable with each other, which means most people use multiple services to communicate. Think about how many clients you use already. Slack or HipChat at work. Facebook Messenger and Google Hangouts at home (or lunch hours). iMessage to say hello to your mum. Because the people we talk to don't use the same services, it's not uncommon to have three or four different chat programs running simultaneously on your computer, mobile phone, or tablet.

Because Matrix is federated, like email, you can freely communicate across a global network, without having to use specific services based on which ones your friends, family, and colleagues use.

Limited Software Choice

Related to fragmentation, many services we use today also provide you with client software to use the service, and don't allow alternatives. If you don't like the client, your only choice is to not use that service.

Because Matrix defines only the protocol for communication, anyone can write a client that allows you to chat using the Matrix network. This gives you the choice of using a client you prefer, not one forced upon you because of the service you use.

Corporate Control

Another major problem with online communication today is that most of the services you use are operated by commercial organizations, forcing you to trust them to manage your data. Do you know how the services you use manage your data? Even if you knew, you don't have any control over how it is done.

Because Matrix is federated, you have control over where your data is stored and who has access to it. The most technically savvy and privacy-conscious users can run their own homeserver, giving up little to no control of their data to untrusted third parties.

The majority of people will not run their own homeserver, but they still have the freedom to choose who to trust to operate one for them. They could choose someone they know personally, or one of many commercial providers based on good reputation and merit. There is no ultimatum of trusting a service provider or not using the service at all.

Lack of Privacy

Most services do not offer end-to-end encryption, which means that when you chat, the company that operates the service has a complete record of everything you say.

Many people accept this loss of privacy because the services are convenient, easy to use, and often free of charge. But think about what this means in another way. How would you feel if a corporate liaison sat in your living room every evening, listening to everything you discuss with your family?

The problem is that we are not given a choice. In order to use these services, we must give up our privacy. Even if you trust the people who run the company not to read your messages, you are still trusting them to keep your messages safe from the outside world. Unfortunately, online data breaches are disturbingly common, and many large companies have fallen victim to them. Afterwards, companies inevitably make public statements about how they "take your security very seriously," but it's already too late. In the event that the company's data stores are compromised, a record of everything you've ever said on the service could end up in the hands of a complete stranger.

With Matrix, a combination of federation and end-to-end encryption lets you communicate online without compromising your privacy. As mentioned, federation allows users concerned with privacy to manage their own data. End-to-end encryption prevents the content of messages from being stored on the homeserver at all—it is encrypted in transit and only exists in a human-readable form on the computers, mobile phones, and tablets of the people involved in the conversation. This protects the users against malicious attackers and passive surveillance, such as by government intelligence agencies. It also greatly limits the damage of sensitive data being compromised if the homeserver's data store is breached. In addition, a federated fleet of homeservers is a far less valuable target for hackers than a single, giant database from a corporate giant.