Firebase alternatives compared
| Project | Licence | Type | Self-host | Cloud option | GitHub stars |
|---|---|---|---|---|---|
| Supabase | Apache-2.0 | Self-hosted | ✓ Yes | ✓ Yes | ★ 116k |
| Appwrite | BSD-3-Clause | Self-hosted | ✓ Yes | ✓ Yes | ★ 58.9k |
| PocketBase | MIT | Self-hosted | ✓ Yes | — | — |
The 3 open source alternatives to Firebase
Supabase is an open source Firebase alternative built on PostgreSQL: database, authentication, instant APIs, realtime subscriptions, storage, edge functions and vector embeddings. Use the hosted platform or self-host it.
- Full PostgreSQL database
- Auth, storage and edge functions
- Realtime subscriptions
- Self-host with Docker
Appwrite is an all-in-one backend with authentication, databases, storage, functions, messaging and static site hosting. SDKs are available for web, Flutter, iOS, Android and server languages.
- Auth, databases, storage and functions
- SDKs for web, mobile and server
- Messaging (email, SMS, push)
- Self-host with Docker
PocketBase is an open source backend in a single executable, with an embedded SQLite database, realtime subscriptions, authentication, file storage and an admin dashboard.
- Single executable
- Embedded SQLite with realtime
- Auth and file storage
- Extend with Go or JavaScript
How to choose an open source alternative to Firebase
Check the database model (SQL or document), authentication providers, realtime features, file storage and self-hosting.
If you want your data on your own server, look at Supabase, Appwrite and PocketBase. Don't want to run a server? Supabase and Appwriteoffer an official hosted version.
Not sure where to start? Browse all backend, hosting & auth projects, or see our google alternatives list.
Firebase alternatives: FAQ
What is the best open source alternative to Firebase?
Supabase is the most complete open source alternative to Firebase on our list, followed by Appwrite and PocketBase. The best choice depends on what you need: Check the database model (SQL or document), authentication providers, realtime features, file storage and self-hosting.
Is there a free alternative to Firebase?
Yes. Every alternative listed here is open source, so the software itself is free to use. Some, such as Supabase and Appwrite, also sell an optional hosted version if you don't want to run it yourself.
Can I self-host an alternative to Firebase?
Yes: Supabase, Appwrite and PocketBase can all be installed on your own server, so your data stays on infrastructure you control.
Why switch from Firebase to open source software?
Firebase is proprietary software owned by Google (Alphabet): 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 Apache-2.0, BSD-3-Clause and MIT, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.