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 50,000 reads, 10,000 writes, 10,000 deletes, and 1 GB storage free per day, not charged against your credits.

  • Serverless, JSON-compatible database that easily scales, with no partitioning or maintenance

  • Easily build gen AI applications with Firestore vector search, LangChain, and Llamaindex

  • 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

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

Benefits

Enterprise-grade document database

Firestore is a JSON-compatible document database that offers rich queryability, high volumes of global indexes, serializable ACID-transactions and is fully integrated with Google Cloud’s governance tools.

Pay as you go, and effortlessly scale

Pay only for what you use—no up-front expenditure or underutilized resources. Automatically scale up and down as needed. No partitioning or maintenance required and achieve up to 99.999% availability SLA.

Launch applications and features faster

Firestore offers a great developer experience that helps you build applications faster. It offers built-in live synchronization, offline support, and ACID transactions—across client and server-side libraries.

Key features

Key features

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 partitioning, maintenance windows or downtime.

Powerful query engine

Firestore allows you to run sophisticated queries, including Vector Search, and ACID transactions against your JSON-compatible 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 partitioning, maintenance windows, or downtime.

Powerful query engine

Firestore allows you to run sophisticated queries, including Vector Search, and ACID transactions against your JSON-compatible document data. This gives you more flexibility in the way you structure your data.

AI functionality

Built-in Vector Search and turnkey extensions to integrate Firestore with popular AI services with a few clicks. Enables use cases, such as automated embedding generation, language translations, image classification, and more.

Gen AI library integrations

Easily build gen AI applications that are more accurate, transparent, and reliable with integrations in popular libraries including LangChain, and Llamaindex. Firestore’s integration supports common patterns—Document loader for loading and storing information from documents, Vector Store, and Memory (such as Chat Messages Memory).

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 Identity Platform and Firebase Authentication, to enable customizable identity-based security access controls and enables data validation using 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.

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