21 open-source alternatives ranked by real activity

Open-source Firebase alternatives

A curated, ranked list of the 21 best open-source alternatives to Firebase.

The best open-source alternative to Firebase is Supabase. If that doesn't suit you, other good options are Appwrite, PocketBase, Parse Server and Convex.

Commercial alternatives to Firebase include Back4App, Backendless, Zoho Catalyst and Xano. See all 33.

Firebase alternatives are mainly backend-as-a-service tools, but some are also auth & identity tools and monitoring & observability tools. 14 of them shipped code in the last 30 days, 21 can be self-hosted, and 16 use a permissive licence.

Last updated November 13, 2026 · ranked by GitHub stars, growth and recent commits

Supabase

An open-source Postgres development platform bundling a database, auth, auto-generated APIs, realtime, storage and vector tools, often chosen as a Firebase alternative.

GitHub stars
115k
Last commit
today
Latest release
v1.26.08
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
supabase.comSupabase homepage screenshot

Supabase is a backend platform built around a dedicated Postgres database. It packages the pieces most web, mobile and AI apps need, including authentication and authorization, auto-generated APIs, file storage, serverless functions and a dashboard, so developers can start without assembling separate services. Its stated aim is a developer experience similar to Firebase, built from open-source components.

APIs are generated from your schema as REST and GraphQL, with realtime subscriptions over websockets. Logic can live in database functions or in Edge Functions that run on Deno. For AI work there is a toolkit for vectors and embeddings built on pgvector, and Postgres extensions such as PostGIS are available. Supabase combines existing open tools with ones it builds itself when nothing suitable exists.

The code is Apache-2.0 licensed. Supabase is offered as a hosted platform you can sign up for without installing anything, and the same stack can be self-hosted or run locally for development. It suits teams that want Postgres at the core of their app but prefer not to build the surrounding backend themselves.

Key features

  • Hosted Postgres database with a dashboard
  • Authentication and authorization
  • Auto-generated REST and GraphQL APIs
  • Realtime subscriptions over websockets
  • Edge Functions and database functions
  • File storage for user uploads
  • Vector and embeddings toolkit with pgvector

Pricing: Free plan with 50,000 monthly active users. Pro starts at $25 and Team at $599 per month, with usage and extra compute billed on top; Enterprise is custom.

Appwrite

An open-source backend platform offering auth, databases, storage, functions, messaging, realtime and hosting, available as a managed cloud or self-hosted with Docker.

GitHub stars
58k
Last commit
today
Latest release
2.7.2
Licence
BSD-3-Clause
Self-hosted
Yes
Hosted version
Available
appwrite.ioAppwrite homepage screenshot

Appwrite is an open-source platform for building and scaling web, mobile and AI apps. It bundles the backend services most apps need, namely auth, databases, storage, functions, messaging, realtime and hosting, and presents them as an agent-friendly cloud with MCP support. It can run as a managed cloud platform or be self-hosted on infrastructure you control.

Auth supports email, SMS, OAuth, anonymous sessions and magic URLs. Databases can be modeled and queried through Appwrite itself or backed by managed PostgreSQL and MySQL. Storage keeps files with compression, encryption, image transformations and permission controls, and Functions run serverless code in isolated runtimes triggered by events. Sites deploys static, SSR and CSR frontends from Git with previews, and Messaging sends email, SMS and push notifications.

Developers integrate through client and server SDKs, including Flutter, Swift, React Native and JavaScript, or let coding agents such as Cursor, Claude Code and Codex operate a live project through a hosted MCP server. Appwrite is BSD-3-Clause licensed and written mainly in PHP, with Docker-based self-hosting for Unix and Windows.

Key features

  • Auth with email, SMS, OAuth and magic URLs
  • Databases including managed PostgreSQL and MySQL
  • File storage with encryption and image transformations
  • Serverless functions in isolated runtimes
  • Messaging via email, SMS and push
  • Realtime updates and static or SSR site hosting
  • Hosted MCP server and client and server SDKs

Pricing: A free plan and a Pro plan exist, but the captured page does not show their prices. Dedicated databases start at $10 a month each and go up to $960 a month; serverless databases have no fixed fee.

PocketBase

An open-source backend packaged as a single Go executable, with an embedded SQLite database, realtime subscriptions, user and file management and an admin dashboard.

