Free, open-source alternatives to X (Twitter)

Microblogging social network. 7 apps you can run yourself instead of X (Twitter), sorted by how well they replace it. Each one is open source, so your data stays with you.

  1. MastodonBest match

    Federated microblogging server.

    50.4k starsAGPL-3.0Updated 12 October 2026
  2. Misskey

    Decentralized app-like microblogging server/SNS for the Fediverse, using the ActivityPub protocol like GNU social and Mastodon.

    11.3k starsAGPL-3.0Updated 12 October 2026
  3. GoToSocial

    ActivityPub federated social network server implementing the Mastodon client API.

    AGPL-3.0
  4. Akkoma

    Federated microblogging server with Mastodon, GNU social, and ActivityPub compatibility.

    AGPL-3.0
  5. Pleroma

    Federated microblogging server, Mastodon, GNU social, & ActivityPub compatible.

    AGPL-3.0
  6. Iceshrimp.NET

    Federated microblogging server that communicates over ActivityPub.

    EUPL-1.2
  7. Friendica

    Social Communication Server.

    1.7k starsAGPL-3.0Updated 12 October 2026

Side by side

AppStarsLicenseActivityRuns on
Mastodon50,376AGPL-3.0Ruby
Misskey11,337AGPL-3.0Node.js, Docker
GoToSocial-AGPL-3.0Docker, Go
Akkoma-AGPL-3.0Elixir, Docker
Pleroma-AGPL-3.0Elixir
Iceshrimp.NET-EUPL-1.2.NET, C#, Docker
Friendica1,692AGPL-3.0PHP

Why replace X (Twitter)?

X (Twitter) works, but your data lives in someone else's account, the price can change at any time, and features can disappear. An open-source app you run yourself is yours: you choose where it runs, who can see the data, and when to update.

Questions

What is the best free alternative to X (Twitter)?

Mastodon is the closest open-source replacement for X (Twitter) in our list. Misskey and GoToSocial are worth a look too, depending on what you need.

Can I self-host an alternative to X (Twitter)?

Yes. All 7 apps on this page are open source and can run on your own server, usually with Docker, or on a managed host that installs them for you.