Mastodon

Decentralised social network, not for sale.

Last reviewed 5 December 2026 · AGPL-3.0 · Social Networks

Licence
Type
Self-hosted
GitHub stars
★ 50.7k
Last commit
December 2026
First release
2016
Hosted version
Available

What is Mastodon?

Mastodon is a free, decentralised social network made of thousands of independent servers that talk to each other through ActivityPub. There is no algorithmic feed and no ads, and you can move your followers between servers.

Key features

  • Chronological timeline, no ads
  • Thousands of independent servers
  • Move your followers to another server
  • Federates with Threads, Pixelfed and more

Mastodon as an open source alternative

Mastodon is listed on 2 of our comparison pages as an open source replacement for X (Twitter) and Threads. Compare it with the other options:

Licence

Mastodon is released under the AGPL-3.0 licence, a strong copyleft (network) licence. More AGPL-3.0 software →

Mastodon: FAQ

Is Mastodon open source?

Yes. Mastodon is released under the AGPL-3.0 licence (strong copyleft (network)), and its source code is public.

Is Mastodon free?

The software is free to use and self-host. Mastodon also offers an official hosted or cloud version, which may have paid plans.

What does Mastodon replace?

Mastodon is an open source alternative to X (Twitter) and Threads.

Can I self-host Mastodon?

Yes. Mastodon is a server application you can install on your own server or VPS, usually with Docker.

Similar open source projects

Postiz

AGPL-3.043.1k

Social media scheduling with AI, self-hostable.

Replaces Buffer, Hootsuite

Self-hostedCloud option
Self-hostedSocial Networks

Bluesky

MIT18.4k

Social app built on the open AT Protocol.

Replaces X (Twitter), Threads

Cloud option
Mobile appSocial Networks

More AGPL-3.0 projects

Nextcloud

AGPL-3.037.7k

Self-hosted file sync, sharing and collaboration.

Replaces Google Drive, Dropbox, Microsoft OneDrive, Apple iCloud

Self-hostedCloud option
Self-hostedCloud Storage & Photos

Signal

AGPL-3.029.7k

The most trusted private messenger.

Replaces WhatsApp

Cloud option
Mobile appTeam Chat & Messaging

Immich

AGPL-3.0121k

Self-hosted photo and video backup like Google Photos.

Replaces Google Photos, Apple iCloud

Self-hosted
Self-hostedCloud Storage & Photos

ONLYOFFICE Docs

AGPL-3.07.2k

Office suite with the closest Microsoft Office compatibility.

Replaces Microsoft Office, Google Docs, Microsoft Word, Microsoft Excel

Self-hostedCloud option
Self-hostedOffice & PDF

Element

AGPL-3.013.7k

Secure messenger built on the Matrix protocol.

Replaces Slack, Microsoft Teams, Discord, WhatsApp

Self-hostedCloud option
Self-hostedTeam Chat & Messaging

SearXNG

AGPL-3.040.2k

Private metasearch engine you can self-host.

Replaces Google Search

Self-hosted
Self-hostedBrowsers, Search & Maps
Browse 350+ open source alternativesSearch by product, category or licence