Skip to main content
Matrix Event Explainer
BETA This service is in beta. Results may be wrong or incomplete.

Explain an event

Paste a Matrix event, or a request between servers, and see which checks it passes, and why.

Checking… Clear
Signing keys

This event cannot be verified

Without hashes and signatures nothing shows that the event is genuine.

Authorisation rules and state resolution are not checked.

  • Payload
  • Origin
  • Room graph
  • Hashes and signatures
  • Not covered by hashes
  • Other

Checks run on this server. What you paste is processed to answer your request and is not stored or written to logs. Only when you choose to fetch keys does this server contact the servers that signed the event, which then learn that their keys were asked for, not what you pasted. Keys you paste take precedence. Authorisation rules and state resolution are not checked.

This event cannot be verified

View
FieldValueMeaning
typePayload
m.room.message
What kind of event this is. Learn more
event_idOrigin
$lI_mA_YdwDa1xZbcCf484_PTDckPAkyF88gtssyrZ50
The ID of the event. From room version 3 on, servers compute it from the event. Learn more
room_idOrigin
!example:example.org
The room the event belongs to. Learn more
senderOrigin
@alice:example.org
The user who sent the event. Learn more
origin_server_tsOrigin
1700000000000
2023-11-14 22:13:20 UTC
When the sending server says it created the event, in milliseconds since 1970. Learn more
contentPayload
{ "msgtype": "m.text", "body": "Hello" }
The payload. What belongs here depends on the type. Learn more
unsignedNot covered by hashes
{ "age": 1234 }
Extra data that no hash or signature covers. Learn more
{"content":{"body":"Hello","msgtype":"m.text"},"event_id":"$lI_mA_YdwDa1xZbcCf484_PTDckPAkyF88gtssyrZ50","origin_server_ts":1700000000000,"room_id":"!example:example.org","sender":"@alice:example.org","type":"m.room.message","unsigned":{"age":1234}}

Checks

Warning Input format

This is the format clients see, for example from "View source". It lacks hashes, signatures, prev_events and auth_events, so nothing can be verified. Get the full event from a server in the room: through its admin API if it has one, or with the federation request GET /_matrix/federation/v1/event/{eventId}.

What this checks: Servers exchange events as PDUs, which carry hashes, signatures and links to earlier events. Clients are given a shorter form without them. Short-lived messages such as typing notices travel as EDUs instead.

Note Room version

An event does not state its room version. Possible here: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11. Select the version if you know it.

What this checks: The room version decides the event format, what redaction keeps and how event IDs are built. It is fixed when a room is created and is not written into each event, so it has to be worked out or told.

  • Against 12: "room_id" names a server. In room version 12 a room ID is a hash without one.
Passed Canonical JSON

All numbers are allowed integers and no key appears twice.

What this checks: Hashes and signatures are calculated over bytes, so every server has to write the same JSON in exactly the same way: keys sorted, no extra spaces, only whole numbers, no key twice.

Passed Required fields

All required fields are present with the right type.

What this checks: The fields every event of this kind must have, each with the right type of value. Servers reject events without them.

Passed Field limits

No field exceeds its limit.

What this checks: Some fields have their own maximum length or number of entries.