Firestore vs RxDB
Firestore
cloud.google.comRxDB
rxdb.infoSide by side
| Figure | Firestore | RxDB |
|---|---|---|
| Price from | Free | $99/mo |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| iOS | Yes | Yes |
| Android | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 9 | 4 |
| Spec score · Mobile Databases | 9.2 (#1) | 8.1 (#9) |
| Encryption | Firestore encrypts data at rest automatically and uses TLS for data in transit. | The encryption plugin encrypts locally stored documents with a password and works in browsers, React Native, and Node.js. |
| Product | Firestore is a fully managed, serverless document database for building AI, web, and mobile applications. | RxDB is a NoSQL database for JavaScript that runs directly in an app. |
Plans
Firestore
- Standard edition — document readsPrice not published
- Standard edition — document writesPrice not published
- Standard edition — document deletesPrice not published
- Standard edition — stored dataPrice not published
- Free quotaFree
- Free quotaFree
- Standard edition pay-as-you-go$0.03 a month
- Enterprise editionPrice not published
- Standard editionPrice not published
In their own words
Firestore
Firestore is a fully managed, serverless document database for building AI, web, and mobile applications. It stores flexible JSON data and supports vector search, full-text search, geospatial queries, and ACID transactions on JSON or BSON-compatible documents. Client SDKs for Android, iOS, and web provide real-time updates and automatic syncing for offline access. Firestore can replicate data across multiple regions with strong consistency; multi-region deployments have a stated 99.999% SLA-backed availability. Integrations named for generative AI application work include Google AI Studio, remote MCP, LangChain, and LlamaIndex. Identity controls connect with Cloud IAM, Cloud Identity Platform, and Firebase Authentication. Data is encrypted before it is written to disk, with customer-managed keys available through Cloud KMS. The free quota applies to one database per project and includes 1 GiB of storage, daily read, write, and delete allowances, and 10 GiB monthly outbound transfer. New customers receive $300 in credits, separate from that quota. Server client libraries bypass Firestore Security Rules, so server access needs IAM controls.
RxDB
RxDB is a NoSQL database for JavaScript that runs inside an application and keeps data locally on the client. It supports offline operation, including applications that run entirely without a backend. When synchronization is needed, its Sync Engine connects to backends including RxServer, GraphQL, Firebase, Supabase, MongoDB, NATS, HTTP, CouchDB, WebRTC, Appwrite, Google Drive, and Microsoft OneDrive. Observable queries update as stored data changes. RxDB runs in browsers, mobile apps, desktop applications, and servers, with storage options including LocalStorage, IndexedDB, OPFS, SQLite, Node.js Filesystem, Expo Filesystem, MongoDB, and FoundationDB, among others. Collections use JSON Schema with validation and migration support. An encryption plugin protects locally stored documents with a password in browsers, React Native, and Node.js. The free tier is under Apache 2.0 and allows up to 13 open collections in parallel. Free users get community support through GitHub and Discord; Enterprise includes an SLA with a 24-hour first response. Pro costs $99 a month billed annually, and Pro Plus costs $239 a month billed annually.