Firestore with MongoDB compatibility
MongoDB API compatibility with Firestore’s virtually unlimited scale, high availability, and cost-effectiveness
Leverage your existing MongoDB API expertise with the best of Firestore.
New customers get $300 in free credits to spend on Firestore. All customers get 50,000 reads, 40,000 writes, and 1 GB storage free per day, not charged against your credits.
Features
Serverless and highly available
Say goodbye to sharding and capacity planning. Firestore automatically scales with your workload needs, without the operational overhead. Enjoy multi-region replication with strong consistency, virtually unlimited scalability, industry-leading high availability of up to 99.999% SLA, and single-digit milliseconds read latency performance, without having to worry about managing the underlying database infrastructure.
MongoDB API compatibility
Leverage Firestore’s MongoDB-compatible API, including querying JSON, BSON data types, and ACID transactions, right out of the box. No learning curve, just pure productivity with the skills you already have.
Enterprise-ready security and monitoring
Secure Firestore with centralized Google Cloud governance encompassing IAM, VPC Service Controls (VPC-SC), Access Transparency, Access Approval, Cloud Monitoring, and Cloud Logging. Achieve enhanced visibility and simplified management of your Firestore database fleet with our integrated Database Center. Benefit from a unified fleet view and simplified management through centralized control and AI assistance.
Streamlined migration tools
Migrate your existing data seamlessly to Firestore using batch and streaming migration mode, minimizing downtime and ensuring complete data integrity.
Built-in Google Cloud integrations
Deploy applications faster using familiar MongoDB APIs on Google Cloud’s reliable infrastructure. Built-in Google Cloud integrations simplify billing, monitoring, security, and privacy. Optimize Firestore performance with Query Explain for deep query analysis. Leverage Database Insights for intuitive monitoring, detailed diagnostics, and identification of performance bottlenecks.
Pay-per-use advantage
Stop over-provisioning and align costs with actual usage with Firestore's pay-per-use model, requiring no operations or capacity forecasting, delivering consistent performance and throughput while saving you money compared to traditional capacity-based databases.
Broad ecosystem support
Use your existing MongoDB drivers, SDKs, and community integrations.
How It Works
Firestore with MongoDB compatibility offers a flexible MongoDB compatible API alongside Google Cloud's robust infrastructure, providing single-digit millisecond read performance, virtually unlimited scale, up to 99.999% availability, seamless Google Cloud integration, and cost-effective pricing.
Common Uses
Gaming
Build interactive, modern games
Modern games demand high-performance, flexible databases to power immersive player experiences. Firestore offers a robust, scalable, and durable document database, perfectly suited for managing critical persistent data such as user profiles, in-game inventories, game state, and marketplace listings. Its real-time capabilities ensure consistent and synchronized player experiences across all platforms and at any scale, allowing you to focus on creating compelling gameplay without worrying about database limitations.
Tutorials, quickstarts, & labs
Build interactive, modern games
Modern games demand high-performance, flexible databases to power immersive player experiences. Firestore offers a robust, scalable, and durable document database, perfectly suited for managing critical persistent data such as user profiles, in-game inventories, game state, and marketplace listings. Its real-time capabilities ensure consistent and synchronized player experiences across all platforms and at any scale, allowing you to focus on creating compelling gameplay without worrying about database limitations.
Content Management Systems (CMS)
Power content management systems
Deliver rich and dynamic content experiences across all platforms with Firestore. This powerful and scalable document database acts as a central hub for managing diverse content, including rich media metadata and complex textual data. Its flexible document model ensures consistent and efficient delivery of structured, metadata-rich content to your mobile and web applications, allowing you to scale your content library and user base without compromising performance or data integrity.
Tutorials, quickstarts, & labs
Power content management systems
Deliver rich and dynamic content experiences across all platforms with Firestore. This powerful and scalable document database acts as a central hub for managing diverse content, including rich media metadata and complex textual data. Its flexible document model ensures consistent and efficient delivery of structured, metadata-rich content to your mobile and web applications, allowing you to scale your content library and user base without compromising performance or data integrity.
Personalization
Create personalized experiences
Deliver highly personalized experiences at scale with Firestore. This flexible document database enables effortless management of diverse user data from your key channels (CRM, Web, Mobile), seamlessly integrating profiles, preferences, and activities. Build powerful personalization pipelines that adapt and scale with your understanding of your users, driving engagement and growth.
Tutorials, quickstarts, & labs
Create personalized experiences
Deliver highly personalized experiences at scale with Firestore. This flexible document database enables effortless management of diverse user data from your key channels (CRM, Web, Mobile), seamlessly integrating profiles, preferences, and activities. Build powerful personalization pipelines that adapt and scale with your understanding of your users, driving engagement and growth.
Generate a solution
What problem are you trying to solve?
What you'll get:
Step-by-step guide
Reference architecture
Available pre-built solutions
This service was built with Vertex AI. You must be 18 or older to use it. Do not enter sensitive, confidential, or personal info.
Pricing
| How Firestore with MongoDB compatibility pricing works | Pricing is based on the read and write operations conducted on your database, consumed storage, and network usage. Pricing varies based on the edition selected. Committed use discounts reduce the price further. | |
|---|---|---|
| Feature | Description | Price |
Operations | Enterprise edition read units Provides comprehensive capabilities including MongoDB compatibility and an advanced query engine supporting a larger number of features and increased limits. | Starting at $0.05 per 1 million read units (4 KB tranches) |
Enterprise edition write units Provides comprehensive capabilities including MongoDB compatibility and an advanced query engine supporting a larger number of features and increased limits. | Starting at $0.26 per 1 million write units (1 KB tranches) | |
Storage | Enterprise edition offers SSD storage for consistent performance in all utilization patterns. | Starting at $0.24 per GB/month |
Network | Ingress | Free |
Intra-region egress | Free | |
Inter-region egress | Starting at $0.01 per GB | |
How Firestore with MongoDB compatibility pricing works
Pricing is based on the read and write operations conducted on your database, consumed storage, and network usage. Pricing varies based on the edition selected. Committed use discounts reduce the price further.
Description
Enterprise edition read units
Provides comprehensive capabilities including MongoDB compatibility and an advanced query engine supporting a larger number of features and increased limits.
Price
Starting at
$0.05
per 1 million read units (4 KB tranches)
Enterprise edition write units
Provides comprehensive capabilities including MongoDB compatibility and an advanced query engine supporting a larger number of features and increased limits.
Description
Starting at
$0.26
per 1 million write units (1 KB tranches)
Description
Enterprise edition offers SSD storage for consistent performance in all utilization patterns.
Price
Starting at
$0.24
per GB/month
PRICING CALCULATOR
Estimate your monthly Firestore costs, including region specific pricing and fees.
GENEROUS FREE TIER
All customers get 50,000 reads, 20,000 writes, 20,000 deletes, and 1 GB storage free per day, not charged against your credits.
Start your proof of concept
Get started with the generous free tier
Learn how to use Firestore with MongoDB compatibility
Quickstart: Create a database and connect to it
Supported MongoDB data types and drivers
Announcing Firestore with MongoDB compatibility
Business Case
How customers are using Firestore with MongoDB compatibility
Karan Agarwal, Director of Engineering at HighLevel
"After migrating to Firestore, we improved developer productivity by 55%, observed better service reliability, and have been able to seamlessly scale to over 250,000 requests per second & 30 billion documents. Because Firestore is completely serverless and provides virtually unlimited scalability, we no longer have to worry about managing our underlying database infrastructure - liberating us from database DevOps. This has enabled us to focus on product innovations that matter to our customers."
MongoDB API compatible, enterprise-ready, document database
Automatically scales with your workload needs without the operational overhead
Built-in Google Cloud integrations simplify billing, monitoring, security, and privacy


