11 open-source alternatives ranked by real activity

Open-source Google Cloud Firestore alternatives

A curated, ranked list of the 11 best open-source alternatives to Google Cloud Firestore.

The best open-source alternative to Google Cloud Firestore is Supabase. If that doesn't suit you, other good options are Appwrite, PocketBase, SurrealDB and MongoDB.

Commercial alternatives to Google Cloud Firestore include Couchbase Capella, IBM Cloudant, Amazon DocumentDB and Azure Cosmos DB. See all 14.

Google Cloud Firestore alternatives are mainly backend-as-a-service tools, but some are also databases. 9 of them shipped code in the last 30 days, 11 can be self-hosted, and 8 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.

Read more about SupabaseWebsiteGitHub#1 Google Cloud Firestore alternative

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.

Read more about AppwriteWebsiteGitHub#2 Google Cloud Firestore alternative

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.

Read more about PocketBaseWebsiteGitHub#3 Google Cloud Firestore alternative

SurrealDB

A multi-model database written in Rust that combines document, graph, relational, time-series and vector data with real-time features, from embedded use to distributed clusters.

GitHub stars
33k
Last commit
4 days ago
Latest release
v4.0.1
Self-hosted
Yes
Hosted version
Available
surrealdb.comSurrealDB homepage screenshot

SurrealDB is a Rust-based multi-model database that brings several data models into one engine: key-value, document, graph, relational, time-series and geospatial data. Search and retrieval options include full-text, vector and hybrid, and it adds real-time and event-driven capabilities, queried through its SQL-like language, SurrealQL.

Because it supports end-user authentication, SurrealDB can also act as a backend-as-a-service, reducing the amount of server-side code an app needs. It ships as a single Rust binary that can run embedded inside an application, in the browser via WebAssembly, at the edge, as a self-hosted single node, or as a distributed cluster in the cloud. Typical workloads include data-intensive systems that need several data types, storage for AI agents, knowledge graphs, live applications such as recommenders and fraud detection, and embedded or edge deployments.

The repository license is listed as 'Other' on GitHub, so confirm the terms before commercial use. SurrealDB also offers cloud-hosted database service, and topics tag it as a serverless, realtime database for the web.

Key features

  • Document, graph and relational models in one engine
  • Full-text, vector and hybrid search
  • Real-time and event-driven queries
  • Built-in user authentication
  • Single binary: embedded, edge or cluster
  • SurrealQL SQL-like query language

Pricing: The Start plan includes one free instance with 1GB of storage; extra instances are from $0.021 per hour. Scale is $0.192 per node hour with a three-node minimum; self-hosted Enterprise is custom.

Read more about SurrealDBWebsiteGitHub#4 Google Cloud Firestore alternative

MongoDB

The source repository for MongoDB, a document-oriented NoSQL database server written in C++, with sharding support and official drivers for most languages.

GitHub stars
29k
Last commit
today
Self-hosted
Yes
Hosted version
Available
mongodb.comMongoDB homepage screenshot

This repository holds the source of MongoDB, the document-oriented NoSQL database. It is written in C++ and contains the main server components: mongod, the database server, and mongos, the router used for sharded clusters. MongoDB stores flexible JSON-like documents rather than rows in fixed tables.

Most users install prebuilt packages rather than building from source. The README points to the community server download page, the mongodb-community-server Docker image and Homebrew taps, and also covers the MongoDB Shell, mongosh, and MongoDB Compass, a graphical client that can be installed with a packaged script. Client drivers exist for most programming languages, and RPM and Debian packages are produced by the build scripts. Documentation and a developer center help with learning.

The repository's license is listed as 'Other' on GitHub, so read the current license terms before building services on it. MongoDB can be run on your own infrastructure, and MongoDB Inc. also operates a managed cloud service. It is widely used as a general-purpose database for applications with evolving schemas.

Key features

  • Document-oriented NoSQL database server
  • mongos router for sharded clusters
  • MongoDB Shell and Compass GUI
  • Official drivers for most languages
  • Docker image and Homebrew packages
  • RPM and Debian packaging scripts
Read more about MongoDBWebsiteGitHub#5 Google Cloud Firestore alternative

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.

Read more about Parse ServerWebsiteGitHub#6 Google Cloud Firestore alternative

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#7 Google Cloud Firestore alternative

Apache CouchDB

Apache CouchDB is a document database with multi-primary replication, a JSON-over-HTTP API and an offline-first sync model that scales from servers to mobile devices.

GitHub stars
7k
Last commit
today
Licence
Apache-2.0
Self-hosted
Yes
couchdb.apache.orgApache CouchDB homepage screenshot

