ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 2.1 months ago (distributed domain, exempt) |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://firebase.google.com/docs/database |
| Last Crawled | 2026-02-07 05:01:49 (2 months ago) |
| First Indexed | not set |
| HTTP Status Code | 200 |
| Meta Title | Firebase Realtime Database |
| Meta Description | Store and sync data with our NoSQL cloud database. Data is synced across all clients in realtime, and remains available when your app goes offline. |
| Meta Canonical | null |
| Boilerpipe Text | On this page
Realtime Database
Cloud Firestore
Key capabilities
How does it work?
Implementation path
Store other types of data
Next steps:
Firebase Realtime Database
Stay organized with collections
Save and categorize content based on your preferences.
Store and sync data with our NoSQL cloud database. Data
is synced across all clients in realtime, and remains available when your
app goes offline.
Realtime Database
The
Firebase Realtime Database
is a cloud-hosted database. Data is stored as JSON
and synchronized in realtime to every connected client. When you build
cross-platform apps with our Apple platforms, Android, and JavaScript SDKs, all of your
clients share one
Realtime Database
instance and automatically receive updates with
the newest data.
Alternatively, consider trying
Cloud Firestore
for modern
applications requiring richer data models, queryability, scalability and higher
availability.
Ready to get started? Choose your platform:
iOS+
Android
Web
Flutter
Unity
C++
Admin
REST API
Key capabilities
Realtime
Instead of typical HTTP requests, the
Firebase Realtime Database
uses data
synchronization—every time data changes, any connected device receives
that update within milliseconds. Provide collaborative and
immersive experiences without thinking about networking code.
Offline
Firebase apps remain responsive even when offline because the
Firebase Realtime Database
SDK persists your data to disk. Once connectivity
is reestablished, the client device receives any changes it missed,
synchronizing it with the current server state.
Accessible from Client Devices
The
Firebase Realtime Database
can be accessed directly from a mobile device
or web browser; there's no need for an application server. Security and
data validation are available through the
Firebase Realtime Database
Security Rules, expression-based rules that are executed when data is
read or written.
Scale across multiple databases
With
Firebase Realtime Database
on the Blaze pricing plan, you can support
your app's data needs at scale by splitting your data across multiple
database instances in the same Firebase project. Streamline authentication
with
Firebase Authentication
on your project and authenticate users across
your database instances. Control access to the data in each database with
custom
Firebase Realtime Database
Security Rules
for each database instance.
How does it work?
The
Firebase Realtime Database
lets you build rich, collaborative applications
by allowing secure access to the database directly from client-side code. Data
is persisted locally, and even while offline, realtime events continue to fire,
giving the end user a responsive experience. When the device regains connection,
the
Realtime Database
synchronizes the local data changes with the remote updates
that occurred while the client was offline, merging any conflicts automatically.
The
Realtime Database
provides a flexible, expression-based rules language,
called
Firebase Realtime Database
Security Rules, to define how your data should be
structured and when data can be read from or written to. When integrated with
Firebase Authentication
, developers can define who has access to what data, and how
they can access it.
The
Realtime Database
is a NoSQL database and as such has different optimizations
and capabilities compared to a relational database. The
Realtime Database
API is
designed to only allow operations that can be executed quickly. This lets you
build a great realtime experience that can serve millions of users without
compromising on responsiveness. Because of this, it is important to think about
how users need to access your data and then
structure it accordingly
.
Implementation path
Integrate the
Firebase Realtime Database
SDKs
Quickly include clients using Gradle, Swift Package Manager, or a script include.
Create
Realtime Database
References
Reference your JSON data, such as "users/user:1234/phone_number" to set
data or subscribe to data changes.
Set Data and Listen for Changes
Use these references to write data or subscribe to changes.
Enable Offline Persistence
Allow data to be written to the device's local disk so it can be available
while offline.
Secure your data
Use
Firebase Realtime Database
Security Rules to secure your data.
Store other types of data
Cloud Firestore
is a flexible, scalable database for
mobile, web, and server development from Firebase and Google Cloud.
To learn more about the differences between database options, see
Choose a database:
Cloud Firestore
or
Realtime Database
.
Firebase Remote Config
stores developer specified
key-value pairs to change the behavior and appearance of your app without
requiring users to download an update.
Firebase Hosting
hosts the HTML, CSS, and
JavaScript for your website as well as other developer-provided assets like
graphics, fonts, and icons.
Cloud Storage
stores files such as images,
videos, and audio as well as other user-generated content.
Next steps:
Set data and listen for changes using the
Apple platforms
,
Android
,
Web
,
Admin
SDKs,
or the
REST API
.
Add
Firebase Realtime Database
to your
Apple
,
Android
, or
Web
app.
Learn about how to secure your files using
Firebase Realtime Database
Security Rules
.
Except as otherwise noted, the content of this page is licensed under the
Creative Commons Attribution 4.0 License
, and code samples are licensed under the
Apache 2.0 License
. For details, see the
Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-05 UTC."],[],[]] |
| Markdown | [Skip to main content](https://firebase.google.com/docs/database#main-content)
[](https://firebase.google.com/)
More
[Build](https://firebase.google.com/products-build)
- Build
- Get to market quickly and securely with products that can scale globally
- [Go to Build](https://firebase.google.com/products-build)
- Build Products
- [App Check](https://firebase.google.com/products/app-check)
- [App Hosting](https://firebase.google.com/products/app-hosting)
- [Authentication](https://firebase.google.com/products/auth)
- [Cloud Functions](https://firebase.google.com/products/functions)
- [Cloud Storage](https://firebase.google.com/products/storage)
- [Data Connect](https://firebase.google.com/products/data-connect)
- [Extensions](https://firebase.google.com/products/extensions)
- [Firebase ML](https://firebase.google.com/products/ml)
- [Firestore](https://firebase.google.com/products/firestore)
- [Genkit](https://genkit.dev/)
- [Hosting](https://firebase.google.com/products/hosting)
- [Phone Number Verification](https://firebase.google.com/products/phone-number-verification)
- [Realtime Database](https://firebase.google.com/products/realtime-database)
- [Firebase AI Logic client SDKs](https://firebase.google.com/products/firebase-ai-logic)
- [Generative AI](https://firebase.google.com/products/generative-ai)
[Run](https://firebase.google.com/products-run)
- Run
- Run your app with confidence and deliver the best experience for your users
- [Go to Run](https://firebase.google.com/products-run)
- Run Products
- [A/B Testing](https://firebase.google.com/products/ab-testing)
- [App Distribution](https://firebase.google.com/products/app-distribution)
- [Cloud Messaging](https://firebase.google.com/products/cloud-messaging)
- [Crashlytics](https://firebase.google.com/products/crashlytics)
- [Google Analytics](https://firebase.google.com/products/analytics)
- [In-App Messaging](https://firebase.google.com/products/in-app-messaging)
- [Performance Monitoring](https://firebase.google.com/products/performance)
- [Remote Config](https://firebase.google.com/products/remote-config)
- [Test Lab](https://firebase.google.com/products/test-lab)
[Solutions](https://firebase.google.com/solutions)
[Pricing](https://firebase.google.com/pricing)
[Docs](https://firebase.google.com/docs)
- [Overview](https://firebase.google.com/docs)
- [Fundamentals](https://firebase.google.com/docs/guides)
- [AI](https://firebase.google.com/docs/ai)
- [Build](https://firebase.google.com/docs/build)
- [Run](https://firebase.google.com/docs/run)
- [Reference](https://firebase.google.com/docs/reference)
- [Samples](https://firebase.google.com/docs/samples)
[Community](https://firebase.google.com/community)
- [Learn](https://firebase.google.com/community/learn)
- [Events](https://firebase.google.com/community/events)
- [Stories](https://firebase.google.com/community/stories)
[Support](https://firebase.google.com/support)
- [English](https://firebase.google.com/docs/database)
- [Deutsch](https://firebase.google.com/docs/database?hl=de)
- [Español – América Latina](https://firebase.google.com/docs/database?hl=es-419)
- [Français](https://firebase.google.com/docs/database?hl=fr)
- [Indonesia](https://firebase.google.com/docs/database?hl=id)
- [Italiano](https://firebase.google.com/docs/database?hl=it)
- [Polski](https://firebase.google.com/docs/database?hl=pl)
- [Português – Brasil](https://firebase.google.com/docs/database?hl=pt-br)
- [Tiếng Việt](https://firebase.google.com/docs/database?hl=vi)
- [Türkçe](https://firebase.google.com/docs/database?hl=tr)
- [Русский](https://firebase.google.com/docs/database?hl=ru)
- [עברית](https://firebase.google.com/docs/database?hl=he)
- [العربيّة](https://firebase.google.com/docs/database?hl=ar)
- [فارسی](https://firebase.google.com/docs/database?hl=fa)
- [हिंदी](https://firebase.google.com/docs/database?hl=hi)
- [বাংলা](https://firebase.google.com/docs/database?hl=bn)
- [ภาษาไทย](https://firebase.google.com/docs/database?hl=th)
- [中文 – 简体](https://firebase.google.com/docs/database?hl=zh-cn)
- [中文 – 繁體](https://firebase.google.com/docs/database?hl=zh-tw)
- [日本語](https://firebase.google.com/docs/database?hl=ja)
- [한국어](https://firebase.google.com/docs/database?hl=ko)
[Blog](https://firebase.blog/) [Studio](https://studio.firebase.google.com/) [Go to console](https://console.firebase.google.com/)
[Sign in](https://firebase.google.com/_d/signin?continue=https%3A%2F%2Ffirebase.google.com%2Fdocs%2Fdatabase&prompt=select_account)
- [Documentation](https://firebase.google.com/docs)
- [Realtime Database](https://firebase.google.com/docs/database)
[Overview](https://firebase.google.com/docs)
[Fundamentals](https://firebase.google.com/docs/guides)
- [Add Firebase - Apple platforms (iOS+)](https://firebase.google.com/docs/ios/setup)
- [Add Firebase - Android](https://firebase.google.com/docs/android/setup)
- [Add Firebase - Web](https://firebase.google.com/docs/web/setup)
- [Add Firebase - Flutter](https://firebase.google.com/docs/flutter/setup)
- [Add Firebase - C++](https://firebase.google.com/docs/cpp/setup)
- [Add Firebase - Unity](https://firebase.google.com/docs/unity/setup)
- [Add Firebase - Server environments](https://firebase.google.com/docs/admin/setup)
- [Manage Firebase projects](https://firebase.google.com/docs/projects/learn-more)
- [Supported platforms & frameworks](https://firebase.google.com/docs/libraries)
[AI](https://firebase.google.com/docs/ai)
- Develop with AI assistance
- [Overview](https://firebase.google.com/docs/ai-assistance)
- [Firebase Studio Build and ship full-stack AI-infused apps right from your browser.](https://firebase.google.com/docs/studio)
- [Gemini in Firebase Streamline development with an AI-powered assistant in Firebase interfaces and tools.](https://firebase.google.com/docs/ai-assistance/gemini-in-firebase)
- [MCP, Gemini CLI, & agents Access agentive development tools, like our MCP server and Gemini CLI extension.](https://firebase.google.com/docs/ai-assistance/mcp-server)
- Build AI-powered apps
- [Firebase AI Logic Build AI-powered mobile and web apps and features with the Gemini and Imagen models using Firebase AI Logic.](https://firebase.google.com/docs/ai-logic)
- [Genkit Build full-stack AI-powered applications using this open-source framework.](https://genkit.dev/)
[Build](https://firebase.google.com/docs/build)
- [Authentication Simplify user authentication and sign-in on a secure, all-in-one identity platform.](https://firebase.google.com/docs/auth)
- [Phone Number Verification Obtain the phone number of a device directly from the carrier, without SMS.](https://firebase.google.com/docs/phone-number-verification)
- [App Check Protect your backend resources from abuse and unauthorized access.](https://firebase.google.com/docs/app-check)
- [Security Rules Define granular, server-enforced rules to protect your database and storage data.](https://firebase.google.com/docs/rules)
- [Data Connect Build and scale your apps using a fully-managed PostgreSQL relational database service.](https://firebase.google.com/docs/data-connect)
- [Firestore Store and sync data using a scalable NoSQL cloud database with rich data models and queryability.](https://firebase.google.com/docs/firestore)
- [Realtime Database Store and sync data in realtime with a NoSQL cloud database.](https://firebase.google.com/docs/database)
- [Storage Store and serve content like images, audio, video with a secure cloud-hosted solution.](https://firebase.google.com/docs/storage)
- [App Hosting Deploy your modern, full-stack web apps with server-side rendering and AI features.](https://firebase.google.com/docs/app-hosting)
- [Hosting Deploy your static and single-page web apps to a global CDN with a single command.](https://firebase.google.com/docs/hosting)
- [Cloud Functions Run backend code in response to events without provisioning or managing a server.](https://firebase.google.com/docs/functions)
- [Extensions Deploy pre-built integrations and solutions for common tasks.](https://firebase.google.com/docs/extensions)
- [Emulator Suite Test your app in real-world conditions without affecting live data.](https://firebase.google.com/docs/emulator-suite)
[Run](https://firebase.google.com/docs/run)
- [Test Lab Test your Android and iOS apps on a wide range of real and virtual devices, all in the cloud.](https://firebase.google.com/docs/test-lab)
- [App Distribution Streamline delivery of pre-release Android and iOS apps to trusted testers.](https://firebase.google.com/docs/app-distribution)
- [Crashlytics Track, prioritize, and fix app stability issues.](https://firebase.google.com/docs/crashlytics)
- [Performance Monitoring Gain real-time insight into your app's performance and fix issues.](https://firebase.google.com/docs/perf-mon)
- [Remote Config Instantly change your app's behavior and appearance, without publishing an update.](https://firebase.google.com/docs/remote-config)
- [A/B Testing Test variants to make data-driven decisions about changes, features, and campaigns.](https://firebase.google.com/docs/ab-testing)
- [Cloud Messaging Send notifications and messages to your users on Android, iOS, and the Web.](https://firebase.google.com/docs/cloud-messaging)
- [In-App Messaging Engage your active users with targeted, contextual messages within your app.](https://firebase.google.com/docs/in-app-messaging)
- [Google Analytics Gain insights into user behavior, and optimize your app's marketing and performance.](https://firebase.google.com/docs/analytics)
- [Google Admob Monetize your app, gain user insights, and tailor the ad experience.](https://firebase.google.com/docs/admob)
- [Google Ads Run smarter campaigns, find high-value users, and measure in-app conversions.](https://firebase.google.com/docs/ads)
[Reference](https://firebase.google.com/docs/reference)
[Samples](https://firebase.google.com/docs/samples)
More
[](https://firebase.google.com/)
- [Build](https://firebase.google.com/products-build)
- More
- [Run](https://firebase.google.com/products-run)
- More
- [Solutions](https://firebase.google.com/solutions)
- [Pricing](https://firebase.google.com/pricing)
- [Docs](https://firebase.google.com/docs)
- More
- [Overview](https://firebase.google.com/docs)
- [Fundamentals](https://firebase.google.com/docs/guides)
- More
- [AI](https://firebase.google.com/docs/ai)
- More
- [Build](https://firebase.google.com/docs/build)
- More
- [Run](https://firebase.google.com/docs/run)
- More
- [Reference](https://firebase.google.com/docs/reference)
- [Samples](https://firebase.google.com/docs/samples)
- [Community](https://firebase.google.com/community)
- More
- [Support](https://firebase.google.com/support)
- [Blog](https://firebase.blog/)
- [Studio](https://studio.firebase.google.com/)
- [Go to console](https://console.firebase.google.com/)
- [Overview](https://firebase.google.com/docs/build)
- Emulator Suite
- [Introduction](https://firebase.google.com/docs/emulator-suite)
- Connect your app and prototype
- [Get started](https://firebase.google.com/docs/emulator-suite/connect_and_prototype)
- [Connect to the Authentication emulator](https://firebase.google.com/docs/emulator-suite/connect_auth)
- [Connect to the Realtime Database emulator](https://firebase.google.com/docs/emulator-suite/connect_rtdb)
- [Connect to the Firestore emulator](https://firebase.google.com/docs/emulator-suite/connect_firestore)
- [Connect to the Cloud Storage for Firebase emulator](https://firebase.google.com/docs/emulator-suite/connect_storage)
- [Use the Hosting emulator](https://firebase.google.com/docs/emulator-suite/use_hosting)
- [Use the App Hosting emulator](https://firebase.google.com/docs/emulator-suite/use_app_hosting)
- [Connect to the Cloud Functions emulator](https://firebase.google.com/docs/emulator-suite/connect_functions)
- [Use the Extensions emulator](https://firebase.google.com/docs/emulator-suite/use_extensions)
- [Install, configure and integrate](https://firebase.google.com/docs/emulator-suite/install_and_configure)
- Authentication
- [Introduction](https://firebase.google.com/docs/auth)
- [Where do I start?](https://firebase.google.com/docs/auth/where-to-start)
- [Users in Firebase Projects](https://firebase.google.com/docs/auth/users)
- iOS+
- [Sign in with a pre-built UI](https://firebase.google.com/docs/auth/ios/firebaseui)
- [Get Started](https://firebase.google.com/docs/auth/ios/start)
- [Manage Users](https://firebase.google.com/docs/auth/ios/manage-users)
- [Password Authentication](https://firebase.google.com/docs/auth/ios/password-auth)
- [Email Link Authentication](https://firebase.google.com/docs/auth/ios/email-link-auth)
- [Email Link Migration](https://firebase.google.com/docs/auth/ios/email-link-migration)
- [Sign in with Google](https://firebase.google.com/docs/auth/ios/google-signin)
- [Facebook Login](https://firebase.google.com/docs/auth/ios/facebook-login)
- [Sign in with Apple](https://firebase.google.com/docs/auth/ios/apple)
- [Twitter Login](https://firebase.google.com/docs/auth/ios/twitter-login)
- [GitHub](https://firebase.google.com/docs/auth/ios/github-auth)
- [Microsoft](https://firebase.google.com/docs/auth/ios/microsoft-oauth)
- [Yahoo](https://firebase.google.com/docs/auth/ios/yahoo-oauth)
- [Game Center Sign-in](https://firebase.google.com/docs/auth/ios/game-center)
- [Phone Number](https://firebase.google.com/docs/auth/ios/phone-auth)
- [OpenID Connect](https://firebase.google.com/docs/auth/ios/openid-connect)
- [Use a Custom Auth System](https://firebase.google.com/docs/auth/ios/custom-auth)
- [Anonymous Authentication](https://firebase.google.com/docs/auth/ios/anonymous-auth)
- [Enabling cross-app authentication with shared Keychain](https://firebase.google.com/docs/auth/ios/single-sign-on)
- [Link Multiple Auth Providers](https://firebase.google.com/docs/auth/ios/account-linking)
- [SMS Multi-factor Auth](https://firebase.google.com/docs/auth/ios/multi-factor)
- [TOTP Multi-factor Auth](https://firebase.google.com/docs/auth/ios/totp-mfa)
- [Passing State in Email Actions](https://firebase.google.com/docs/auth/ios/passing-state-in-email-actions)
- [Handle Errors](https://firebase.google.com/docs/auth/ios/errors)
- Android
- [Sign in with a pre-built UI](https://firebase.google.com/docs/auth/android/firebaseui)
- [Get Started](https://firebase.google.com/docs/auth/android/start)
- [Manage Users](https://firebase.google.com/docs/auth/android/manage-users)
- [Password Authentication](https://firebase.google.com/docs/auth/android/password-auth)
- [Email Link Authentication](https://firebase.google.com/docs/auth/android/email-link-auth)
- [Email Link Migration](https://firebase.google.com/docs/auth/android/email-link-migration)
- [Sign in with Google](https://firebase.google.com/docs/auth/android/google-signin)
- [Facebook Login](https://firebase.google.com/docs/auth/android/facebook-login)
- [Sign in with Apple](https://firebase.google.com/docs/auth/android/apple)
- [Twitter](https://firebase.google.com/docs/auth/android/twitter-login)
- [GitHub](https://firebase.google.com/docs/auth/android/github-auth)
- [Microsoft](https://firebase.google.com/docs/auth/android/microsoft-oauth)
- [Yahoo](https://firebase.google.com/docs/auth/android/yahoo-oauth)
- [Play Games Sign-in](https://firebase.google.com/docs/auth/android/play-games)
- [Phone Number](https://firebase.google.com/docs/auth/android/phone-auth)
- [OpenID Connect](https://firebase.google.com/docs/auth/android/openid-connect)
- [Use a Custom Auth System](https://firebase.google.com/docs/auth/android/custom-auth)
- [Anonymous Authentication](https://firebase.google.com/docs/auth/android/anonymous-auth)
- [SMS Multi-factor Auth](https://firebase.google.com/docs/auth/android/multi-factor)
- [TOTP Multi-factor Auth](https://firebase.google.com/docs/auth/android/totp-mfa)
- [Link Multiple Auth Providers](https://firebase.google.com/docs/auth/android/account-linking)
- [Passing State in Email Actions](https://firebase.google.com/docs/auth/android/passing-state-in-email-actions)
- Flutter
- [Get Started](https://firebase.google.com/docs/auth/flutter/start)
- [Manage Users](https://firebase.google.com/docs/auth/flutter/manage-users)
- [Password Authentication](https://firebase.google.com/docs/auth/flutter/password-auth)
- [Email Link Authentication](https://firebase.google.com/docs/auth/flutter/email-link-auth)
- [Federated Identity & Social](https://firebase.google.com/docs/auth/flutter/federated-auth)
- [Phone Number](https://firebase.google.com/docs/auth/flutter/phone-auth)
- [Use a Custom Auth System](https://firebase.google.com/docs/auth/flutter/custom-auth)
- [Anonymous Authentication](https://firebase.google.com/docs/auth/flutter/anonymous-auth)
- [Multi-factor Auth](https://firebase.google.com/docs/auth/flutter/multi-factor)
- [Link Multiple Auth Providers](https://firebase.google.com/docs/auth/flutter/account-linking)
- [Passing State in Email Actions](https://firebase.google.com/docs/auth/flutter/passing-state-in-email-actions)
- [Handle Errors](https://firebase.google.com/docs/auth/flutter/errors)
- Web
- [Sign in with a pre-built UI](https://firebase.google.com/docs/auth/web/firebaseui)
- [Get Started](https://firebase.google.com/docs/auth/web/start)
- [Manage Users](https://firebase.google.com/docs/auth/web/manage-users)
- [Password Authentication](https://firebase.google.com/docs/auth/web/password-auth)
- [Email Link Authentication](https://firebase.google.com/docs/auth/web/email-link-auth)
- [Sign in with Google](https://firebase.google.com/docs/auth/web/google-signin)
- [Facebook Login](https://firebase.google.com/docs/auth/web/facebook-login)
- [Sign in with Apple](https://firebase.google.com/docs/auth/web/apple)
- [Twitter](https://firebase.google.com/docs/auth/web/twitter-login)
- [GitHub](https://firebase.google.com/docs/auth/web/github-auth)
- [Microsoft](https://firebase.google.com/docs/auth/web/microsoft-oauth)
- [Yahoo](https://firebase.google.com/docs/auth/web/yahoo-oauth)
- [Phone Number](https://firebase.google.com/docs/auth/web/phone-auth)
- [OpenID Connect](https://firebase.google.com/docs/auth/web/openid-connect)
- [SAML](https://firebase.google.com/docs/auth/web/saml)
- [Use a Custom Auth System](https://firebase.google.com/docs/auth/web/custom-auth)
- [Anonymous Authentication](https://firebase.google.com/docs/auth/web/anonymous-auth)
- [SMS Multi-factor Auth](https://firebase.google.com/docs/auth/web/multi-factor)
- [TOTP Multi-factor Auth](https://firebase.google.com/docs/auth/web/totp-mfa)
- [Link Multiple Auth Providers](https://firebase.google.com/docs/auth/web/account-linking)
- [Customize Dependencies](https://firebase.google.com/docs/auth/web/custom-dependencies)
- [OAuth Sign-In for Cordova](https://firebase.google.com/docs/auth/web/cordova)
- [Sign in users from a Chrome extension](https://firebase.google.com/docs/auth/web/chrome-extension)
- [Auth State Persistence](https://firebase.google.com/docs/auth/web/auth-state-persistence)
- [Passing State in Email Actions](https://firebase.google.com/docs/auth/web/passing-state-in-email-actions)
- [Service Worker Sessions](https://firebase.google.com/docs/auth/web/service-worker-sessions)
- [Best practices for signInWithRedirect flows](https://firebase.google.com/docs/auth/web/redirect-best-practices)
- C++
- [Get Started](https://firebase.google.com/docs/auth/cpp/start)
- [Manage Users](https://firebase.google.com/docs/auth/cpp/manage-users)
- [Password Authentication](https://firebase.google.com/docs/auth/cpp/password-auth)
- [Sign in with Google](https://firebase.google.com/docs/auth/cpp/google-signin)
- [Play Games Sign-in](https://firebase.google.com/docs/auth/cpp/play-games)
- [GitHub](https://firebase.google.com/docs/auth/cpp/github-auth)
- [Facebook Login](https://firebase.google.com/docs/auth/cpp/facebook-login)
- [Sign in with Apple](https://firebase.google.com/docs/auth/cpp/apple)
- [Twitter Login](https://firebase.google.com/docs/auth/cpp/twitter-login)
- [Microsoft](https://firebase.google.com/docs/auth/cpp/microsoft-oauth)
- [Yahoo](https://firebase.google.com/docs/auth/cpp/yahoo-oauth)
- [Phone Number](https://firebase.google.com/docs/auth/cpp/phone-auth)
- [Use a Custom Auth System](https://firebase.google.com/docs/auth/cpp/custom-auth)
- [Anonymous Authentication](https://firebase.google.com/docs/auth/cpp/anonymous-auth)
- [Link Multiple Auth Providers](https://firebase.google.com/docs/auth/cpp/account-linking)
- Unity
- [Get Started](https://firebase.google.com/docs/auth/unity/start)
- [Manage Users](https://firebase.google.com/docs/auth/unity/manage-users)
- [Password Authentication](https://firebase.google.com/docs/auth/unity/password-auth)
- [Sign in with Google](https://firebase.google.com/docs/auth/unity/google-signin)
- [Play Games Sign-in](https://firebase.google.com/docs/auth/unity/play-games)
- [GitHub Authentication](https://firebase.google.com/docs/auth/unity/github-auth)
- [Facebook Login](https://firebase.google.com/docs/auth/unity/facebook-login)
- [Sign in with Apple](https://firebase.google.com/docs/auth/unity/apple)
- [Twitter Login](https://firebase.google.com/docs/auth/unity/twitter-login)
- [Microsoft](https://firebase.google.com/docs/auth/unity/microsoft-oauth)
- [Yahoo](https://firebase.google.com/docs/auth/unity/yahoo-oauth)
- [Phone Number](https://firebase.google.com/docs/auth/unity/phone-auth)
- [Use a Custom Auth System](https://firebase.google.com/docs/auth/unity/custom-auth)
- [Anonymous Authentication](https://firebase.google.com/docs/auth/unity/anonymous-auth)
- [Link Multiple Auth Providers](https://firebase.google.com/docs/auth/unity/account-linking)
- Admin
- [Introduction](https://firebase.google.com/docs/auth/admin)
- [Manage Users](https://firebase.google.com/docs/auth/admin/manage-users)
- [Import Users](https://firebase.google.com/docs/auth/admin/import-users)
- [Create Custom Tokens](https://firebase.google.com/docs/auth/admin/create-custom-tokens)
- [Verify ID Tokens](https://firebase.google.com/docs/auth/admin/verify-id-tokens)
- [Manage Multi-factor Users](https://firebase.google.com/docs/auth/admin/manage-mfa-users)
- [Manage User Sessions](https://firebase.google.com/docs/auth/admin/manage-sessions)
- [Manage Session Cookies](https://firebase.google.com/docs/auth/admin/manage-cookies)
- [Control Access with Custom Claims](https://firebase.google.com/docs/auth/admin/custom-claims)
- [Generating Email Action Links](https://firebase.google.com/docs/auth/admin/email-action-links)
- [Errors](https://firebase.google.com/docs/auth/admin/errors)
- [Configure OAuth identity providers programmatically](https://firebase.google.com/docs/auth/configure-oauth-rest-api)
- [Customize the Email Action Handler](https://firebase.google.com/docs/auth/custom-email-handler)
- [Extend with Cloud Functions](https://firebase.google.com/docs/auth/extend-with-functions)
- [Extend with blocking functions](https://firebase.google.com/docs/auth/extend-with-blocking-functions)
- [Email Custom Domains](https://firebase.google.com/docs/auth/email-custom-domain)
- [Case Studies](https://firebase.google.com/docs/auth/case-studies)
- [Usage Limits](https://firebase.google.com/docs/auth/limits)
- Phone Number Verification
- [Introduction](https://firebase.google.com/docs/phone-number-verification)
- [Get started on Android](https://firebase.google.com/docs/phone-number-verification/android/get-started)
- [Customize the flow](https://firebase.google.com/docs/phone-number-verification/android/custom-flow)
- [Sign in with phone numbers](https://firebase.google.com/docs/phone-number-verification/android/sign-in)
- [Observability](https://firebase.google.com/docs/phone-number-verification/observability)
- [Pricing](https://firebase.google.com/docs/phone-number-verification/pricing)
- App Check
- [Introduction](https://firebase.google.com/docs/app-check)
- Get started
- Default providers
- [iOS+ (DeviceCheck)](https://firebase.google.com/docs/app-check/ios/devicecheck-provider)
- [iOS+ (App Attest)](https://firebase.google.com/docs/app-check/ios/app-attest-provider)
- [Android (Play Integrity)](https://firebase.google.com/docs/app-check/android/play-integrity-provider)
- [Web (reCAPTCHA Enterprise)](https://firebase.google.com/docs/app-check/web/recaptcha-enterprise-provider)
- [Web (reCAPTCHA v3)](https://firebase.google.com/docs/app-check/web/recaptcha-provider)
- [Flutter](https://firebase.google.com/docs/app-check/flutter/default-providers)
- [Unity](https://firebase.google.com/docs/app-check/unity/default-providers)
- [C++](https://firebase.google.com/docs/app-check/cpp/default-providers)
- Custom providers
- [Server implementation](https://firebase.google.com/docs/app-check/custom-provider)
- [iOS+ client implementation](https://firebase.google.com/docs/app-check/ios/custom-provider)
- [Android client implementation](https://firebase.google.com/docs/app-check/android/custom-provider)
- [Web client implementation](https://firebase.google.com/docs/app-check/web/custom-provider)
- [Unity client implementation](https://firebase.google.com/docs/app-check/unity/custom-provider)
- [C++ client implementation](https://firebase.google.com/docs/app-check/cpp/custom-provider)
- Debug & test providers
- [Use the debug provider in iOS+](https://firebase.google.com/docs/app-check/ios/debug-provider)
- [Use the debug provider in Android](https://firebase.google.com/docs/app-check/android/debug-provider)
- [Use the debug provider in web apps](https://firebase.google.com/docs/app-check/web/debug-provider)
- [Use the debug provider with Flutter](https://firebase.google.com/docs/app-check/flutter/debug-provider)
- [Use the debug provider in Unity apps](https://firebase.google.com/docs/app-check/unity/debug-provider)
- [Use the debug provider with C++](https://firebase.google.com/docs/app-check/cpp/debug-provider)
- Monitor request metrics
- [Standard Google services](https://firebase.google.com/docs/app-check/monitor-metrics)
- [Cloud Functions for Firebase](https://firebase.google.com/docs/app-check/monitor-functions-metrics)
- Enable enforcement
- [Standard Google services](https://firebase.google.com/docs/app-check/enable-enforcement)
- [Cloud Functions for Firebase](https://firebase.google.com/docs/app-check/cloud-functions)
- Protect custom resources
- Send tokens from the client
- [iOS+](https://firebase.google.com/docs/app-check/ios/custom-resource)
- [Android](https://firebase.google.com/docs/app-check/android/custom-resource)
- [Web](https://firebase.google.com/docs/app-check/web/custom-resource)
- [Flutter](https://firebase.google.com/docs/app-check/flutter/custom-resource)
- [Unity](https://firebase.google.com/docs/app-check/unity/custom-resource)
- [C++](https://firebase.google.com/docs/app-check/cpp/custom-resource)
- [Verify tokens on the backend](https://firebase.google.com/docs/app-check/custom-resource-backend)
- Data Connect
- [Introduction](https://firebase.google.com/docs/data-connect)
- [Pricing and billing](https://firebase.google.com/docs/data-connect/pricing)
- [Get started](https://firebase.google.com/docs/data-connect/quickstart)
- Quickstarts
- [React](https://firebase.google.com/docs/data-connect/quickstart/react)
- [Flutter](https://firebase.google.com/docs/data-connect/quickstart/flutter)
- Design schemas and operations
- [Design Data Connect schemas](https://firebase.google.com/docs/data-connect/schemas-guide)
- [Implement Data Connect queries](https://firebase.google.com/docs/data-connect/queries-guide)
- [Implement Data Connect mutations](https://firebase.google.com/docs/data-connect/mutations-guide)
- [Secure operations with authorization](https://firebase.google.com/docs/data-connect/authorization-and-security)
- Develop and test with Data Connect
- [Seed test data and perform bulk operations](https://firebase.google.com/docs/data-connect/data-seeding-bulk-operations)
- [Generate Web SDKs](https://firebase.google.com/docs/data-connect/web-sdk)
- [Generate Android SDKs](https://firebase.google.com/docs/data-connect/android-sdk)
- [Generate iOS SDKs](https://firebase.google.com/docs/data-connect/ios-sdk)
- [Generate Flutter SDKs](https://firebase.google.com/docs/data-connect/flutter-sdk)
- [Generate Admin SDKs](https://firebase.google.com/docs/data-connect/generate-admin-sdk)
- [Use the Data Connect emulator for CI/CD](https://firebase.google.com/docs/data-connect/data-connect-emulator-suite)
- Manage Data Connect projects
- [Manage schemas and connectors](https://firebase.google.com/docs/data-connect/manage-schemas-and-connectors)
- [Manage services and databases](https://firebase.google.com/docs/data-connect/manage-services-and-databases)
- [Run privileged operations with the Firebase Admin SDK](https://firebase.google.com/docs/data-connect/admin-sdk)
- Data Connect solutions
- [Use AI assistance for schemas, queries and mutations](https://firebase.google.com/docs/data-connect/ai-assistance)
- [Extend with Cloud Functions](https://firebase.google.com/docs/data-connect/extend-data-connect-with-functions)
- [Perform vector similarity search](https://firebase.google.com/docs/data-connect/solutions-vector-similarity-search)
- [Perform full-text search](https://firebase.google.com/docs/data-connect/solutions-full-text-search)
- GraphQL language reference guides
- [Directives reference](https://firebase.google.com/docs/reference/data-connect/gql/directive)
- [Queries reference](https://firebase.google.com/docs/reference/data-connect/gql/query)
- [Mutations reference](https://firebase.google.com/docs/reference/data-connect/gql/mutation)
- [Objects reference](https://firebase.google.com/docs/reference/data-connect/gql/object)
- [Input objects reference](https://firebase.google.com/docs/reference/data-connect/gql/input_object)
- [Scalars reference](https://firebase.google.com/docs/reference/data-connect/gql/scalar)
- [Enums reference](https://firebase.google.com/docs/reference/data-connect/gql/enum)
- Additional reference guides
- [CLI reference](https://firebase.google.com/docs/data-connect/cli-reference)
- [Data Connect configuration file reference](https://firebase.google.com/docs/data-connect/configuration-reference)
- [IAM configuration for Data Connect projects](https://firebase.google.com/docs/data-connect/iam-configuration)
- [Common Expression Language (CEL) reference](https://firebase.google.com/docs/data-connect/cel-reference)
- [Cloud Audit Logging reference](https://firebase.google.com/docs/data-connect/cloud-audit-logging)
- Cloud Firestore
- [Introduction](https://firebase.google.com/docs/firestore)
- Cloud Firestore editions
- [Overview](https://firebase.google.com/docs/firestore/editions)
- [Native mode in Standard and Enterprise editions](https://firebase.google.com/docs/firestore/compare-editions-for-native-mode)
- Standard edition
- Discover
- [Overview of Core operations](https://firebase.google.com/docs/firestore/standard-edition)
- Understand Firestore Standard edition
- [Compare Cloud Firestore and Realtime Database](https://firebase.google.com/docs/firestore/rtdb-vs-firestore)
- [Data model](https://firebase.google.com/docs/firestore/data-model)
- [Data types](https://firebase.google.com/docs/firestore/manage-data/data-types)
- [SDKs and client libraries](https://firebase.google.com/docs/firestore/client/libraries)
- [Index types](https://firebase.google.com/docs/firestore/query-data/index-overview)
- [Database locations](https://firebase.google.com/docs/firestore/locations)
- [Data bundles](https://firebase.google.com/docs/firestore/bundles)
- Get started with Core operations
- [Get started with mobile and web SDKs](https://firebase.google.com/docs/firestore/quickstart)
- [Get started with server client libraries](https://firebase.google.com/docs/firestore/quickstart-server)
- [Manage databases](https://firebase.google.com/docs/firestore/manage-databases)
- Manage data
- Add data
- [Structure data](https://firebase.google.com/docs/firestore/manage-data/structure-data)
- [Add data](https://firebase.google.com/docs/firestore/manage-data/add-data)
- [Transactions and batched writes](https://firebase.google.com/docs/firestore/manage-data/transactions)
- [Data contention in transaction](https://firebase.google.com/docs/firestore/transaction-data-contention)
- Query data with Core operations
- [Get data](https://firebase.google.com/docs/firestore/query-data/get-data)
- [Get real-time updates](https://firebase.google.com/docs/firestore/query-data/listen)
- [Perform simple and compound queries](https://firebase.google.com/docs/firestore/query-data/queries)
- [Order and limit data](https://firebase.google.com/docs/firestore/query-data/order-limit-data)
- Query with range & inequality filters on multiple fields
- [Overview](https://firebase.google.com/docs/firestore/query-data/multiple-range-fields)
- [Optimize your queries](https://firebase.google.com/docs/firestore/query-data/multiple-range-optimize-indexes)
- [Summarize data with aggregation queries](https://firebase.google.com/docs/firestore/query-data/aggregation-queries)
- [Paginate data with query cursors](https://firebase.google.com/docs/firestore/query-data/query-cursors)
- [Access data offline](https://firebase.google.com/docs/firestore/manage-data/enable-offline)
- [Search with vector embeddings](https://firebase.google.com/docs/firestore/vector-search)
- [Manage indexes](https://firebase.google.com/docs/firestore/query-data/indexing)
- Process and move data
- [Manage Cloud Firestore with the Firebase console](https://firebase.google.com/docs/firestore/using-console)
- [Export and import data](https://firebase.google.com/docs/firestore/manage-data/export-import)
- [Manage data retention with time-to-live policies](https://firebase.google.com/docs/firestore/ttl)
- [Process data in bulk with Dataflow](https://firebase.google.com/docs/firestore/dataflow-connector)
- [Move data between projects](https://firebase.google.com/docs/firestore/manage-data/move-data)
- Delete data
- [Delete data](https://firebase.google.com/docs/firestore/manage-data/delete-data)
- [Bulk delete data](https://firebase.google.com/docs/firestore/manage-data/bulk-delete)
- Secure and validate data
- [Overview](https://firebase.google.com/docs/firestore/security/overview)
- [Get started](https://firebase.google.com/docs/firestore/security/get-started)
- [Structure Security Rules](https://firebase.google.com/docs/firestore/security/rules-structure)
- [Writing conditions for Security Rules](https://firebase.google.com/docs/firestore/security/rules-conditions)
- [Fix insecure rules](https://firebase.google.com/docs/firestore/security/insecure-rules)
- [Test your Security Rules](https://firebase.google.com/docs/firestore/security/test-rules-emulator)
- [Securely query data](https://firebase.google.com/docs/firestore/security/rules-query)
- [Control access per field](https://firebase.google.com/docs/firestore/security/rules-fields)
- Solutions
- [Overview](https://firebase.google.com/docs/firestore/solutions)
- Solutions using Firebase Extensions
- [Integrate with BigQuery](https://firebase.google.com/docs/firestore/solutions/bigquery)
- [Enhance value of media](https://firebase.google.com/docs/firestore/solutions/enriched-media)
- Solutions using guided custom implementations
- [Develop generative AI features](https://firebase.google.com/docs/firestore/solutions/generative-ai-index)
- [Firestore Lite Web SDK](https://firebase.google.com/docs/firestore/solutions/firestore-lite)
- [Write-time aggregations](https://firebase.google.com/docs/firestore/solutions/aggregation)
- [Distributed counters](https://firebase.google.com/docs/firestore/solutions/counters)
- [Full-text search](https://firebase.google.com/docs/firestore/solutions/search)
- [Build presence](https://firebase.google.com/docs/firestore/solutions/presence)
- [Secure data access for users and groups](https://firebase.google.com/docs/firestore/solutions/role-based-access)
- Secure data with customer-managed encryption keys (CMEK)
- [About CMEK](https://firebase.google.com/docs/firestore/cmek)
- [Use CMEK](https://firebase.google.com/docs/firestore/use-cmek)
- [Delete data with a callable Cloud Function](https://firebase.google.com/docs/firestore/solutions/delete-collections)
- [Schedule data exports](https://firebase.google.com/docs/firestore/solutions/schedule-export)
- [Sharded timestamps](https://firebase.google.com/docs/firestore/solutions/shard-timestamp)
- [Geo queries](https://firebase.google.com/docs/firestore/solutions/geoqueries)
- [Serve bundled Firestore content from a CDN](https://firebase.google.com/docs/firestore/solutions/serve-bundles)
- Usage, limits, and pricing
- [Usage and limits](https://firebase.google.com/docs/firestore/quotas)
- [Monitor usage](https://firebase.google.com/docs/firestore/monitor-usage)
- [Explain query performance](https://firebase.google.com/docs/firestore/query-explain)
- [Query Explain report reference](https://firebase.google.com/docs/firestore/reference/query-explain-report-reference)
- [Understand Cloud Firestore billing](https://firebase.google.com/docs/firestore/pricing)
- [Committed use discounts](https://firebase.google.com/docs/firestore/cuds)
- [Example Cloud Firestore costs](https://firebase.google.com/docs/firestore/billing-example)
- [Understand storage size calculations](https://firebase.google.com/docs/firestore/storage-size)
- Monitor and troubleshoot
- Analyze usage patterns with Key Visualizer
- [Overview](https://firebase.google.com/docs/firestore/key-visualizer/key-visualizer)
- [Get started](https://firebase.google.com/docs/firestore/key-visualizer/keyvis-getting-started)
- [Exploring heatmaps](https://firebase.google.com/docs/firestore/key-visualizer/keyvis-exploring-heatmaps)
- [Heatmap patterns for document keys](https://firebase.google.com/docs/firestore/key-visualizer/keyvis-patterns)
- [Heatmap patterns for index keys](https://firebase.google.com/docs/firestore/key-visualizer/keyvis-patterns-index)
- Backups and point-in-time recovery
- [Disaster recovery planning](https://firebase.google.com/docs/firestore/disaster-recovery)
- Scheduled backups
- [Create a backup schedule and restore data](https://firebase.google.com/docs/firestore/backups)
- [Perform an in-place restore](https://firebase.google.com/docs/firestore/restore-in-place)
- Point-in-time recovery (PITR)
- [PITR overview](https://firebase.google.com/docs/firestore/pitr)
- [Work with PITR](https://firebase.google.com/docs/firestore/use-pitr)
- Techniques and best practices
- [Best practices for Cloud Firestore](https://firebase.google.com/docs/firestore/best-practices)
- [Map data with Swift Codable](https://firebase.google.com/docs/firestore/solutions/swift-codable-data-mapping)
- [Understand reads and writes at scale](https://firebase.google.com/docs/firestore/understand-reads-writes-scale)
- [Understand real-time queries at scale](https://firebase.google.com/docs/firestore/real-time_queries_at_scale)
- Cloud Firestore integrations
- [Use the Cloud Firestore REST API](https://firebase.google.com/docs/firestore/use-rest-api)
- [Use Cloud Firestore and Realtime Database](https://firebase.google.com/docs/firestore/firestore-for-rtdb)
- [Extend with Cloud Functions for Firebase (2nd gen)](https://firebase.google.com/docs/firestore/extend-with-functions-2nd-gen)
- [Extend with Cloud Functions for Firebase (1st gen)](https://firebase.google.com/docs/firestore/extend-with-functions)
- [Third-party library integrations](https://firebase.google.com/docs/firestore/library-integrations)
- API & SDK reference
- [Swift](https://firebase.google.com/docs/reference/swift/firebasefirestore/api/reference/Classes)
- [Objective-C](https://firebase.google.com/docs/reference/ios/firebasefirestore/api/reference/Classes)
- [Android (Kotlin)](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/firestore/package-summary)
- [Android (Java)](https://firebase.google.com/docs/reference/android/com/google/firebase/firestore/package-summary)
- [Web](https://firebase.google.com/docs/reference/js/firestore_)
- [Flutter](https://pub.dev/documentation/cloud_firestore/latest/)
- [Unity](https://firebase.google.com/docs/reference/unity/namespace/firebase/firestore)
- [C++](https://firebase.google.com/docs/reference/cpp/namespace/firebase/firestore)
- [Cloud Functions](https://firebase.google.com/docs/reference/functions/firebase-functions.firestore)
- [Node.js](https://googleapis.dev/nodejs/firestore/latest/)
- [Java](https://firebase.google.com/docs/reference/admin/java/reference/com/google/firebase/cloud/FirestoreClient)
- [Python](https://firebase.google.com/docs/reference/admin/python/firebase_admin.firestore)
- [Go](https://godoc.org/cloud.google.com/go/firestore)
- [C\#](https://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.Firestore/)
- [PHP](https://googleapis.github.io/google-cloud-php/#/docs/cloud-firestore/latest/firestore/readme)
- [Ruby](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-firestore/latest/Google/Firestore/V1beta1)
- [REST](https://firebase.google.com/docs/firestore/reference/rest)
- [RPC](https://firebase.google.com/docs/firestore/reference/rpc)
- Samples
- [iOS](https://firebase.google.com/docs/firestore/client/samples-ios)
- [Android](https://firebase.google.com/docs/firestore/client/samples-android)
- [Web](https://firebase.google.com/docs/firestore/client/samples-web)
- Enterprise edition
- [Overview of Enterprise edition modes](https://firebase.google.com/docs/firestore/enterprise/overview-enterprise-edition-modes)
- Native mode with Core and Pipeline operations
- [Overview of Native mode on Enterprise edition](https://firebase.google.com/docs/firestore/enterprise/pipelines-overview)
- Get started with Native mode
- [Get started with mobile and web SDKs](https://firebase.google.com/docs/firestore/enterprise/quickstart)
- [Get started with server client libraries](https://firebase.google.com/docs/firestore/enterprise/quickstart-server)
- [Supported data types](https://firebase.google.com/docs/firestore/enterprise/supported-data-types-native)
- Manage databases
- [Create and manage databases](https://firebase.google.com/docs/firestore/enterprise/create-databases)
- Manage data
- [Add data using Core operations](https://firebase.google.com/docs/firestore/enterprise/add-data-core)
- Indexing data
- [Indexing overview](https://firebase.google.com/docs/firestore/enterprise/index-overview-native)
- [Manage indexes](https://firebase.google.com/docs/firestore/enterprise/indexing-native)
- Data behaviour and lifecycle management
- [Manage data retention with TTL policies](https://firebase.google.com/docs/firestore/enterprise/ttl)
- [Understand reads and writes at scale](https://firebase.google.com/docs/firestore/enterprise/understand-reads-writes-scale)
- [Understand real-time queries at scale](https://firebase.google.com/docs/firestore/enterprise/real-time-queries-at-scale)
- [Extend with Cloud Functions for Firebase (2nd gen)](https://firebase.google.com/docs/firestore/enterprise/extend-with-functions-2nd-gen)
- [Import and export data](https://firebase.google.com/docs/firestore/enterprise/export-import)
- Query data with Firestore Core operations
- [Get data](https://firebase.google.com/docs/firestore/enterprise/get-data-core)
- [Get realtime updates](https://firebase.google.com/docs/firestore/enterprise/listen-core)
- [Access data offline](https://firebase.google.com/docs/firestore/enterprise/enable-offline)
- [Perform simple and compound queries](https://firebase.google.com/docs/firestore/enterprise/query-data-core)
- Query data with Firestore Pipeline operations
- [Overview](https://firebase.google.com/docs/firestore/pipelines/get-started-with-pipelines)
- Functions
- [Aggregate Functions](https://firebase.google.com/docs/firestore/pipelines/functions/aggregate-functions)
- [Arithmetic Functions](https://firebase.google.com/docs/firestore/pipelines/functions/arithmetic-functions)
- [Array Functions](https://firebase.google.com/docs/firestore/pipelines/functions/array-functions)
- [Comparison Functions](https://firebase.google.com/docs/firestore/pipelines/functions/comparison-functions)
- [Debugging Functions](https://firebase.google.com/docs/firestore/pipelines/functions/debugging-functions)
- [Generic Functions](https://firebase.google.com/docs/firestore/pipelines/functions/generic-functions)
- [Logical Functions](https://firebase.google.com/docs/firestore/pipelines/functions/logical-functions)
- [Map Functions](https://firebase.google.com/docs/firestore/pipelines/functions/map-functions)
- [String Functions](https://firebase.google.com/docs/firestore/pipelines/functions/string-functions)
- [Timestamp Functions](https://firebase.google.com/docs/firestore/pipelines/functions/timestamp-functions)
- [Type Functions](https://firebase.google.com/docs/firestore/pipelines/functions/type-functions)
- [Vector Functions](https://firebase.google.com/docs/firestore/pipelines/functions/vector-functions)
- Stages
- Input Stages
- [Collection](https://firebase.google.com/docs/firestore/pipelines/stages/input/collection)
- [Collection Group](https://firebase.google.com/docs/firestore/pipelines/stages/input/collection-group)
- [Database](https://firebase.google.com/docs/firestore/pipelines/stages/input/database)
- [Documents](https://firebase.google.com/docs/firestore/pipelines/stages/input/documents)
- Transformation Stages
- [Add Fields](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/add-fields)
- [Aggregate](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/aggregate)
- [Distinct](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/distinct)
- [Find Nearest](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/find-nearest)
- [Limit](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/limit)
- [Offset](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/offset)
- [Remove Fields](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/remove-fields)
- [Replace With](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/replace-with)
- [Sample](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/sample)
- [Select](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/select)
- [Sort](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/sort)
- [Unnest](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/unnest)
- [Union](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/union)
- [Where](https://firebase.google.com/docs/firestore/pipelines/stages/transformation/where)
- Delete data
- [Delete data](https://firebase.google.com/docs/firestore/enterprise/delete-data-native)
- [Bulk data delete](https://firebase.google.com/docs/firestore/enterprise/bulk-delete)
- Optimize query performance
- [Identify queries to optimize](https://firebase.google.com/docs/firestore/enterprise/query-insights)
- [Analyze query execution with Query Explain](https://firebase.google.com/docs/firestore/enterprise/query-explain)
- [Optimize query execution](https://firebase.google.com/docs/firestore/enterprise/optimize-query-performance)
- [Query execution reference](https://firebase.google.com/docs/firestore/enterprise/query-explain-reference)
- Secure and validate data
- Security Rules
- [Overview](https://firebase.google.com/docs/firestore/enterprise/security/overview)
- [Get started](https://firebase.google.com/docs/firestore/enterprise/security/get-started)
- [Security Rules for Pipeline queries](https://firebase.google.com/docs/firestore/enterprise/security/rules-pipelines)
- [Structure Security Rules](https://firebase.google.com/docs/firestore/enterprise/security/rules-structure)
- [Writing conditions for Security Rules](https://firebase.google.com/docs/firestore/enterprise/security/rules-conditions)
- [Fix insecure rules](https://firebase.google.com/docs/firestore/enterprise/security/insecure-rules)
- [Test your Security Rules](https://firebase.google.com/docs/firestore/enterprise/security/test-rules-emulator)
- [Securely query data](https://firebase.google.com/docs/firestore/enterprise/security/rules-query)
- [Control access per field](https://firebase.google.com/docs/firestore/enterprise/security/rules-fields)
- [Identity and Access Management (IAM)](https://firebase.google.com/docs/firestore/enterprise/security/iam)
- [VPC Service Controls](https://firebase.google.com/docs/firestore/enterprise/securing-with-vpc-sc)
- [Server-side encryption](https://firebase.google.com/docs/firestore/enterprise/server-side-encryption)
- Secure data with customer-managed encryption keys (CMEK)
- [About CMEK](https://firebase.google.com/docs/firestore/enterprise/cmek)
- [Use CMEK](https://firebase.google.com/docs/firestore/enterprise/use-cmek)
- Usage, locations, and pricing
- [Quotas and limits](https://firebase.google.com/docs/firestore/enterprise/quotas-native-mode)
- Pricing
- [Pricing overview](https://firebase.google.com/docs/firestore/enterprise/pricing)
- [Read/Write operation pricing examples](https://firebase.google.com/docs/firestore/enterprise/pricing-examples)
- [Query and real-time pricing examples](https://firebase.google.com/docs/firestore/enterprise/query-realtime-pricing-examples)
- [Storage size calculations](https://firebase.google.com/docs/firestore/enterprise/storage-size)
- [Locations for Native mode](https://firebase.google.com/docs/firestore/pipelines/locations)
- Monitor and troubleshoot
- [Monitor database metrics](https://firebase.google.com/docs/firestore/enterprise/use-monitoring-dashboard)
- [Audit logging](https://firebase.google.com/docs/firestore/enterprise/audit-logging)
- [Resolve latency issues](https://firebase.google.com/docs/firestore/enterprise/resolve-latency)
- [Understand error codes](https://firebase.google.com/docs/firestore/enterprise/understand-error-codes)
- Backups and point-in-time recovery
- [Disaster recovery planning](https://firebase.google.com/docs/firestore/enterprise/disaster-recovery)
- Scheduled backups
- [Create a backup schedule and restore data](https://firebase.google.com/docs/firestore/enterprise/backups)
- [Perform an in-place restore](https://firebase.google.com/docs/firestore/enterprise/restore-in-place)
- Point-in-time recovery (PITR)
- [PITR overview](https://firebase.google.com/docs/firestore/enterprise/pitr)
- [Work with PITR](https://firebase.google.com/docs/firestore/enterprise/use-pitr)
- MongoDB compatibility mode
- [Overview of MongoDB compatibility](https://firebase.google.com/docs/firestore/enterprise/mongodb-compatibility-overview)
- Get started with MongoDB compatibility
- [Create a Firestore with MongoDB compatibility database and connect to it](https://firebase.google.com/docs/firestore/enterprise/create-and-query-database)
- Manage databases
- [Create and manage databases](https://firebase.google.com/docs/firestore/enterprise/create-databases-mongodb)
- Connect to a database
- [Authenticate and connect to a database](https://firebase.google.com/docs/firestore/enterprise/connect)
- Manage data
- Indexing data
- [Indexing overview](https://firebase.google.com/docs/firestore/enterprise/index-overview)
- [Manage indexes](https://firebase.google.com/docs/firestore/enterprise/indexing)
- Data behaviour and lifecycle management
- [Behavior differences](https://firebase.google.com/docs/firestore/enterprise/behavior-differences)
- [Understand reads and writes at scale](https://firebase.google.com/docs/firestore/enterprise/understand-reads-writes-scale-mongodb)
- [Extend with Cloud Functions for Firebase (2nd gen)](https://firebase.google.com/docs/firestore/enterprise/extend-with-functions-2nd-gen-mongodb)
- [Import and export data](https://firebase.google.com/docs/firestore/enterprise/export-import-mongodb)
- Supported MongoDB data types, drivers, and features
- [Supported data types and drivers](https://firebase.google.com/docs/firestore/enterprise/supported-data-types-drivers)
- [Supported features: 8.0](https://firebase.google.com/docs/firestore/enterprise/supported-features-80)
- [Supported features: 7.0](https://firebase.google.com/docs/firestore/enterprise/supported-features-70)
- [Supported features: 6.0](https://firebase.google.com/docs/firestore/enterprise/supported-features-60)
- [Supported features: 5.0](https://firebase.google.com/docs/firestore/enterprise/supported-features-50)
- [Supported features: 4.0](https://firebase.google.com/docs/firestore/enterprise/supported-features-40)
- [Supported features: 3.6](https://firebase.google.com/docs/firestore/enterprise/supported-features-36)
- Delete data
- [Bulk data delete](https://firebase.google.com/docs/firestore/enterprise/bulk-delete-mongodb)
- Optimize query performance
- [Identify queries to optimize](https://firebase.google.com/docs/firestore/enterprise/query-insights-mongodb)
- [Analyze query execution with Query Explain](https://firebase.google.com/docs/firestore/enterprise/query-explain-mongodb)
- [Optimize query execution](https://firebase.google.com/docs/firestore/enterprise/optimize-query-performance-mongodb)
- [Query execution reference](https://firebase.google.com/docs/firestore/enterprise/query-explain-reference-mongodb)
- Migrate
- [Migrate to Firestore with MongoDB compatibility](https://firebase.google.com/docs/firestore/enterprise/migrate-to-firestore-with-mongodb)
- [Best practices for bulk data loading](https://firebase.google.com/docs/firestore/enterprise/bulk-data-loading)
- Secure and validate data
- [Identity and Access Management (IAM)](https://firebase.google.com/docs/firestore/enterprise/security/iam-mongodb)
- [Configure Private Google Access with MongoDB compatibility](https://firebase.google.com/docs/firestore/enterprise/configure-private-google-access)
- [VPC Service Controls](https://firebase.google.com/docs/firestore/enterprise/securing-with-vpc-sc-mongodb)
- [Server-side encryption](https://firebase.google.com/docs/firestore/enterprise/server-side-encryption-mongodb)
- Secure data with customer-managed encryption keys (CMEK)
- [About CMEK](https://firebase.google.com/docs/firestore/enterprise/cmek-mongodb)
- [Use CMEK](https://firebase.google.com/docs/firestore/enterprise/use-cmek-mongodb)
- Usage, locations, and pricing
- [Quotas and limits](https://firebase.google.com/docs/firestore/enterprise/quotas)
- Pricing
- [Read/Write operation pricing examples](https://firebase.google.com/docs/firestore/enterprise/pricing-examples-mongodb)
- [Storage size calculations](https://firebase.google.com/docs/firestore/enterprise/storage-size-mongodb)
- [Locations for MongoDB compatibility](https://firebase.google.com/docs/firestore/enterprise/locations)
- Monitor and troubleshoot
- [Monitor database metrics](https://firebase.google.com/docs/firestore/enterprise/use-monitoring-dashboard-mongodb)
- [Audit logging](https://firebase.google.com/docs/firestore/enterprise/audit-logging-mongodb)
- [Resolve latency issues](https://firebase.google.com/docs/firestore/enterprise/resolve-latency-mongodb)
- [Understand error codes](https://firebase.google.com/docs/firestore/enterprise/understand-error-codes-mongodb)
- Backups and point-in-time recovery
- [Disaster recovery planning](https://firebase.google.com/docs/firestore/enterprise/disaster-recovery-mongodb)
- Scheduled backups
- [Create a backup schedule and restore data](https://firebase.google.com/docs/firestore/enterprise/backups-mongodb)
- [Perform an in-place restore](https://firebase.google.com/docs/firestore/enterprise/restore-in-place-mongodb)
- Point-in-time recovery (PITR)
- [PITR overview](https://firebase.google.com/docs/firestore/enterprise/pitr-mongodb)
- [Work with PITR](https://firebase.google.com/docs/firestore/enterprise/use-pitr-mongodb)
- Realtime Database
- [Introduction](https://firebase.google.com/docs/database)
- [Choose a Database](https://firebase.google.com/docs/database/rtdb-vs-firestore)
- i
OS+
- [Get Started](https://firebase.google.com/docs/database/ios/start)
- [Structure Data](https://firebase.google.com/docs/database/ios/structure-data)
- [Read and Write Data](https://firebase.google.com/docs/database/ios/read-and-write)
- [Work with Lists of Data](https://firebase.google.com/docs/database/ios/lists-of-data)
- [Enable Offline Capabilities](https://firebase.google.com/docs/database/ios/offline-capabilities)
- Android
- [Get Started](https://firebase.google.com/docs/database/android/start)
- [Structure Data](https://firebase.google.com/docs/database/android/structure-data)
- [Read and Write Data](https://firebase.google.com/docs/database/android/read-and-write)
- [Work with Lists of Data](https://firebase.google.com/docs/database/android/lists-of-data)
- [Enable Offline Capabilities](https://firebase.google.com/docs/database/android/offline-capabilities)
- Web
- [Get Started](https://firebase.google.com/docs/database/web/start)
- [Structure Data](https://firebase.google.com/docs/database/web/structure-data)
- [Read and Write Data](https://firebase.google.com/docs/database/web/read-and-write)
- [Work with Lists of Data](https://firebase.google.com/docs/database/web/lists-of-data)
- [Enable Offline Capabilities](https://firebase.google.com/docs/database/web/offline-capabilities)
- Flutter
- [Get Started](https://firebase.google.com/docs/database/flutter/start)
- [Structure Data](https://firebase.google.com/docs/database/flutter/structure-data)
- [Read and Write Data](https://firebase.google.com/docs/database/flutter/read-and-write)
- [Work with Lists of Data](https://firebase.google.com/docs/database/flutter/lists-of-data)
- [Enable Offline Capabilities](https://firebase.google.com/docs/database/flutter/offline-capabilities)
- Admin
- [Get Started](https://firebase.google.com/docs/database/admin/start)
- [Structure Data](https://firebase.google.com/docs/database/admin/structure-data)
- [Save Data](https://firebase.google.com/docs/database/admin/save-data)
- [Retrieve Data](https://firebase.google.com/docs/database/admin/retrieve-data)
- REST
- [Get Started](https://firebase.google.com/docs/database/rest/start)
- [Structure Data](https://firebase.google.com/docs/database/rest/structure-data)
- [Save Data](https://firebase.google.com/docs/database/rest/save-data)
- [Retrieve Data](https://firebase.google.com/docs/database/rest/retrieve-data)
- [Authenticate REST Requests](https://firebase.google.com/docs/database/rest/auth)
- C++
- [Get Started](https://firebase.google.com/docs/database/cpp/start)
- [Structure Data](https://firebase.google.com/docs/database/cpp/structure-data)
- [Save Data](https://firebase.google.com/docs/database/cpp/save-data)
- [Retrieve Data](https://firebase.google.com/docs/database/cpp/retrieve-data)
- Unity
- [Get Started](https://firebase.google.com/docs/database/unity/start)
- [Structure Data](https://firebase.google.com/docs/database/unity/structure-data)
- [Save Data](https://firebase.google.com/docs/database/unity/save-data)
- [Retrieve Data](https://firebase.google.com/docs/database/unity/retrieve-data)
- Security & Rules
- [Understand Rules](https://firebase.google.com/docs/database/security)
- [Get Started](https://firebase.google.com/docs/database/security/get-started)
- [Structure Security Rules](https://firebase.google.com/docs/database/security/core-syntax)
- [Write Conditions for Security Rules](https://firebase.google.com/docs/database/security/rules-conditions)
- [Index Data](https://firebase.google.com/docs/database/security/indexing-data)
- [Manage Rules via REST](https://firebase.google.com/docs/database/rest/app-management)
- Usage and Performance
- [Understand Billing](https://firebase.google.com/docs/database/usage/billing)
- [Realtime Database Limits](https://firebase.google.com/docs/database/usage/limits)
- [Monitor Database Usage](https://firebase.google.com/docs/database/usage/monitor-usage)
- [Monitor Database Performance](https://firebase.google.com/docs/database/usage/monitor-performance)
- [Scale with Multiple Databases](https://firebase.google.com/docs/database/usage/sharding)
- [Profile Your Database](https://firebase.google.com/docs/database/usage/profile)
- [Optimize Database Performance](https://firebase.google.com/docs/database/usage/optimize)
- [Locations](https://firebase.google.com/docs/database/locations)
- [Automated Backups](https://firebase.google.com/docs/database/backups)
- [View & edit data in console](https://firebase.google.com/docs/database/manage-data-console)
- [Extend with Cloud Functions](https://firebase.google.com/docs/database/extend-with-functions)
- [Video series: Firebase for SQL Developers](https://firebase.google.com/docs/database/video-series)
- Storage
- [Introduction](https://firebase.google.com/docs/storage)
- iOS+
- [Get Started](https://firebase.google.com/docs/storage/ios/start)
- [Create a Reference](https://firebase.google.com/docs/storage/ios/create-reference)
- [Upload Files](https://firebase.google.com/docs/storage/ios/upload-files)
- [Download Files](https://firebase.google.com/docs/storage/ios/download-files)
- [Use File Metadata](https://firebase.google.com/docs/storage/ios/file-metadata)
- [Delete Files](https://firebase.google.com/docs/storage/ios/delete-files)
- [List Files](https://firebase.google.com/docs/storage/ios/list-files)
- [Handle Errors](https://firebase.google.com/docs/storage/ios/handle-errors)
- Android
- [Get Started](https://firebase.google.com/docs/storage/android/start)
- [Create a Reference](https://firebase.google.com/docs/storage/android/create-reference)
- [Upload Files](https://firebase.google.com/docs/storage/android/upload-files)
- [Download Files](https://firebase.google.com/docs/storage/android/download-files)
- [Use File Metadata](https://firebase.google.com/docs/storage/android/file-metadata)
- [Delete Files](https://firebase.google.com/docs/storage/android/delete-files)
- [List Files](https://firebase.google.com/docs/storage/android/list-files)
- [Handle Errors](https://firebase.google.com/docs/storage/android/handle-errors)
- Web
- [Get Started](https://firebase.google.com/docs/storage/web/start)
- [Create a Reference](https://firebase.google.com/docs/storage/web/create-reference)
- [Upload Files](https://firebase.google.com/docs/storage/web/upload-files)
- [Download Files](https://firebase.google.com/docs/storage/web/download-files)
- [Use File Metadata](https://firebase.google.com/docs/storage/web/file-metadata)
- [Delete Files](https://firebase.google.com/docs/storage/web/delete-files)
- [List Files](https://firebase.google.com/docs/storage/web/list-files)
- [Handle Errors](https://firebase.google.com/docs/storage/web/handle-errors)
- Flutter
- [Get Started](https://firebase.google.com/docs/storage/flutter/start)
- [Create a Reference](https://firebase.google.com/docs/storage/flutter/create-reference)
- [Upload Files](https://firebase.google.com/docs/storage/flutter/upload-files)
- [Download Files](https://firebase.google.com/docs/storage/flutter/download-files)
- [Use File Metadata](https://firebase.google.com/docs/storage/flutter/file-metadata)
- [Delete Files](https://firebase.google.com/docs/storage/flutter/delete-files)
- [List Files](https://firebase.google.com/docs/storage/flutter/list-files)
- [Handle Errors](https://firebase.google.com/docs/storage/flutter/handle-errors)
- Admin
- [Get Started](https://firebase.google.com/docs/storage/admin/start)
- C++
- [Get Started](https://firebase.google.com/docs/storage/cpp/start)
- [Create a Reference](https://firebase.google.com/docs/storage/cpp/create-reference)
- [Upload Files](https://firebase.google.com/docs/storage/cpp/upload-files)
- [Download Files](https://firebase.google.com/docs/storage/cpp/download-files)
- [Use File Metadata](https://firebase.google.com/docs/storage/cpp/file-metadata)
- [Delete Files](https://firebase.google.com/docs/storage/cpp/delete-files)
- [Handle Errors](https://firebase.google.com/docs/storage/cpp/handle-errors)
- Unity
- [Get Started](https://firebase.google.com/docs/storage/unity/start)
- [Create a Reference](https://firebase.google.com/docs/storage/unity/create-reference)
- [Upload Files](https://firebase.google.com/docs/storage/unity/upload-files)
- [Download Files](https://firebase.google.com/docs/storage/unity/download-files)
- [Use File Metadata](https://firebase.google.com/docs/storage/unity/file-metadata)
- [Delete Files](https://firebase.google.com/docs/storage/unity/delete-files)
- [Handle Errors](https://firebase.google.com/docs/storage/unity/handle-errors)
- Security & Rules
- [Understand Security](https://firebase.google.com/docs/storage/security)
- [Get Started](https://firebase.google.com/docs/storage/security/get-started)
- [Structure Security Rules](https://firebase.google.com/docs/storage/security/core-syntax)
- [Write Conditions for Security Rules](https://firebase.google.com/docs/storage/security/rules-conditions)
- [Locations](https://firebase.google.com/docs/storage/locations)
- [Monitor activity](https://firebase.google.com/docs/storage/monitor-storage)
- [Manage stored files in console](https://firebase.google.com/docs/storage/manage-stored-files)
- [Extend with Cloud Functions](https://firebase.google.com/docs/storage/extend-with-functions)
- [Integrate with Google Cloud](https://firebase.google.com/docs/storage/gcp-integration)
- [FAQs about pricing plan changes](https://firebase.google.com/docs/storage/faqs-storage-changes-announced-sept-2024)
- Security Rules
- [Introduction](https://firebase.google.com/docs/rules)
- [Get started](https://firebase.google.com/docs/rules/get-started)
- Understand Security Rules
- [Security Rules language](https://firebase.google.com/docs/rules/rules-language)
- [How Security Rules work](https://firebase.google.com/docs/rules/rules-behavior)
- [Security Rules and Firebase Authentication](https://firebase.google.com/docs/rules/rules-and-auth)
- Write Security Rules
- [Basic Security Rules](https://firebase.google.com/docs/rules/basics)
- [Avoid insecure rules](https://firebase.google.com/docs/rules/insecure-rules)
- [Data validation](https://firebase.google.com/docs/rules/data-validation)
- Test Security Rules
- [Set up the emulator](https://firebase.google.com/docs/rules/emulator-setup)
- [Build unit tests](https://firebase.google.com/docs/rules/unit-tests)
- [Generate test reports](https://firebase.google.com/docs/rules/emulator-reports)
- [Quickly validate Security Rules](https://firebase.google.com/docs/rules/simulator)
- [Manage and deploy Security Rules](https://firebase.google.com/docs/rules/manage-deploy)
- App Hosting
- [Introduction](https://firebase.google.com/docs/app-hosting)
- Discover
- [How App Hosting works](https://firebase.google.com/docs/app-hosting/about-app-hosting)
- [The App Hosting build process](https://firebase.google.com/docs/app-hosting/build)
- [App Hosting costs](https://firebase.google.com/docs/app-hosting/costs)
- [Related serverless solutions](https://firebase.google.com/docs/app-hosting/product-comparison)
- Get started
- [Deploy a basic app](https://firebase.google.com/docs/app-hosting/get-started)
- [Deploy multiple environments](https://firebase.google.com/docs/app-hosting/multiple-environments)
- [Deploy a monorepo app](https://firebase.google.com/docs/app-hosting/monorepos)
- [Other ways to deploy](https://firebase.google.com/docs/app-hosting/alt-deploy)
- Develop
- [Frameworks and tooling](https://firebase.google.com/docs/app-hosting/frameworks-tooling)
- [Configure and manage backends](https://firebase.google.com/docs/app-hosting/configure)
- [Connect a custom domain](https://firebase.google.com/docs/app-hosting/custom-domain)
- [Integrate Firebase SDKs](https://firebase.google.com/docs/app-hosting/firebase-sdks)
- [API Reference](https://firebase.google.com/docs/reference/apphosting/rest)
- [Cache app content](https://firebase.google.com/docs/app-hosting/optimize-cache)
- Monitor, log and debug
- [Manage rollouts and releases](https://firebase.google.com/docs/app-hosting/rollouts)
- [Test your app locally](https://firebase.google.com/docs/app-hosting/emulate)
- [Monitor routes](https://firebase.google.com/docs/app-hosting/monitor-routes)
- [Write and view logs](https://firebase.google.com/docs/app-hosting/logging)
- [FAQ and troubleshooting](https://firebase.google.com/docs/app-hosting/troubleshooting)
- [Cloud Audit Logging](https://firebase.google.com/docs/app-hosting/cloud-audit-logging)
- Solutions
- [Optimize image loading on Next.js](https://firebase.google.com/docs/app-hosting/optimize-image-loading)
- [Connect a VPC network](https://firebase.google.com/docs/app-hosting/vpc-network)
- Hosting
- [Introduction](https://firebase.google.com/docs/hosting)
- [Explore use cases](https://firebase.google.com/docs/hosting/use-cases)
- [Get started](https://firebase.google.com/docs/hosting/quickstart)
- [Test, preview, then deploy](https://firebase.google.com/docs/hosting/test-preview-deploy)
- [Deploy via GitHub pull requests](https://firebase.google.com/docs/hosting/github-integration)
- [Share project resources across multiple sites](https://firebase.google.com/docs/hosting/multisites)
- [Connect a custom domain](https://firebase.google.com/docs/hosting/custom-domain)
- [Configure hosting behavior](https://firebase.google.com/docs/hosting/full-config)
- [Configure i18n rewrites](https://firebase.google.com/docs/hosting/i18n-rewrites)
- [Add SDKs using reserved URLs](https://firebase.google.com/docs/hosting/reserved-urls)
- Serve dynamic content and host microservices
- [Overview](https://firebase.google.com/docs/hosting/serverless-overview)
- [Use Cloud Functions for Firebase](https://firebase.google.com/docs/hosting/functions)
- [Use Cloud Run](https://firebase.google.com/docs/hosting/cloud-run)
- [Manage cache behavior](https://firebase.google.com/docs/hosting/manage-cache)
- Integrate web frameworks
- [Overview](https://firebase.google.com/docs/hosting/frameworks/frameworks-overview)
- [Integrate Angular](https://firebase.google.com/docs/hosting/frameworks/angular)
- [Integrate Next.js](https://firebase.google.com/docs/hosting/frameworks/nextjs)
- [Integrate Flutter](https://firebase.google.com/docs/hosting/frameworks/flutter)
- [Integrate other frameworks with Express.js](https://firebase.google.com/docs/hosting/frameworks/express)
- [Manage live & preview channels, releases, and versions](https://firebase.google.com/docs/hosting/manage-hosting-resources)
- [Monitor web request data with Cloud Logging](https://firebase.google.com/docs/hosting/web-request-logs-and-metrics)
- [Usage, quotas, and pricing](https://firebase.google.com/docs/hosting/usage-quotas-pricing)
- [Deploy using the REST API](https://firebase.google.com/docs/hosting/api-deploy)
- Cloud Functions
- [Introduction](https://firebase.google.com/docs/functions)
- [1st and 2nd gen version comparison](https://firebase.google.com/docs/functions/version-comparison)
- [Explore use cases](https://firebase.google.com/docs/functions/use-cases)
- [Get started](https://firebase.google.com/docs/functions/get-started)
- [Upgrade to 2nd gen](https://firebase.google.com/docs/functions/2nd-gen-upgrade)
- Call functions directly
- [Call functions from your app](https://firebase.google.com/docs/functions/callable)
- [Invoke Genkit flows from your app](https://firebase.google.com/docs/functions/oncallgenkit)
- [Call functions via HTTP requests](https://firebase.google.com/docs/functions/http-events)
- [Enqueue functions with Cloud Tasks](https://firebase.google.com/docs/functions/task-functions)
- [Run functions on a schedule](https://firebase.google.com/docs/functions/schedule-functions)
- Trigger background functions
- [Firebase Alert triggers](https://firebase.google.com/docs/functions/alert-events)
- [Custom event/extension triggers](https://firebase.google.com/docs/functions/custom-events)
- [Blocking Auth triggers](https://firebase.google.com/docs/functions/auth-blocking-events)
- [Cloud Firestore triggers](https://firebase.google.com/docs/functions/firestore-events)
- [Data Connect triggers](https://firebase.google.com/docs/functions/data-connect-events)
- [Realtime Database triggers](https://firebase.google.com/docs/functions/database-events)
- [Remote Config triggers](https://firebase.google.com/docs/functions/rc-events)
- [Cloud Storage triggers](https://firebase.google.com/docs/functions/gcp-storage-events)
- [Pub/Sub triggers](https://firebase.google.com/docs/functions/pubsub-events)
- [Test Lab triggers](https://firebase.google.com/docs/functions/test-lab-events)
- Write functions
- [Manage deployment and runtime options](https://firebase.google.com/docs/functions/manage-functions)
- [Write functions in TypeScript](https://firebase.google.com/docs/functions/typescript)
- [Sync, async, and promises](https://firebase.google.com/docs/functions/terminate-functions)
- [Retry asynchronous functions](https://firebase.google.com/docs/functions/retries)
- [Configure your environment](https://firebase.google.com/docs/functions/config-env)
- [Organize functions](https://firebase.google.com/docs/functions/organize-functions)
- [Handling dependencies](https://firebase.google.com/docs/functions/handle-dependencies)
- [Optimizing networking](https://firebase.google.com/docs/functions/networking)
- [Tips & tricks](https://firebase.google.com/docs/functions/tips)
- Test functions
- [Run functions locally](https://firebase.google.com/docs/functions/local-emulator)
- [Unit testing functions](https://firebase.google.com/docs/functions/unit-testing)
- [Test functions interactively](https://firebase.google.com/docs/functions/local-shell)
- Monitor functions
- [Write and view logs](https://firebase.google.com/docs/functions/writing-and-viewing-logs)
- [Report errors](https://firebase.google.com/docs/functions/reporting-errors)
- API Reference
- [Node.js 2nd gen](https://firebase.google.com/docs/reference/functions/2nd-gen/node/firebase-functions)
- [Node.js 1st gen](https://firebase.google.com/docs/reference/functions/firebase-functions)
- [Node.js Test SDK](https://firebase.google.com/docs/reference/functions/test/test)
- [Python](https://firebase.google.com/docs/reference/functions/2nd-gen/python)
- [Protocol specification for https.onCall](https://firebase.google.com/docs/functions/callable-reference)
- [Cloud Run functions and Firebase](https://firebase.google.com/docs/functions/functions-and-firebase)
- [Cloud Functions locations](https://firebase.google.com/docs/functions/locations)
- [Quotas and limits](https://firebase.google.com/docs/functions/quotas)
- Cloud Functions (1st gen)
- [Analytics triggers](https://firebase.google.com/docs/functions/1st-gen/analytics-events)
- [Authentication triggers](https://firebase.google.com/docs/functions/1st-gen/auth-events)
- [Blocking Auth triggers](https://firebase.google.com/docs/functions/1st-gen/auth-blocking-events-1st)
- [Call functions from your app](https://firebase.google.com/docs/functions/1st-gen/callable-1st)
- [Call functions via HTTP requests](https://firebase.google.com/docs/functions/1st-gen/http-events-1st)
- [Cloud Firestore triggers](https://firebase.google.com/docs/functions/1st-gen/firestore-events-1st)
- [Cloud Storage triggers](https://firebase.google.com/docs/functions/1st-gen/gcp-storage-events-1st)
- [Configure your environment](https://firebase.google.com/docs/functions/1st-gen/config-env-1st)
- [Enqueue functions with Cloud Tasks](https://firebase.google.com/docs/functions/1st-gen/task-functions-1st)
- [Get started](https://firebase.google.com/docs/functions/1st-gen/get-started-1st)
- [Manage deployment and runtime options](https://firebase.google.com/docs/functions/1st-gen/manage-functions-1st)
- [Organize functions](https://firebase.google.com/docs/functions/1st-gen/organize-functions-1st)
- [Pub/Sub triggers](https://firebase.google.com/docs/functions/1st-gen/pubsub-events-1st)
- [Realtime Database triggers](https://firebase.google.com/docs/functions/1st-gen/database-events-1st)
- [Remote Config triggers](https://firebase.google.com/docs/functions/1st-gen/rc-events-1st)
- [Report errors](https://firebase.google.com/docs/functions/1st-gen/reporting-errors-1st)
- [Run functions on a schedule](https://firebase.google.com/docs/functions/1st-gen/schedule-functions-1st)
- [Test Lab triggers](https://firebase.google.com/docs/functions/1st-gen/test-lab-events-1st)
- [Write and view logs](https://firebase.google.com/docs/functions/1st-gen/writing-and-viewing-logs-1st)
- Extensions
- [Introduction](https://firebase.google.com/docs/extensions)
- [Use case examples](https://firebase.google.com/docs/extensions/samples)
- Use an extension in your project
- [Overview](https://firebase.google.com/docs/extensions/overview-use-extensions)
- [Install an extension](https://firebase.google.com/docs/extensions/install-extensions)
- [Manage installed extensions](https://firebase.google.com/docs/extensions/manage-installed-extensions)
- [Permissions granted to an extension](https://firebase.google.com/docs/extensions/permissions-granted-to-extension)
- [Manage configurations with manifests](https://firebase.google.com/docs/extensions/manifest)
- Extensions by Firebase
- Trigger Email
- [Get started](https://firebase.google.com/docs/extensions/official/firestore-send-email)
- [Use Handlebars templates](https://firebase.google.com/docs/extensions/official/firestore-send-email/templates)
- [Manage delivery status](https://firebase.google.com/docs/extensions/official/firestore-send-email/delivery-status)
- Delete User Data
- [Get Started](https://firebase.google.com/docs/extensions/official/delete-user-data)
- Firestore Bundle Builder
- [Get Started](https://firebase.google.com/docs/extensions/official/firestore-bundle-builder)
- [Reference](https://firebase.google.com/docs/extensions/official/firestore-bundle-builder/reference)
- [Resize Images](https://github.com/firebase/extensions/tree/master/storage-resize-images#resize-images)
- [Export Collections to BigQuery](https://github.com/firebase/extensions/tree/master/firestore-bigquery-export#export-collections-to-bigquery)
- [Translate Text](https://github.com/firebase/extensions/tree/master/firestore-translate-text#translate-text)
- [Distributed Counter](https://github.com/firebase/extensions/tree/master/firestore-counter#distributed-counter)
- [Shorten URLs](https://github.com/firebase/extensions/tree/master/firestore-shorten-urls-bitly#shorten-urls)
- [Limit Child Nodes](https://github.com/firebase/extensions/tree/master/rtdb-limit-child-nodes#limit-child-nodes)
- Build & publish extensions
- [Overview](https://firebase.google.com/docs/extensions/publishers)
- [Get started](https://firebase.google.com/docs/extensions/publishers/get-started)
- [Write functions](https://firebase.google.com/docs/extensions/publishers/functions)
- [Set up parameters](https://firebase.google.com/docs/extensions/publishers/parameters)
- [Handle lifecycle events](https://firebase.google.com/docs/extensions/publishers/lifecycle-events)
- [Add user hooks](https://firebase.google.com/docs/extensions/publishers/user-hooks)
- [Set up appropriate access](https://firebase.google.com/docs/extensions/publishers/access)
- [Create user documentation](https://firebase.google.com/docs/extensions/publishers/user-documentation)
- [Register as a publisher](https://firebase.google.com/docs/extensions/publishers/register)
- [Publish an extension](https://firebase.google.com/docs/extensions/publishers/upload-and-publish)
- [Reference for extension.yaml](https://firebase.google.com/docs/extensions/reference/extension-yaml)
- [Firebase Extensions Publisher Agreement](https://firebase.google.com/terms/extensions/publisher)
- Firebase ML
- [Introduction](https://firebase.google.com/docs/ml)
- [Codelabs](https://firebase.google.com/docs/ml/codelabs)
- Custom Models
- Use a custom model
- [Overview](https://firebase.google.com/docs/ml/use-custom-models)
- [iOS+](https://firebase.google.com/docs/ml/ios/use-custom-models)
- [Android](https://firebase.google.com/docs/ml/android/use-custom-models)
- [Flutter](https://firebase.google.com/docs/ml/flutter/use-custom-models)
- [Deploy & manage custom models](https://firebase.google.com/docs/ml/manage-hosted-models)
- Migrate from the legacy API
- [iOS+](https://firebase.google.com/docs/ml/ios/migrate-from-legacy-api)
- [Android](https://firebase.google.com/docs/ml/android/migrate-from-legacy-api)
- Use Cloud Vision APIs
- Recognize text
- [Overview](https://firebase.google.com/docs/ml/recognize-text)
- [iOS+](https://firebase.google.com/docs/ml/ios/recognize-text)
- [Android](https://firebase.google.com/docs/ml/android/recognize-text)
- Label images
- [Overview](https://firebase.google.com/docs/ml/label-images)
- [iOS+](https://firebase.google.com/docs/ml/ios/label-images)
- [Android](https://firebase.google.com/docs/ml/android/label-images)
- Recognize landmarks
- [Overview](https://firebase.google.com/docs/ml/recognize-landmarks)
- [iOS+](https://firebase.google.com/docs/ml/ios/recognize-landmarks)
- [Android](https://firebase.google.com/docs/ml/android/recognize-landmarks)
- Advanced Topics
- A/B test two versions of a model
- [iOS+](https://firebase.google.com/docs/ml/ios/ab-test-models)
- [Android](https://firebase.google.com/docs/ml/android/ab-test-models)
- Prepare for Production
- Protect your Cloud credentials
- [iOS+](https://firebase.google.com/docs/ml/ios/secure-api-key)
- [Android](https://firebase.google.com/docs/ml/android/secure-api-key)
- (Deprecated) Cloud Vision & Cloud AutoML Vision Edge
- Deprecated Vision SDKs
- Recognize text
- [iOS+](https://firebase.google.com/docs/ml/ios/recognize-text-deprecated)
- [Android](https://firebase.google.com/docs/ml/android/recognize-text-deprecated)
- Label images
- [iOS+](https://firebase.google.com/docs/ml/ios/label-images-deprecated)
- [Android](https://firebase.google.com/docs/ml/android/label-images-deprecated)
- Recognize landmarks
- [iOS+](https://firebase.google.com/docs/ml/ios/recognize-landmarks-deprecated)
- [Android](https://firebase.google.com/docs/ml/android/recognize-landmarks-deprecated)
- Deprecated Cloud AutoML Vision Edge
- [Overview](https://firebase.google.com/docs/ml/automl-image-labeling)
- [Train image labeling models](https://firebase.google.com/docs/ml/train-image-labeler)
- Label images with your models
- [iOS+](https://firebase.google.com/docs/ml/ios/label-images-with-automl)
- [Android](https://firebase.google.com/docs/ml/android/label-images-with-automl)
- [Train object detection models](https://firebase.google.com/docs/ml/train-object-detector)
- Detect objects with your models
- [iOS+](https://firebase.google.com/docs/ml/ios/detect-objects-with-automl)
- [Android](https://firebase.google.com/docs/ml/android/detect-objects-with-automl)
- [Migrate datasets](https://firebase.google.com/docs/ml/migrate-automl-datasets)
- Legacy Documentation
- ML Kit for Firebase
- [Introduction](https://firebase.google.com/docs/ml-kit)
- Vision
- Recognize text
- [Overview](https://firebase.google.com/docs/ml-kit/recognize-text)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/recognize-text)
- [Android](https://firebase.google.com/docs/ml-kit/android/recognize-text)
- Detect faces
- [Overview](https://firebase.google.com/docs/ml-kit/detect-faces)
- [Concepts](https://firebase.google.com/docs/ml-kit/face-detection-concepts)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/detect-faces)
- [Android](https://firebase.google.com/docs/ml-kit/android/detect-faces)
- Scan barcodes
- [Overview](https://firebase.google.com/docs/ml-kit/read-barcodes)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/read-barcodes)
- [Android](https://firebase.google.com/docs/ml-kit/android/read-barcodes)
- Label images
- [Overview](https://firebase.google.com/docs/ml-kit/label-images)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/label-images)
- [Android](https://firebase.google.com/docs/ml-kit/android/label-images)
- Detect and track objects
- [Overview](https://firebase.google.com/docs/ml-kit/object-detection)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/detect-objects)
- [Android](https://firebase.google.com/docs/ml-kit/android/detect-objects)
- Recognize landmarks
- [Overview](https://firebase.google.com/docs/ml-kit/recognize-landmarks)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/recognize-landmarks)
- [Android](https://firebase.google.com/docs/ml-kit/android/recognize-landmarks)
- AutoML Vision Edge
- [Overview](https://firebase.google.com/docs/ml-kit/automl-image-labeling)
- [Train image labeling models](https://firebase.google.com/docs/ml-kit/train-image-labeler)
- Label images with your models
- [iOS](https://firebase.google.com/docs/ml-kit/ios/label-images-with-automl)
- [Android](https://firebase.google.com/docs/ml-kit/android/label-images-with-automl)
- [Migrate datasets](https://firebase.google.com/docs/ml-kit/migrate-automl-datasets)
- Natural Language
- Identify the language of text
- [Overview](https://firebase.google.com/docs/ml-kit/identify-languages)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/identify-languages)
- [Android](https://firebase.google.com/docs/ml-kit/android/identify-languages)
- Translate text
- [Overview](https://firebase.google.com/docs/ml-kit/translation)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/translate-text)
- [Android](https://firebase.google.com/docs/ml-kit/android/translate-text)
- [Usage guidelines](https://firebase.google.com/docs/ml-kit/translation-terms)
- Generate smart replies
- [Overview](https://firebase.google.com/docs/ml-kit/generate-smart-replies)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/generate-smart-replies)
- [Android](https://firebase.google.com/docs/ml-kit/android/generate-smart-replies)
- Custom Models
- Use a custom model
- [Overview](https://firebase.google.com/docs/ml-kit/use-custom-models)
- [iOS](https://firebase.google.com/docs/ml-kit/ios/use-custom-models)
- [Android](https://firebase.google.com/docs/ml-kit/android/use-custom-models)
- [Manage hosted custom models](https://firebase.google.com/docs/ml-kit/manage-hosted-models)
- Use a custom TensorFlow Lite build
- [iOS](https://firebase.google.com/docs/ml-kit/ios/use-custom-tflite)
- [Android](https://firebase.google.com/docs/ml-kit/android/use-custom-tflite)
- Advanced Topics
- A/B test two versions of a model
- [iOS](https://firebase.google.com/docs/ml-kit/ios/ab-test-models)
- [Android](https://firebase.google.com/docs/ml-kit/android/ab-test-models)
- Prepare for Production
- Reduce app package size
- [Android](https://firebase.google.com/docs/ml-kit/android/reduce-app-size)
- Protect your Cloud credentials
- [iOS](https://firebase.google.com/docs/ml-kit/ios/secure-api-key)
- [Android](https://firebase.google.com/docs/ml-kit/android/secure-api-key)
- RELATED PRODUCTS
- [Cloud Messaging](https://firebase.google.com/docs/cloud-messaging/)
- [Remote Config](https://firebase.google.com/docs/remote-config/)
- Build
- [Go to Build](https://firebase.google.com/products-build)
- Build Products
- [App Check](https://firebase.google.com/products/app-check)
- [App Hosting](https://firebase.google.com/products/app-hosting)
- [Authentication](https://firebase.google.com/products/auth)
- [Cloud Functions](https://firebase.google.com/products/functions)
- [Cloud Storage](https://firebase.google.com/products/storage)
- [Data Connect](https://firebase.google.com/products/data-connect)
- [Extensions](https://firebase.google.com/products/extensions)
- [Firebase ML](https://firebase.google.com/products/ml)
- [Firestore](https://firebase.google.com/products/firestore)
- [Genkit](https://genkit.dev/)
- [Hosting](https://firebase.google.com/products/hosting)
- [Phone Number Verification](https://firebase.google.com/products/phone-number-verification)
- [Realtime Database](https://firebase.google.com/products/realtime-database)
- [Firebase AI Logic client SDKs](https://firebase.google.com/products/firebase-ai-logic)
- [Generative AI](https://firebase.google.com/products/generative-ai)
- Run
- [Go to Run](https://firebase.google.com/products-run)
- Run Products
- [A/B Testing](https://firebase.google.com/products/ab-testing)
- [App Distribution](https://firebase.google.com/products/app-distribution)
- [Cloud Messaging](https://firebase.google.com/products/cloud-messaging)
- [Crashlytics](https://firebase.google.com/products/crashlytics)
- [Google Analytics](https://firebase.google.com/products/analytics)
- [In-App Messaging](https://firebase.google.com/products/in-app-messaging)
- [Performance Monitoring](https://firebase.google.com/products/performance)
- [Remote Config](https://firebase.google.com/products/remote-config)
- [Test Lab](https://firebase.google.com/products/test-lab)
- [Overview](https://firebase.google.com/docs)
- [Fundamentals](https://firebase.google.com/docs/guides)
- [AI](https://firebase.google.com/docs/ai)
- [Build](https://firebase.google.com/docs/build)
- [Run](https://firebase.google.com/docs/run)
- [Reference](https://firebase.google.com/docs/reference)
- [Samples](https://firebase.google.com/docs/samples)
- [Learn](https://firebase.google.com/community/learn)
- [Events](https://firebase.google.com/community/events)
- [Stories](https://firebase.google.com/community/stories)
- [Add Firebase - Apple platforms (iOS+)](https://firebase.google.com/docs/ios/setup)
- [Add Firebase - Android](https://firebase.google.com/docs/android/setup)
- [Add Firebase - Web](https://firebase.google.com/docs/web/setup)
- [Add Firebase - Flutter](https://firebase.google.com/docs/flutter/setup)
- [Add Firebase - C++](https://firebase.google.com/docs/cpp/setup)
- [Add Firebase - Unity](https://firebase.google.com/docs/unity/setup)
- [Add Firebase - Server environments](https://firebase.google.com/docs/admin/setup)
- [Manage Firebase projects](https://firebase.google.com/docs/projects/learn-more)
- [Supported platforms & frameworks](https://firebase.google.com/docs/libraries)
- Develop with AI assistance
- [Overview](https://firebase.google.com/docs/ai-assistance)
- [Firebase Studio](https://firebase.google.com/docs/studio)
- [Gemini in Firebase](https://firebase.google.com/docs/ai-assistance/gemini-in-firebase)
- [MCP, Gemini CLI, & agents](https://firebase.google.com/docs/ai-assistance/mcp-server)
- Build AI-powered apps
- [Firebase AI Logic](https://firebase.google.com/docs/ai-logic)
- [Genkit](https://genkit.dev/)
- [Authentication](https://firebase.google.com/docs/auth)
- [Phone Number Verification](https://firebase.google.com/docs/phone-number-verification)
- [App Check](https://firebase.google.com/docs/app-check)
- [Security Rules](https://firebase.google.com/docs/rules)
- [Data Connect](https://firebase.google.com/docs/data-connect)
- [Firestore](https://firebase.google.com/docs/firestore)
- [Realtime Database](https://firebase.google.com/docs/database)
- [Storage](https://firebase.google.com/docs/storage)
- [App Hosting](https://firebase.google.com/docs/app-hosting)
- [Hosting](https://firebase.google.com/docs/hosting)
- [Cloud Functions](https://firebase.google.com/docs/functions)
- [Extensions](https://firebase.google.com/docs/extensions)
- [Emulator Suite](https://firebase.google.com/docs/emulator-suite)
- [Test Lab](https://firebase.google.com/docs/test-lab)
- [App Distribution](https://firebase.google.com/docs/app-distribution)
- [Crashlytics](https://firebase.google.com/docs/crashlytics)
- [Performance Monitoring](https://firebase.google.com/docs/perf-mon)
- [Remote Config](https://firebase.google.com/docs/remote-config)
- [A/B Testing](https://firebase.google.com/docs/ab-testing)
- [Cloud Messaging](https://firebase.google.com/docs/cloud-messaging)
- [In-App Messaging](https://firebase.google.com/docs/in-app-messaging)
- [Google Analytics](https://firebase.google.com/docs/analytics)
- [Google Admob](https://firebase.google.com/docs/admob)
- [Google Ads](https://firebase.google.com/docs/ads)
- On this page
- [Realtime Database](https://firebase.google.com/docs/database#realtime-database)
- [Cloud Firestore](https://firebase.google.com/docs/database#cloud-firestore)
- [Key capabilities](https://firebase.google.com/docs/database#key_capabilities)
- [How does it work?](https://firebase.google.com/docs/database#how_does_it_work)
- [Implementation path](https://firebase.google.com/docs/database#implementation_path)
- [Store other types of data](https://firebase.google.com/docs/database#store_other_types_of_data)
- [Next steps:](https://firebase.google.com/docs/database#next_steps)
- [Firebase](https://firebase.google.com/)
- [Documentation](https://firebase.google.com/docs)
- [Realtime Database](https://firebase.google.com/docs/database)
- [Build](https://firebase.google.com/docs/build)
Was this helpful?
Send feedback
- On this page
- [Realtime Database](https://firebase.google.com/docs/database#realtime-database)
- [Cloud Firestore](https://firebase.google.com/docs/database#cloud-firestore)
- [Key capabilities](https://firebase.google.com/docs/database#key_capabilities)
- [How does it work?](https://firebase.google.com/docs/database#how_does_it_work)
- [Implementation path](https://firebase.google.com/docs/database#implementation_path)
- [Store other types of data](https://firebase.google.com/docs/database#store_other_types_of_data)
- [Next steps:](https://firebase.google.com/docs/database#next_steps)
# Firebase Realtime Database Stay organized with collections Save and categorize content based on your preferences.
plat\_ios plat\_android plat\_web plat\_flutter plat\_cpp plat\_unity
Store and sync data with our NoSQL cloud database. Data is synced across all clients in realtime, and remains available when your app goes offline.
### Realtime Database
### Cloud Firestore
[Preferred]()
The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform apps with our Apple platforms, Android, and JavaScript SDKs, all of your clients share one Realtime Database instance and automatically receive updates with the newest data.
Alternatively, consider trying [Cloud Firestore](https://firebase.google.com/docs/firestore) for modern applications requiring richer data models, queryability, scalability and higher availability.
Ready to get started? Choose your platform:
[iOS+](https://firebase.google.com/docs/database/ios/start) [Android](https://firebase.google.com/docs/database/android/start) [Web](https://firebase.google.com/docs/database/web/start) [Flutter](https://firebase.google.com/docs/database/flutter/start) [Unity](https://firebase.google.com/docs/database/unity/start) [C++](https://firebase.google.com/docs/database/cpp/start) [Admin](https://firebase.google.com/docs/database/admin/start) [REST API](https://firebase.google.com/docs/database/rest/start)
## Key capabilities
| | |
|---|---|
| Realtime | Instead of typical HTTP requests, the Firebase Realtime Database uses data synchronization—every time data changes, any connected device receives that update within milliseconds. Provide collaborative and immersive experiences without thinking about networking code. |
| Offline | Firebase apps remain responsive even when offline because the Firebase Realtime Database SDK persists your data to disk. Once connectivity is reestablished, the client device receives any changes it missed, synchronizing it with the current server state. |
| Accessible from Client Devices | The Firebase Realtime Database can be accessed directly from a mobile device or web browser; there's no need for an application server. Security and data validation are available through the Firebase Realtime Database Security Rules, expression-based rules that are executed when data is read or written. |
| Scale across multiple databases | With Firebase Realtime Database on the Blaze pricing plan, you can support your app's data needs at scale by splitting your data across multiple database instances in the same Firebase project. Streamline authentication with Firebase Authentication on your project and authenticate users across your database instances. Control access to the data in each database with custom Firebase Realtime Database Security Rules for each database instance. |
## How does it work?
The Firebase Realtime Database lets you build rich, collaborative applications by allowing secure access to the database directly from client-side code. Data is persisted locally, and even while offline, realtime events continue to fire, giving the end user a responsive experience. When the device regains connection, the Realtime Database synchronizes the local data changes with the remote updates that occurred while the client was offline, merging any conflicts automatically.
The Realtime Database provides a flexible, expression-based rules language, called Firebase Realtime Database Security Rules, to define how your data should be structured and when data can be read from or written to. When integrated with Firebase Authentication, developers can define who has access to what data, and how they can access it.
The Realtime Database is a NoSQL database and as such has different optimizations and capabilities compared to a relational database. The Realtime Database API is designed to only allow operations that can be executed quickly. This lets you build a great realtime experience that can serve millions of users without compromising on responsiveness. Because of this, it is important to think about how users need to access your data and then [structure it accordingly](https://firebase.google.com/docs/database/web/structure-data).
## Implementation path
| | | |
|---|---|---|
| | Integrate the Firebase Realtime Database SDKs | Quickly include clients using Gradle, Swift Package Manager, or a script include. |
| | Create Realtime Database References | Reference your JSON data, such as "users/user:1234/phone\_number" to set data or subscribe to data changes. |
| | Set Data and Listen for Changes | Use these references to write data or subscribe to changes. |
| | Enable Offline Persistence | Allow data to be written to the device's local disk so it can be available while offline. |
| | Secure your data | Use Firebase Realtime Database Security Rules to secure your data. |
## Store other types of data
- [Cloud Firestore](https://firebase.google.com/docs/firestore) is a flexible, scalable database for mobile, web, and server development from Firebase and Google Cloud. To learn more about the differences between database options, see [Choose a database: Cloud Firestore or Realtime Database](https://firebase.google.com/docs/firestore/rtdb-vs-firestore).
- [Firebase Remote Config](https://firebase.google.com/docs/remote-config) stores developer specified key-value pairs to change the behavior and appearance of your app without requiring users to download an update.
- [Firebase Hosting](https://firebase.google.com/docs/hosting) hosts the HTML, CSS, and JavaScript for your website as well as other developer-provided assets like graphics, fonts, and icons.
- [Cloud Storage](https://firebase.google.com/docs/storage) stores files such as images, videos, and audio as well as other user-generated content.
## Next steps:
- Set data and listen for changes using the [Apple platforms](https://firebase.google.com/docs/database/ios/start), [Android](https://firebase.google.com/docs/database/android/start), [Web](https://firebase.google.com/docs/database/web/start), [Admin](https://firebase.google.com/docs/database/admin/start) SDKs, or the [REST API](https://firebase.google.com/docs/database/rest/start).
- Add Firebase Realtime Database to your [Apple](https://firebase.google.com/docs/database/ios/start), [Android](https://firebase.google.com/docs/database/android/start), or [Web](https://firebase.google.com/docs/database/web/start) app.
- Learn about how to secure your files using [Firebase Realtime Database Security Rules](https://firebase.google.com/docs/database/security).
Was this helpful?
Send feedback
Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-05 UTC.
Need to tell us more?
\[\[\["Easy to understand","easyToUnderstand","thumb-up"\],\["Solved my problem","solvedMyProblem","thumb-up"\],\["Other","otherUp","thumb-up"\]\],\[\["Missing the information I need","missingTheInformationINeed","thumb-down"\],\["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"\],\["Out of date","outOfDate","thumb-down"\],\["Samples / code issue","samplesCodeIssue","thumb-down"\],\["Other","otherDown","thumb-down"\]\],\["Last updated 2026-02-05 UTC."\],\[\],\[\]\]
- ### Learn
- [Developer guides](https://firebase.google.com/docs/)
- [SDK & API reference](https://firebase.google.com/docs/reference/)
- [Samples](https://firebase.google.com/docs/samples/)
- [Libraries](https://firebase.google.com/docs/libraries/)
- [GitHub](https://github.com/firebase/)
- ### Stay connected
- [Check out the blog](https://firebase.blog/)
- [Find us on Reddit](https://www.reddit.com/r/Firebase)
- [Follow on X](https://x.com/Firebase)
- [Subscribe on YouTube](https://www.youtube.com/user/Firebase)
- [Attend an event](https://firebase.google.com/community/events)
- ### Support
- [Contact support](https://firebase.google.com/support/)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/firebase)
- [Google group](https://groups.google.com/forum/#!forum/firebase-talk)
- [Release notes](https://firebase.google.com/support/releases)
- [Brand guidelines](https://firebase.google.com/brand-guidelines/)
- [FAQs](https://firebase.google.com/support/faq/)
[](https://developers.google.com/)
- [Android](https://developer.android.com/)
- [Chrome](https://developer.chrome.com/home)
- [Firebase](https://firebase.google.com/)
- [Google Cloud Platform](https://cloud.google.com/)
- [All products](https://developers.google.com/products/)
- [Terms](https://firebase.google.com/terms/)
- [Privacy](https://policies.google.com/privacy)
- [Manage cookies](https://firebase.google.com/docs/database)
- [English](https://firebase.google.com/docs/database)
- [Deutsch](https://firebase.google.com/docs/database?hl=de)
- [Español – América Latina](https://firebase.google.com/docs/database?hl=es-419)
- [Français](https://firebase.google.com/docs/database?hl=fr)
- [Indonesia](https://firebase.google.com/docs/database?hl=id)
- [Italiano](https://firebase.google.com/docs/database?hl=it)
- [Polski](https://firebase.google.com/docs/database?hl=pl)
- [Português – Brasil](https://firebase.google.com/docs/database?hl=pt-br)
- [Tiếng Việt](https://firebase.google.com/docs/database?hl=vi)
- [Türkçe](https://firebase.google.com/docs/database?hl=tr)
- [Русский](https://firebase.google.com/docs/database?hl=ru)
- [עברית](https://firebase.google.com/docs/database?hl=he)
- [العربيّة](https://firebase.google.com/docs/database?hl=ar)
- [فارسی](https://firebase.google.com/docs/database?hl=fa)
- [हिंदी](https://firebase.google.com/docs/database?hl=hi)
- [বাংলা](https://firebase.google.com/docs/database?hl=bn)
- [ภาษาไทย](https://firebase.google.com/docs/database?hl=th)
- [中文 – 简体](https://firebase.google.com/docs/database?hl=zh-cn)
- [中文 – 繁體](https://firebase.google.com/docs/database?hl=zh-tw)
- [日本語](https://firebase.google.com/docs/database?hl=ja)
- [한국어](https://firebase.google.com/docs/database?hl=ko)
Chat |
| Readable Markdown | - On this page
- [Realtime Database](https://firebase.google.com/docs/database#realtime-database)
- [Cloud Firestore](https://firebase.google.com/docs/database#cloud-firestore)
- [Key capabilities](https://firebase.google.com/docs/database#key_capabilities)
- [How does it work?](https://firebase.google.com/docs/database#how_does_it_work)
- [Implementation path](https://firebase.google.com/docs/database#implementation_path)
- [Store other types of data](https://firebase.google.com/docs/database#store_other_types_of_data)
- [Next steps:](https://firebase.google.com/docs/database#next_steps)
## Firebase Realtime Database Stay organized with collections Save and categorize content based on your preferences.
Store and sync data with our NoSQL cloud database. Data is synced across all clients in realtime, and remains available when your app goes offline.
Realtime Database
The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform apps with our Apple platforms, Android, and JavaScript SDKs, all of your clients share one Realtime Database instance and automatically receive updates with the newest data.
Alternatively, consider trying [Cloud Firestore](https://firebase.google.com/docs/firestore) for modern applications requiring richer data models, queryability, scalability and higher availability.
Ready to get started? Choose your platform:
[iOS+](https://firebase.google.com/docs/database/ios/start) [Android](https://firebase.google.com/docs/database/android/start) [Web](https://firebase.google.com/docs/database/web/start) [Flutter](https://firebase.google.com/docs/database/flutter/start) [Unity](https://firebase.google.com/docs/database/unity/start) [C++](https://firebase.google.com/docs/database/cpp/start) [Admin](https://firebase.google.com/docs/database/admin/start) [REST API](https://firebase.google.com/docs/database/rest/start)
## Key capabilities
| | |
|---|---|
| Realtime | Instead of typical HTTP requests, the Firebase Realtime Database uses data synchronization—every time data changes, any connected device receives that update within milliseconds. Provide collaborative and immersive experiences without thinking about networking code. |
| Offline | Firebase apps remain responsive even when offline because the Firebase Realtime Database SDK persists your data to disk. Once connectivity is reestablished, the client device receives any changes it missed, synchronizing it with the current server state. |
| Accessible from Client Devices | The Firebase Realtime Database can be accessed directly from a mobile device or web browser; there's no need for an application server. Security and data validation are available through the Firebase Realtime Database Security Rules, expression-based rules that are executed when data is read or written. |
| Scale across multiple databases | With Firebase Realtime Database on the Blaze pricing plan, you can support your app's data needs at scale by splitting your data across multiple database instances in the same Firebase project. Streamline authentication with Firebase Authentication on your project and authenticate users across your database instances. Control access to the data in each database with custom Firebase Realtime Database Security Rules for each database instance. |
## How does it work?
The Firebase Realtime Database lets you build rich, collaborative applications by allowing secure access to the database directly from client-side code. Data is persisted locally, and even while offline, realtime events continue to fire, giving the end user a responsive experience. When the device regains connection, the Realtime Database synchronizes the local data changes with the remote updates that occurred while the client was offline, merging any conflicts automatically.
The Realtime Database provides a flexible, expression-based rules language, called Firebase Realtime Database Security Rules, to define how your data should be structured and when data can be read from or written to. When integrated with Firebase Authentication, developers can define who has access to what data, and how they can access it.
The Realtime Database is a NoSQL database and as such has different optimizations and capabilities compared to a relational database. The Realtime Database API is designed to only allow operations that can be executed quickly. This lets you build a great realtime experience that can serve millions of users without compromising on responsiveness. Because of this, it is important to think about how users need to access your data and then [structure it accordingly](https://firebase.google.com/docs/database/web/structure-data).
## Implementation path
| | | |
|---|---|---|
| | Integrate the Firebase Realtime Database SDKs | Quickly include clients using Gradle, Swift Package Manager, or a script include. |
| | Create Realtime Database References | Reference your JSON data, such as "users/user:1234/phone\_number" to set data or subscribe to data changes. |
| | Set Data and Listen for Changes | Use these references to write data or subscribe to changes. |
| | Enable Offline Persistence | Allow data to be written to the device's local disk so it can be available while offline. |
| | Secure your data | Use Firebase Realtime Database Security Rules to secure your data. |
## Store other types of data
- [Cloud Firestore](https://firebase.google.com/docs/firestore) is a flexible, scalable database for mobile, web, and server development from Firebase and Google Cloud. To learn more about the differences between database options, see [Choose a database: Cloud Firestore or Realtime Database](https://firebase.google.com/docs/firestore/rtdb-vs-firestore).
- [Firebase Remote Config](https://firebase.google.com/docs/remote-config) stores developer specified key-value pairs to change the behavior and appearance of your app without requiring users to download an update.
- [Firebase Hosting](https://firebase.google.com/docs/hosting) hosts the HTML, CSS, and JavaScript for your website as well as other developer-provided assets like graphics, fonts, and icons.
- [Cloud Storage](https://firebase.google.com/docs/storage) stores files such as images, videos, and audio as well as other user-generated content.
## Next steps:
- Set data and listen for changes using the [Apple platforms](https://firebase.google.com/docs/database/ios/start), [Android](https://firebase.google.com/docs/database/android/start), [Web](https://firebase.google.com/docs/database/web/start), [Admin](https://firebase.google.com/docs/database/admin/start) SDKs, or the [REST API](https://firebase.google.com/docs/database/rest/start).
- Add Firebase Realtime Database to your [Apple](https://firebase.google.com/docs/database/ios/start), [Android](https://firebase.google.com/docs/database/android/start), or [Web](https://firebase.google.com/docs/database/web/start) app.
- Learn about how to secure your files using [Firebase Realtime Database Security Rules](https://firebase.google.com/docs/database/security).
Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-05 UTC.
\[\[\["Easy to understand","easyToUnderstand","thumb-up"\],\["Solved my problem","solvedMyProblem","thumb-up"\],\["Other","otherUp","thumb-up"\]\],\[\["Missing the information I need","missingTheInformationINeed","thumb-down"\],\["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"\],\["Out of date","outOfDate","thumb-down"\],\["Samples / code issue","samplesCodeIssue","thumb-down"\],\["Other","otherDown","thumb-down"\]\],\["Last updated 2026-02-05 UTC."\],\[\],\[\]\] |
| Shard | 95 (laksa) |
| Root Hash | 744624608793826895 |
| Unparsed URL | com,google!firebase,/docs/database s443 |