Learn more about the latest generative AI launches, including LangChain integrations across Google Cloud databases. Read the blog
Jump to
Firestore

Firestore

Easily develop rich applications using a fully managed, scalable, and serverless document database.

New customers get $300 in free credits to spend on Firestore. All customers get 1 GB storage free per project, not charged against your credits.

  • Serverless document database that effortlessly scales to meet any demand, with no maintenance

  • Fully customizable security and data validation rules to ensure the data is always protected

  • Accelerate development of mobile, web, and IoT apps with direct connectivity to the database

  • Built-in live synchronization and offline mode makes it easy to develop real-time applications

  • Seamless integration with Firebase and Google Cloud services like Cloud Functions and BigQuery

Benefits

Effortlessly scale to meet unpredictable demand

Firestore automatically scales up and down based on demand. It requires no maintenance, and provides high availability of 99.99–99.999% achieved through strongly consistent data replication.

Simple and flexible with pay as you go

No-ops database lets you pay only for what you use—no up-front expenditure or underutilized resources. Simplified architecture lets your apps talk directly to Firestore from your mobile or web clients.

Launch applications and features faster

Firestore offers a great  developer experience with built-in live synchronization, offline support, and ACID transactions. These features are available across a robust set of client and server-side libraries.

Key features

Key features

Serverless

Focus on your application development using a fully managed, serverless database that effortlessly scales up or down to meet any demand, with no maintenance windows or downtime.

Powerful query engine

Firestore allows you to run sophisticated ACID transactions against your document data. This gives you more flexibility in the way you structure your data.

Live synchronization and offline mode

Built-in live synchronization and offline mode makes it easy to build multi-user, collaborative applications on mobile web, and IoT devices, including workloads consisting of live asset tracking, activity tracking, real-time analytics, media and product catalogs, communications, social user profiles, and gaming leaderboards.

View all features
Forbes Logo
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

Read the blog

Documentation

Documentation

Quickstart

Quickstart using a mobile/web client library

Set up a Firestore database, add data, and read data using the Android, iOS, or Web client libraries.
Quickstart

Quickstart using a server client library

Set up a Firestore database, add data, and read data using the C#, Go, Java, Node.js, PHP, Python, or Ruby server client library.
Tutorial

Building scalable applications with Firestore

Best practices for building apps that use Firestore, including data location, document IDs, field names, indexes, read and write operations, and designing for scale.
Tutorial

Firestore sample app

This document describes when to use Firestore to build large applications.
APIs & Libraries

Firestore client libraries

Build a sample app for Android, iOS, Web, or Java.

Not seeing what you’re looking for?

All features

All features

Serverless
Fully managed, serverless database that effortlessly scales up or down to meet any demand, with no maintenance windows or downtime.
Powerful query engine
Firestore allows you to run sophisticated ACID transactions against your document data. This gives you more flexibility in the way you structure your data.
AI integrations
Rich, turn-key extensions to integrate Firestore with popular AI services with a few clicks. Enables use cases, such as automated language translations, image classification, and more.
Easily share data between Firestore and BigQuery
Capture changes to your documents in Firestore and replicate changes to BigQuery. Easily pull data from BigQuery into Firestore to add analytics to your apps.
Security
Firestore seamlessly integrates with Firebase Authentication and Identity Platform, to enable customizable identity-based security access controls and enables data validation via a configuration language.
Multi-region replication
With automatic multi-region replication and strong consistency, your data is safe and has a 99.999% availability guarantee, even when disasters strike.
Live synchronization and offline mode
Built-in live synchronization and offline mode make it easy to build multi-user, collaborative applications on mobile web, and IoT devices, including workloads consisting of live asset tracking, activity tracking, real-time analytics, media and product catalogs, communications, social user profiles, and gaming leaderboards.
Libraries for popular languages
Focus on your application development using Firestore client-side development libraries for Web, iOS, Android, Flutter, C++, and Unity. Firestore also supports traditional server-side development libraries using Node.js, Java, Go, Ruby, and PHP.
Datastore mode
Firestore supports the Datastore API. You won't need to make any changes to your existing Datastore apps, and you can expect the same performance characteristics and pricing with the added benefit of strong consistency. Existing Cloud Datastore databases will be automatically upgraded to Firestore starting in 2021.
LangChain integration
Easily build gen AI applications that are more accurate, transparent, and reliable with LangChain integration. Firestore has two LangChain integrations - Document loader for loading and storing information from documents and Chat Messages Memory for enabling chains to recall previous conversations. Visit the GitHub repository (Native mode and Datastore mode) to learn more. 

Pricing

Pricing

Cloud Firestore detailed pricing is available on our pricing page.

Feature
Price
Stored data
$0.18/GB
Bandwidth
Document writes
$0.18/100K
Document reads
$0.06/100K
Document deletes
$0.02/100K

Take the next step

Start building on Google Cloud with $300 in free credits and 20+ always free products.

Google Cloud
  • ‪English‬
  • ‪Deutsch‬
  • ‪Español‬
  • ‪Español (Latinoamérica)‬
  • ‪Français‬
  • ‪Indonesia‬
  • ‪Italiano‬
  • ‪Português (Brasil)‬
  • ‪简体中文‬
  • ‪繁體中文‬
  • ‪日本語‬
  • ‪한국어‬
Console
Google Cloud