GitHub stars
62k
Last commit
18 days ago
Latest release
v0.40.6
Licence
MIT
Self-hosted
Yes
pocketbase.ioPocketBase homepage screenshot

PocketBase is an open-source backend written in Go that ships as one file. It bundles an embedded SQLite database with realtime subscriptions, built-in management of users and files, a convenient admin dashboard and a simple REST-style API, which makes it quick to stand up a backend for a small web or mobile project.

You can use it as a standalone application by downloading the prebuilt executable for your platform and running its serve command, or you can extend it as a Go library to add custom routes and logic. The prebuilt binaries come with a JavaScript VM plugin enabled for scripting. Official SDK clients exist for JavaScript, covering browsers, Node.js and React Native, and for Dart, covering web, mobile, desktop and CLI.

PocketBase is MIT licensed. The maintainers warn that it is still under active development and that backward compatibility is not guaranteed before version 1.0.0, so upgrades deserve some care. It suits solo developers and small teams who want a simple, self-contained backend without managing a database server separately.

Key features

  • Embedded SQLite database with realtime subscriptions
  • Built-in user authentication and file management
  • Admin dashboard for managing data
  • REST-style API for client access
  • Official JavaScript and Dart SDKs
  • Single executable that can also extend as a Go library

Pricing: Free and open source under the MIT license.

Parse Server

An open-source backend for Node.js and Express that provides REST and GraphQL APIs, Cloud Code and storage on MongoDB or PostgreSQL, deployable on any Node-capable host.

GitHub stars
21k
Last commit
2 days ago
Latest release
8.6.123
Licence
Apache-2.0
Self-hosted
Yes
parseplatform.orgParse Server homepage screenshot

Parse Server is an open-source backend that runs anywhere Node.js can run. It works with the Express web framework, so you can mount it inside an existing web application or run it by itself, and it is the maintained successor to the original hosted Parse platform. Topics identify it as a mobile backend as a service with REST and GraphQL APIs.

The documentation covers the full lifecycle: running Parse Server locally or in a Docker container, saving and querying objects, connecting an SDK, configuring options and access scopes, and deploying elsewhere. It works with MongoDB and PostgreSQL as databases and offers Cloud Code for custom server logic, file storage, and a health endpoint for monitoring. A guide, API reference and Cloud Code guide help with getting started, and long-term-support branches exist alongside the current release.

Parse Server is written in JavaScript and licensed under Apache-2.0, with development supported by sponsors and backers on Open Collective. It suits teams that want a Firebase-style backend they host themselves, particularly mobile developers who already use the Parse SDKs.

Key features

  • Node.js and Express backend
  • REST and GraphQL APIs
  • MongoDB and PostgreSQL support
  • Cloud Code for custom server logic
  • Client SDKs for mobile and web
  • Docker container deployment

Pricing: Free and open source under the Apache-2.0 license.

Convex

The open-source reactive database and backend for web app developers, with server functions written in TypeScript and live-updating queries, offered in the cloud or self-hosted.

GitHub stars
13k
Last commit
today
Latest release
precompiled-2026-10-22-1447815
Self-hosted
Yes
Hosted version
Available
docs.convex.devConvex homepage screenshot

Convex is an open-source reactive database and backend platform for web app developers. It provides a database, a place to write server functions in TypeScript, and client libraries, and it is designed to make building and scaling live-updating applications straightforward, whether the author is a person or an LLM.

Data is fetched and business logic is run with strong consistency by writing pure TypeScript. Applications built on it update automatically when the underlying data changes, which removes much of the work of wiring up real-time sync. The Convex team leads development of the backend, and the repository, written in Rust and TypeScript, is kept in sync with internal work within days.

The simplest path is Convex's cloud platform, which includes a free tier for small applications and side projects. A self-hosted product with most cloud features, including the dashboard and CLI, can be run with Docker, which is recommended, or a prebuilt binary, and works with databases and hosts such as Postgres, SQLite, Neon and Fly.io. The repository lists the licence as Other, and the extensive internal tests are not included.

Key features

  • Reactive database with live-updating queries
  • Server functions written in TypeScript
  • Strong consistency for reads and logic
  • Client libraries for web apps
  • Dashboard and CLI included
  • Self-hosting with Docker or a binary

Pricing: Cloud platform with a free tier for small apps; a self-hosted version is also available. The repository lists the license as Other.

SuperTokens