Apache CouchDB is a database that stores JSON documents and is reached through an HTTP/JSON API. Its headline feature is multi-primary sync: the Couch Replication Protocol lets data flow between server clusters, mobile phones and web browsers, which supports offline-first applications that reconcile changes when connectivity returns.

It can run as a single-node database behind an application server or as a cluster, stores binary data alongside JSON, and offers a developer-friendly query language with optional MapReduce views. The protocol is implemented by a variety of projects and products across computing environments. CouchDB is written in Erlang, known for reliability, and the homepage presents the design as built for dependable operation.

Apache CouchDB is licensed under Apache-2.0 and runs on your own servers or with any cloud provider. Documentation, a technical overview and download packages are on the project site. It suits teams building apps that must keep working offline and sync later, or that want a simple, HTTP-native document store.

Key features

  • Multi-primary replication between nodes
  • JSON documents over an HTTP API
  • Offline-first sync to mobile and browsers
  • Binary attachments alongside JSON
  • Query language and MapReduce views
  • Single-node or clustered deployment

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

Read more about Apache CouchDBWebsiteGitHub#8 Google Cloud Firestore alternative

RavenDB

RavenDB is a fully ACID NoSQL document database for .NET and other platforms, with built-in full-text, vector and time series features.

GitHub stars
4k
Last commit
today
Latest release
7.2.7
Self-hosted
Yes
Hosted version
Available
ravendb.netRavenDB homepage screenshot

RavenDB is a NoSQL document database that is fully ACID and secure by default. Its makers, frustrated with the state of the database industry, aim to combine strong performance with ease of use so developers can concentrate on their application instead of managing data infrastructure. It is built on .NET.

Repository topics list full-text search, indexing, sharding, spatial queries, time series, vector search and IoT use, and the README links to documentation, articles, a book and a try-from-your-browser option. It describes itself as completely open source under AGPLv3 and mentions a free developer license, while GitHub reports the license as 'Other', so confirm the terms for production use.

RavenDB can be run on your own servers or consumed as a managed cloud service from the vendor, which also sells commercial licenses. It suits .NET teams that want a document store with transactions, indexing and search built in.

Key features

  • Fully ACID document database
  • Secure by default
  • Full-text and vector search
  • Time series and spatial support
  • Sharding for scale
  • Free developer license

Pricing: Source available under AGPLv3 with a free developer license; commercial licenses and managed cloud plans are sold by the vendor.

Read more about RavenDBWebsiteGitHub#9 Google Cloud Firestore alternative

Deepstream.io

An open realtime server for syncing data, publishing events and making remote procedure calls at scale, with built-in authentication and a permission language.

GitHub stars
7.2k
Last commit
1 mo ago
Latest release
v10.2.4
Licence
MIT
Self-hosted
Yes
deepstreamio.github.ioDeepstream.io homepage screenshot

deepstream is an open-source realtime server inspired by ideas from financial trading technology. It lets clients and backend services sync data, exchange messages and make remote procedure calls at high speed and scale, and it is written in TypeScript for Node.js.

It is built on three core concepts. Records are schema-less, persistent documents that clients can edit and observe, with changes synchronized to all connected clients and backend processes in milliseconds and links between records to model relational data. Events provide publish-subscribe messaging with topic-based routing and subscription listening. RPCs offer request-response workflows with load balancing, failover and message routing handled by the server.

Security combines several authentication mechanisms with a permission language called Valve that specifies which user can do which action on which data. deepstream is licensed under MIT and hosted by you, with tutorials, a quickstart and documentation, plus community support on Stack Overflow and GitHub Discussions. It suits developers building collaborative or live-updating applications.

Key features

  • Realtime synced records
  • Publish-subscribe events with topic routing
  • RPCs with load balancing and failover
  • Pluggable authentication mechanisms
  • Valve permission language
  • WebSocket-based realtime transport

Pricing: Free and open source under the MIT licence.

Read more about Deepstream.ioWebsiteGitHub#10 Google Cloud Firestore alternative

1 more Google Cloud Firestore alternative

Commercial Google Cloud Firestore alternatives

Hosted, closed-source products that compete with Google Cloud Firestore. Showing 12 of 14.

See every Google Cloud Firestore alternative on its tool page

Google Cloud Firestore alternatives: questions

What is the best open-source alternative to Google Cloud Firestore?
Supabase is the top-ranked open-source alternative to Google Cloud Firestore 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, SurrealDB and MongoDB.
What are the best commercial alternatives to Google Cloud Firestore?
Couchbase Capella, IBM Cloudant, Amazon DocumentDB, Azure Cosmos DB and Back4App are among the hosted, closed-source alternatives to Google Cloud Firestore listed on Enlisted, which lists 14 in total. Compare their pricing and features on each tool page.
Are these Google Cloud Firestore alternatives free?
All 11 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. 7 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Google Cloud Firestore alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 9 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