What is ActivityPub?

DefinitionActivityPub is a protocol that enables different social media platforms and independent servers to interact with one another, forming a decentralized social network known as the fediverse.

ActivityPub is an open standard published by the World Wide Web Consortium (W3C) in 2018. It was developed by the W3C's Social Web Working Group, and Christine Lemmer-Webber is one of its co-creators. The protocol gives social apps a shared way to describe everyday actions like posting, following, replying, liking and sharing, so software built by different people can exchange them.

Each account is an actor with an inbox and an outbox. When someone publishes a post, their server describes it as an activity in JSON, using the ActivityStreams vocabulary, and delivers it to the inboxes of their followers, wherever those followers' servers are. The standard has two parts: a server-to-server protocol for this federation between servers, and a client-to-server API that apps can use to post and read content. In practice, most fediverse software uses the server-to-server part and its own API for apps.

Because they share ActivityPub, platforms like Mastodon, Pixelfed, PeerTube and Lemmy form one decentralized social network, the fediverse. Someone with a Mastodon account can follow a Pixelfed photographer or reply to a PeerTube video without signing up for either service. No company owns the protocol, so anyone can run a server or build an app that joins the network, and people can choose or change servers without losing access to the rest of it.

ActivityPub resources

Common questions about ActivityPub

What did the fediverse use before ActivityPub?

Before ActivityPub, decentralized social software such as GNU social mainly used OStatus, a set of protocols built around Atom feeds. Mastodon originally used OStatus too and added ActivityPub support in 2017, before the standard was finalized.

How does WebFinger work with ActivityPub?

WebFinger isn't part of the ActivityPub standard, but most fediverse software uses it to look up accounts. It turns a handle such as @name@example.com into the URL of that person's ActivityPub actor, which other servers then use to follow the account and deliver posts.

Is ActivityPub free to use?

Yes. ActivityPub is a W3C Recommendation available royalty-free under the W3C Patent Policy, so anyone can implement it without asking permission or paying a fee.

Does ActivityPub support end-to-end encryption?

Not on its own. The ActivityPub standard lets a post be addressed to specific people, which is how direct messages work, but it doesn't define end-to-end encryption, so server administrators can usually read those messages.

Compare: ActivityPub vs. AT Protocol

Topics: Social media and the fediverse, Web standards and protocols

Cite this definition
APA

What is ActivityPub? (2026, April 5). Glossary. https://glossary.io/activitypub/

MLA

“What Is ActivityPub?” Glossary, Coywolf, 5 Apr. 2026, glossary.io/activitypub/.

Chicago

“What Is ActivityPub?” Glossary. Coywolf. April 5, 2026. https://glossary.io/activitypub/.

HTML link
<a href="https://glossary.io/activitypub/">What is ActivityPub?</a>

Published · Updated