An open-source authentication provider offering login, session management, MFA and multi-tenancy through frontend and backend SDKs and a Java core service.

GitHub stars
15k
Last commit
7 days ago
Latest release
v12.5.0
Self-hosted
Yes
Hosted version
Available
supertokens.comSuperTokens homepage screenshot

SuperTokens is an open-source authentication provider positioned as an alternative to Auth0, Firebase Auth and AWS Cognito. It adds secure login and session management to your apps, with SDKs for popular languages and frameworks such as Node.js, Go, Python, React and React Native.

Its architecture has three building blocks: a frontend SDK that manages session tokens and renders login UI widgets, a backend SDK that provides the APIs for sign-up, sign-in, sign-out and session refreshing, and the SuperTokens Core, an HTTP service in Java that implements the authentication logic and database operations used by the backend SDK. The feature list spans passwordless and social sign-in, email and phone with password, session handling, MFA, multi-tenant organizations with enterprise SSO, user roles, authentication between microservices, and a dashboard for managing users.

You can self-host the core to keep user data in your own database, or use the vendor's managed offering. The repository's license is listed as 'Other' on GitHub, because enterprise features sit under a separate license, so check which features you need. It suits teams that want to own authentication without building it from scratch.

Key features

  • Email-password, passwordless and social login
  • Session management with token refresh
  • Multi-factor authentication support
  • Multi-tenancy and enterprise SSO
  • User roles and microservice authentication
  • User management dashboard

Pricing: Self-hosting is free at any scale. The managed cloud is free below 5K monthly active users, then $0.02 per active user per month, plus optional paid add-ons.

TrailBase

TrailBase is an open-source, single-executable backend for web and mobile apps, offering auth, APIs and an admin UI as a lightweight Firebase alternative.

GitHub stars
5.8k
Last commit
today
Latest release
v0.35.12
Licence
OSL-3.0
Self-hosted
Yes
trailbase.ioTrailBase homepage screenshot

TrailBase is a backend platform packaged as one executable, aimed at developers who want something simpler to run than a collection of services. It positions itself as a Firebase alternative and provides type-safe REST and realtime APIs, authentication, an admin UI, and a WebAssembly runtime for extending the backend.

It is built on Rust, the Wasmtime runtime and SQLite, with experimental support for Postgres, and the authors emphasize very low latency so that dedicated caches are less necessary. Other capabilities named in the README and description include multi-database support, geospatial support, server-side rendering and an MCP interface. An online demo and a FAQ are provided on the project website.

TrailBase is licensed under OSL-3.0 and is designed to be easy to self-host, whether for mobile, web or desktop applications. It suits solo developers and small teams who want an integrated backend with few moving parts.

Key features

  • Single-executable self-hosted backend
  • Type-safe REST and realtime APIs
  • Built-in authentication and admin UI
  • WebAssembly runtime for extensions
  • SQLite with experimental Postgres support
  • Geospatial and MCP support

Pricing: Open source under the OSL-3.0 license.

Nhost

An open-source Firebase alternative built on PostgreSQL, Hasura GraphQL, authentication, storage and serverless functions, available hosted or self-hosted.

GitHub stars
9.4k
Last commit
today
Latest release
mcp@0.3.1
Licence
MIT
Self-hosted
Yes
Hosted version
Available
nhost.ioNhost homepage screenshot

Nhost is an open-source backend platform positioned as a Firebase alternative with GraphQL. It is built around open source, GraphQL, SQL and a good developer experience, and gives frontend developers a complete backend without writing server code.

The stack combines a PostgreSQL database, an instant GraphQL API through Hasura, an authentication service, a storage service and serverless functions written in Node.js, in JavaScript or TypeScript. The Nhost CLI creates a local development environment that follows database migrations and Hasura metadata, and a client package called nhost-js is used from the app. Nhost is frontend agnostic, with topics listing Next.js, React, Vue and Flutter.

You can use the Nhost hosted platform, develop locally with the CLI or self-host the entire stack, with an example docker-compose file provided. The project is written in TypeScript and licensed under MIT. It suits developers who prefer SQL and GraphQL to a proprietary NoSQL backend.

Key features

  • PostgreSQL as the core database
  • Instant GraphQL API via Hasura
  • Built-in authentication service
  • File storage service
  • Serverless functions in Node.js
  • CLI for local development
  • Docker Compose self-hosting

