Firestore (original) (raw)

Enterprise-grade document database with MongoDB compatibility
Build AI, web, and mobile applications with a fully managed, serverless document database that provides virtually unlimited scalability and industry-leading availability.
New customers get $300 in free credits to spend on Firestore. All customers get 50,000 reads, 20,000 writes, 20,000 deletes, and 1 GB storage free per day, not charged against your credits.
Features
MongoDB compatibility
Use a familiar MongoDB wire-compatible API on Firestore's serverless database service. You can now use your existing MongoDB application code, drivers, and integrations, in addition to the open-source ecosystem of MongoDB integrations, to quickly build applications for common use cases. Learn more.
Real-time synchronization
Develop rich applications utilizing advanced pipeline query capabilities, including full-text search, geospatial, and robust offline data handling. Built-in real-time sync facilitates offline-first or collaborative app development for mobile, web, and wearables. Power workloads in media, gaming, content management, messaging, location-based services, retail, hospitality, and business apps. Learn more.
Serverless
Focus on your application development using a fully managed, serverless document database that effortlessly scales up or down to meet any demand, with no manual sharding, maintenance windows, or administrative downtime. Enjoy multi-region replication with strong consistency, ACID-compliant multi-document transactions and virtually unlimited scalability without worrying about managing the underlying database infrastructure.
Gen AI ready
Turn simple text prompts into live, Firestore-backed applications in seconds with our Google AI Studio integration. Use remote MCP support to securely connect your favorite AI agents and developer tools directly to Firestore. Easily build generative AI applications with Firestore vector search, LangChain, and LlamaIndex integrations. Use turnkey extensions to integrate Firestore with popular AI services with a few clicks, enabling use cases such as automated embedding generation, language translations, image classification, and more.
Datastore compatibility
Use the familiar Datastore SDKs and wire compatibility on Firestore's serverless database service for seamless transition for existing Datastore applications. Bring Datastore’s hierarchical data structures with Entities and Kinds into Firestore’s collection-based model with richer query capabilities without breaking changes. Learn more.
Powerful query engine
Firestore allows you to run sophisticated queries including vector search, full-text search, geospatial queries, and ACID transactions against your JSON or BSON-compatible document data. This gives you more flexibility in the way you structure your data and allows you to unify your database and search operations.
Security
Firestore seamlessly integrates with Cloud Identity and Access Management, Cloud Identity Platform, and Firebase Authentication, to enable customizable identity-based security access controls and enables data validation using a configuration language.
Multi-region replication
Firestore offers automatic multi-region replication with strong consistency and industry-leading high availability of up to 99.999% SLA. This ensures that your data is safe and available, even when disasters strike.
How It Works
Firestore is a flexible, scalable JSON database for mobile device, web, and server development from Google Cloud. It's very easy to get started with Firestore and write rich and powerful applications. Learn best practices for building apps that use Firestore, including data location, document IDs, field names, indexes, read and write operations, and designing for scale.
Common Uses
Mobile and web apps
Learning resources
Learning resources
Gaming
Learning resources
Learning resources
Generative AI
Learning resources
Learning resources
Personalization
Learning resources
Learning resources
Content management
Learning resources
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.
Learning resources
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.
Generate a solution
What problem are you trying to solve?
What you'll get:
Step-by-step guide
Reference architecture
Available pre-built solutions
Pricing
| How Firestore pricing works | Firestore’s 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 (USD) |
| Operations | Enterprise editionProvides additional capabilities including MongoDB compatibility and an advanced query engine supporting a larger number of features and increased limits.In our serverless model, operations in Enterprise edition are charged based on read and write units. | |
| Read units | Starting at$0.05per 1 million read units (4 KB tranches) | |
| Write units | Starting at$0.26per 1 million write units (1 KB tranches) | |
| Real-time Update units | Starting at$0.30per 1 million write units (1 KB tranches) | |
| Operations | Standard editionProvides comprehensive capabilities as a document database including a standard query engine, fluent SDKs, real-time and offline support, high availability, and a convenient serverless operational model with seamless autoscaling.In our serverless model, operations conducted in Standard edition are charged based on read, write, and delete units. | |
| Read units | Starting at$0.03per 100,000 read units | |
| Write units | Starting at$0.09per 100,000 write units | |
| Delete units | Starting at$0.01per 100,000 delete units | |
| Storage | Enterprise editionEnterprise edition offers SSD storage for consistent performance in all utilization patterns. | Starting at$0.24Per GB/month |
| Standard editionStandard edition offers hybrid storage using both SSDs and HDDs. | Starting at$0.15per GB/month | |
| Network | Ingress | Free |
| Intra-region egress | Free | |
| Inter-region egress | Starting at$0.01per GB |
How Firestore pricing works
Firestore’s 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
Provides additional capabilities including MongoDB compatibility and an advanced query engine supporting a larger number of features and increased limits.
In our serverless model, operations in Enterprise edition are charged based on read and write units.
Price (USD)
Description
Starting at
$0.05
per 1 million read units (4 KB tranches)
Description
Starting at
$0.26
per 1 million write units (1 KB tranches)
Description
Starting at
$0.30
per 1 million write units (1 KB tranches)
Description
Provides comprehensive capabilities as a document database including a standard query engine, fluent SDKs, real-time and offline support, high availability, and a convenient serverless operational model with seamless autoscaling.
In our serverless model, operations conducted in Standard edition are charged based on read, write, and delete units.
Price (USD)
Description
Starting at
$0.03
per 100,000 read units
Description
Starting at
$0.09
per 100,000 write units
Description
Starting at
$0.01
per 100,000 delete units
Description
Enterprise edition offers SSD storage for consistent performance in all utilization patterns.
Price (USD)
Starting at
$0.24
Per GB/month
Standard edition offers hybrid storage using both SSDs and HDDs.
Description
Starting at
$0.15
per GB/month
Description
Price (USD)
Free
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
Generous free tier
Deploy a dynamic website
Create a Firestore database by using a web or mobile client library
Create a Firestore database by using a server client library
Check out all Firestore code samples
Business Case
More than 750,000 monthly active developers use Firestore.

"Once we implemented our new statistics processing system, we were able to update our contributors’ site metrics much faster…By providing this granular level of data to our contributors, we are helping them better optimize their content and deliver the best possible pieces to their readers."
Benjamin Harrigan, Software Architect, Forbes

