All specs
Matrix Spec 1.xMatrixShould KnowTelecomProduct2019

Matrix Protocol

Messaging Protocols·Matrix.org Foundation
WHY YOU NEED THIS

Matrix is the modern alternative to XMPP for federated messaging: bridges to Discord/Slack/WhatsApp, end-to-end encryption by default, and full decentralization. Used by the German government, French public sector, and Mozilla.

What It Defines

Matrix is an open standard for decentralized, federated real-time communication. Rooms are replicated across homeservers using a directed acyclic graph (DAG) of events. The spec defines Client-Server API (sync, messages, rooms), Server-Server Federation API, Application Service API, and end-to-end encryption (Olm/Megolm). Element is the primary client.

Canonical (Normative)

Convenient (Practical)

Related References

matrixfederatedmessaginge2eeolmdaghomeserver
Standards Body
Matrix.org Foundation

Non-profit foundation that stewards the Matrix open standard for decentralized real-time communication. Publishes the Matrix Specification including Client-Server API, Server-Server Federation API, Application Service API, and Push API. Element (formerly Riot) is the reference client.

Visit

Related Specs

RFC 6120RFCShould Know

XMPP Core

XMPP powers enterprise messaging (Cisco Jabber), IoT device management, and many open federated chat systems. WhatsApp internally uses a modified XMPP protocol for message delivery.

TelecomProductMessaging Protocols
Details
RFC 6121RFCShould Know

XMPP IM

The roster and subscription model in RFC 6121 defines how federated chat contacts work. Essential for implementing XMPP clients, servers, or S2S (server-to-server) federation between XMPP deployments.

TelecomProductMessaging Protocols
Details