Pricing: Free Starter plan with one active project. Pro starts at $25 and Team at $599 per month plus usage; Enterprise is custom. A self-hosted option is also listed.

Read more about NhostWebsiteGitHub#8 Firebase alternative

pREST

A Go server that turns existing PostgreSQL or MySQL databases into REST and read-only MCP APIs, with custom SQL routes, auth and ACL.

GitHub stars
4.6k
Last commit
yesterday
Latest release
v2.5.3
Licence
MIT
Self-hosted
Yes

pREST, short for PostgreSQL REST, delivers REST and Model Context Protocol (MCP) APIs on top of an existing or new SQL database without hand-writing a backend. It covers CRUD, custom SQL routes, authentication, access control and a read-only MCP endpoint. A table is read with a request of the form GET /{database}/{schema}/{table}.

PostgreSQL 9.5 and newer is the default engine. MySQL 8.0.19 and newer is supported as a separate native dialect from v2.5.0, selected by setting the engine to mysql, and read-only MCP on MySQL arrived in v2.5.1. MariaDB, TiDB and Aurora MySQL are listed as roadmap items rather than supported engines.

One instance can serve several databases, either through a registry of aliased connection URLs in prest.toml or environment variables, or through a no-registry mode that lists allowed databases. In registry mode an unreachable entry answers 503 until it comes up. It is installed with Docker, Homebrew or Go, written in Go and MIT licensed, with full documentation at docs.prestd.com.

Key features

  • REST APIs generated from existing SQL databases
  • CRUD, custom SQL routes, auth and ACL
  • PostgreSQL 9.5+ by default, MySQL 8.0.19+ optional
  • Read-only MCP endpoint for AI clients
  • Serves several databases through a registry or allowed list
  • Installs via Docker, Homebrew or Go
  • Configured with prest.toml or environment variables
Read more about pRESTWebsiteGitHub#9 Firebase alternative

Measure

A mobile app monitoring platform for crashes, ANRs, performance traces and session replays, positioned as an open-source alternative to Firebase Crashlytics.

GitHub stars
1.4k
Last commit
today
Latest release
android-v0.23.0
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
measure.shMeasure homepage screenshot

Measure helps mobile teams monitor and fix crashes, ANRs, bugs and performance problems in their apps. It is presented as an open-source alternative to Firebase Crashlytics, with SDKs for Android, iOS, Flutter and React Native so that teams can collect data from the platforms they ship on.

Features include session replays with automatic tracking of clicks, navigation and network calls, crash and ANR reports with screenshots and stack traces, performance traces and spans, bug reports triggered by a device shake, user journeys, network performance views and an app health dashboard. Adaptive capture lets you change data collection settings without releasing an app update, and a Measure Agent lets you investigate issues in natural language from Slack or a coding agent via MCP.

You can sign up to Measure Cloud or self-host it on your own servers. The project is licensed under Apache-2.0 and has a TypeScript codebase on the dashboard side, with Kotlin, Swift and Dart SDK components. It suits mobile development teams who want crash reporting and observability with the option to keep data on infrastructure they control.

Key features

  • Crash and ANR tracking with stack traces
  • Session replays of user actions
  • Performance traces and spans
  • Shake-to-report bug reports
  • Adaptive capture without app updates
  • SDKs for Android, iOS, Flutter, React Native

Pricing: A free plan includes 5 GB of data per month. Pro costs $50 per month with 25 GB included and $2.00 per extra GB; there are no seat limits.

Read more about MeasureWebsiteGitHub#10 Firebase alternative

11 more Firebase alternatives

Commercial Firebase alternatives

Hosted, closed-source products that compete with Firebase. Showing 12 of 33.

See every Firebase alternative on its tool page

Firebase alternatives: questions

What is the best open-source alternative to Firebase?
Supabase is the top-ranked open-source alternative to Firebase on Enlisted: An open-source Postgres development platform bundling a database, auth, auto-generated APIs, realtime, storage and vector tools, often chosen as a Firebase alternative. Other strong options are Appwrite, PocketBase, Parse Server and Convex.
What are the best commercial alternatives to Firebase?
Back4App, Backendless, Zoho Catalyst, Xano and AWS AppSync are among the hosted, closed-source alternatives to Firebase listed on Enlisted, which lists 33 in total. Compare their pricing and features on each tool page.
Are these Firebase alternatives free?
All 21 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 12 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Firebase alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 14 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all