Google Cloud Firestore

active

by Google · since 2017 · also known as Firestore, Cloud Firestore, Firestore with MongoDB compatibility

Serverless document database with realtime listeners, offline SDKs and a new Enterprise edition.

documentvectorspatialsearch enginemanaged serviceproprietarymature

Overview

Firestore is Google Cloud's serverless document database, also sold as part of Firebase. It stores documents in collections and subcollections, runs on Spanner-class infrastructure with strongly consistent multi-region replication, and gives mobile and web clients realtime listeners, offline caching and security rules. The Enterprise edition, generally available in 2026, adds a MongoDB-compatible mode and a Pipeline query interface with joins, plus text and geospatial search (GA October 2026). Standard Firestore still requires an index for every query shape. It is the default for Firebase-style apps that want zero ops and pay-per-operation pricing.

Strengths & trade-offs

Strengths

  • +Truly serverless: no capacity planning, scales to zero cost at idle
  • +Realtime listeners and offline persistence in the Firebase SDKs
  • +Security Rules let clients talk to the database directly
  • +Strongly consistent, ACID transactions even in multi-region mode
  • +Enterprise edition adds MongoDB compatibility, joins and text search
  • +Point-in-time recovery and reads at a past timestamp

Trade-offs

  • −Per-operation billing can explode with chatty listeners or fan-out reads
  • −Standard edition has limited query expressiveness and needs composite indexes for most filters
  • −Write rate limits on individual documents and on sequential keys
  • −GCP-only, with proprietary APIs outside the Enterprise MongoDB mode

Great for

  • +Mobile and web apps built on Firebase
  • +Realtime collaborative features and chat
  • +User profiles and app state with offline support
  • +Serverless backends on Cloud Run or Cloud Functions

Think twice for

  • −Analytics and aggregation-heavy workloads
  • −High-frequency counters or hot single documents
  • −Workloads needing multi-cloud portability

Capabilities

Native or official first-party support · 16 of 25 tracked

✓Transactions
✓Joins
✓Secondary indexes
✓Full-text search
✓Vector search
✓Geospatial
✓JSON
✓Triggers
✓TTL / expiry
✓Pub/Sub
✓Durable persistence
✓Encryption at rest
✓Role-based access
✓Time travel
✓Online schema changes
✓Offline sync
–Change data capture
–Stored procedures
–Materialized views
–Columnar storage
–In-memory
–Compression
–Branching
–Streaming ingest
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Large · ≤ 1 PB
Horizontal scaling
Native
Multi-region
Active active
Transactions
Full ACID
Consistency
Strong
Schema
Schemaless
Architecture
Distributed, Serverless
Query languages
Firestore query API, Pipeline operations (Enterprise), MongoDB Query API (Enterprise)

Automatic splitting; multi-region locations replicate writes synchronously. Sustained hot-spot writes to one document are limited to about 1 per second.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

available on · Google Cloud

Ecosystem

compatible withMongoDB
apis & protocolsgRPC, REST, MongoDB wire protocol (Enterprise), Firebase client SDKs
client languagesJavaScript, Swift, Kotlin, Java, Python, Go, C#, Dart, C++, PHP, Ruby

Alternatives to Google Cloud Firestore

Compare all→
Firebase Realtime DatabaseDocument26.4

Firebase's original JSON-tree database that syncs every change to connected clients in milliseconds.

google-cloud-firestore vs firebase-realtime-database →
MongoDB AtlasDocument15.6

MongoDB's own multi-cloud DBaaS, bundling search, vector search and stream processing.

google-cloud-firestore vs mongodb-atlas →
Azure Cosmos DBDocument45.3

Microsoft's globally distributed, multi-API NoSQL and vector database with SLA-backed latency.

google-cloud-firestore vs azure-cosmos-db →
Amazon DynamoDBKey-Value63.3

AWS's serverless key-value and document store with single-digit-millisecond reads at any scale.

google-cloud-firestore vs amazon-dynamodb →
SupabaseRelational54.3

Open-source Postgres backend platform: database, auth, storage, realtime and edge functions in one project.

google-cloud-firestore vs supabase →
Couchbase CapellaDocument0.0

Couchbase's managed DBaaS: Couchbase Server clusters plus App Services sync and AI tooling.

google-cloud-firestore vs couchbase-capella →

Google Cloud Firestore FAQ

What is Google Cloud Firestore?

Google Cloud Firestore is a document database by Google, first released in 2017. Firestore is Google Cloud's serverless document database, also sold as part of Firebase. It stores documents in collections and subcollections, runs on Spanner-class infrastructure with strongly consistent multi-region replication, and gives mobile and web clients realtime listeners, offline caching and security rules. The Enterprise edition, generally available in 2026, adds a MongoDB-compatible mode and a Pipeline query interface with joins, plus text and geospatial search (GA October 2026). Standard Firestore still requires an index for every query shape. It is the default for Firebase-style apps that want zero ops and pay-per-operation pricing.

Is Google Cloud Firestore open source?

No. Google Cloud Firestore is proprietary, closed-source software.

Does Google Cloud Firestore support ACID transactions?

Yes. Google Cloud Firestore supports full ACID transactions, with strong consistency.

Does Google Cloud Firestore scale horizontally?

Google Cloud Firestore scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at large scale (≤ 1 PB). It supports active-active multi-region writes.

How can I run Google Cloud Firestore?

You can use the vendor's managed cloud and run it serverless. Managed offerings include Cloud Firestore. It is available on Google Cloud.

What is Google Cloud Firestore best for?

Google Cloud Firestore is a strong fit for mobile and web apps built on Firebase; realtime collaborative features and chat; and user profiles and app state with offline support. Think twice for analytics and aggregation-heavy workloads.

What are the best alternatives to Google Cloud Firestore?

Common alternatives to Google Cloud Firestore include Firebase Realtime Database, MongoDB Atlas, Azure Cosmos DB, Amazon DynamoDB and Supabase. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

How popular is Google Cloud Firestore?

Google Cloud Firestore ranks #28 of 844 databases on the WhichDB Score (49.1/100), and #3 among document databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.