Open Source Alternatives to X (Twitter)

Updated 5 December 2026 · 3 alternatives · Social Networks

X, formerly Twitter, is a microblogging network owned by Elon Musk's companies. Here are 3 open source alternatives, 2 of them self-hostable and 1 you can install as an app.
Top pickMastodonAGPL-3.0 · ★ 50.7k
Best self-hostedMastodonAGPL-3.0 · ★ 50.7k
Best appBlueskyMIT · ★ 18.4k
X (Twitter) is made byX Corp. (SpaceX)Proprietary

X (Twitter) alternatives compared

Project Licence Type Self-host Cloud option GitHub stars
Mastodon AGPL-3.0 Self-hosted ✓ Yes ✓ Yes ★ 50.7k
Bluesky MIT Mobile app — ✓ Yes ★ 18.4k
Misskey AGPL-3.0 Self-hosted ✓ Yes — ★ 11.4k

The 3 open source alternatives to X (Twitter)

1

Mastodon

AGPL-3.0 · Self-hosted · ★ 50.7k on GitHub · since 2016

Visit site ↗

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.

  • Chronological timeline, no ads
  • Thousands of independent servers
  • Move your followers to another server
  • Federates with Threads, Pixelfed and more
Self-hosted Cloud option Source code ↗ Also replaces Threads
2

Bluesky

MIT · Mobile app · ★ 18.4k on GitHub · since 2023

Visit site ↗

Bluesky is a microblogging network built on the AT Protocol, with custom feeds, user-run moderation services and portable accounts. Its app and protocol are open source.

Note: The app and protocol are open source, but most of the network still runs on Bluesky PBC's infrastructure.

  • Custom algorithmic feeds
  • Portable accounts and data
  • Composable moderation
  • Self-hostable data server (PDS)
Cloud option Source code ↗ Also replaces Threads
3

Misskey

AGPL-3.0 · Self-hosted · ★ 11.4k on GitHub · since 2014

Visit site ↗

Misskey is a decentralised microblogging platform that federates via ActivityPub, with emoji reactions, a customisable deck interface and many fun features.

  • Emoji reactions
  • Customisable deck UI
  • ActivityPub federation
  • Drive for file storage
Self-hosted Source code ↗

How to choose an open source alternative to X (Twitter)

On decentralised networks you pick a server (instance) or run your own. Check which network your audience is on and whether you can move your followers.

If you want your data on your own server, look at Mastodon and Misskey. If you'd rather just install an app, Blueskyruns directly on your device. Don't want to run a server? Mastodon and Blueskyoffer an official hosted version.

Not sure where to start? Browse all social networks projects.

X (Twitter) alternatives: FAQ

What is the best open source alternative to X (Twitter)?

Mastodon is the most complete open source alternative to X (Twitter) on our list, followed by Bluesky and Misskey. The best choice depends on what you need: On decentralised networks you pick a server (instance) or run your own. Check which network your audience is on and whether you can move your followers.

Is there a free alternative to X (Twitter)?

Yes. Every alternative listed here is open source, so the software itself is free to use. Some, such as Mastodon and Bluesky, also sell an optional hosted version if you don't want to run it yourself.

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

Yes: Mastodon and Misskey can all be installed on your own server, so your data stays on infrastructure you control.

Is there an open source X (Twitter) alternative I can install as an app?

Bluesky (mobile app) runs directly on your device, with no server needed.

Why switch from X (Twitter) to open source software?

X (Twitter) is proprietary software owned by X Corp. (SpaceX): you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as AGPL-3.0 and MIT, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.

Other popular alternatives

Browse 350+ open source alternativesSearch by product, category or licence