Supabase
Postgres-based, large community
Supabase wraps PostgreSQL with auth, real-time, storage, edge functions, and dashboard. Open source, self-hostable. PostgreSQL means standard SQL (vs Firestore's NoSQL document model).
Firebase locks you into Google Cloud with unpredictable per-read / per-write pricing and limited backend customization. These 8 self-hosted alternatives, most of them open source, give you the same auth + database + storage + functions, on your servers, from $11 per month.
Context
Four structural issues drive the migration.
On the pay-as-you-go Blaze plan, Firestore reads, writes and deletes beyond the daily no-cost quota are billed at Google Cloud rates, and so are functions, storage and bandwidth. A traffic spike becomes a spike on the bill (firebase.google.com/pricing, checked November 23, 2026).
Firebase auth, Firestore, Cloud Functions, FCM all use Google-specific APIs. Migration is painful when you eventually need to leave.
Your data and your backend stay on Google Cloud. Check the available regions and compliance options against your requirements; self-hosted, you choose the provider and the region yourself.
Firebase sets the runtimes and quotas, and your backend stays tied to Google Cloud. A self-hosted backend lets you run your own database, extensions and server code, wherever you choose.
The list
Postgres-based, large community
Supabase wraps PostgreSQL with auth, real-time, storage, edge functions, and dashboard. Open source, self-hostable. PostgreSQL means standard SQL (vs Firestore's NoSQL document model).
Firebase-like developer experience
Appwrite's API surface mirrors Firebase closely: auth, databases, storage, functions, real-time. Easier mental model for Firebase migrants.
Single binary, simplest setup
SQLite-based BaaS in a single Go binary. Auth, database, file storage, real-time, admin UI. Excellent for small projects.
TypeScript-first, reactive
TypeScript-native backend with reactive queries. Functions are written in TypeScript. License: source-available (FSL 1.1), each release becomes Apache 2.0 after two years.
Hasura + Postgres + auth + storage
Built around Hasura GraphQL + PostgreSQL. Strong GraphQL-first BaaS.
Facebook's legacy BaaS, still active
Long-established BaaS from Facebook days. Mature SDKs for mobile.
Headless CMS + BaaS hybrid
Headless CMS with strong API-first features. Use as a BaaS for many use cases. License: source-available (MSCL 1.0): free for any use except offering a competing commercial service, and each release becomes GPL-3.0 after four years.
Postgres to REST API
Lightweight tool that exposes PostgreSQL as a REST API. Combine with auth (Postgres roles + JWT) for a minimal BaaS.
Side-by-side
Pricing
Self-hosted backends cost the same whatever the traffic; hosted backends grow with usage.
Self-hosted starts at $11/mo and wins dramatically at scale because pricing is per-VM, not per-operation. Firebase, Supabase and AWS Amplify facts from their official pricing pages, checked on November 23, 2026. Starting a new backend rather than leaving Firebase? See our self-hosted backend as a service guide.
Free trial. Supabase or Appwrite live in 3 minutes.
Reviews
Real reviews from real users on Trustpilot.
"Super easy setup; great customer support! Very happy with the services."
FAQ
Functionally yes for most use cases. The mental model differs: Firestore is NoSQL document-based, Supabase is SQL relational. The API style differs (Supabase uses PostgREST-like REST and a JS SDK). For greenfield projects, Supabase is often cleaner.
Appwrite has the most similar API surface to Firebase. The migration involves rewriting client calls but the mental model stays similar.
For small to medium SaaS, yes. Single binary, easy ops, fast. For very high traffic (100K+ MAU), Supabase or Appwrite scale better due to PostgreSQL backing.
Supabase, Appwrite, Pocketbase, Convex, and Parse Server all support real-time subscriptions natively.
Yes initially. Many teams do staged migrations: move Firestore to Supabase first, keep Firebase Auth for a transition period, then migrate auth later. Both can coexist via JWT integration.
Not entirely. According to the official Supabase self-hosting documentation (supabase.com/docs/guides/self-hosting), self-hosted Supabase runs as a single project, without multiple organizations or projects in Studio, and these managed features are not available: branching, advanced metrics beyond logs, managed backups and point-in-time recovery, analytics and vector buckets, ETL and the Management API. Self-hosted Supabase is also community-supported. The core building blocks (Postgres database, auth, storage, realtime, edge functions and Studio) are included. On Elestio, the server, updates, monitoring and automated backups of the service are managed for you.
Free trial. Predictable pricing, full data ownership.
Start free trial