Manage Cloud Firestore with the Firebase Console

You can perform the following actions onCloud Firestore when using theFirebase console:

  • View, add, edit, and delete data.
  • Create and updateCloud Firestore Security Rules.
  • Manage indexes.
  • Monitor usage.

View data

You can view all yourCloud Firestore data in the Firebase console. FromtheCloud FirestoreData tab,click on a document or collection to open the data nested within that item.

Open a specific path

To open a document or collection at a specific path, use theEdit pathbutton:

Click the Edit Path button to open a                                       specific document or collection.

Filter documents in a collection

To filter the documents listed in a collection, use theFilter list button.

Click the Filter list button to filter                                       the documents listed.

Non-existent ancestor documents

A document can exist even if one or more its ancestors don'texist. For example, the document at path/mycoll/mydoc/mysubcoll/mysubdoc can exist even if the ancestor document/mycoll/mydoc does not.

TheCloud Firestore data viewer displaysnon-existent ancestor document as follows:

  • In a collection's list of documents, the document IDs of non-existent ancestordocuments areitalicized.
  • In a non-existent ancestor document's information panel, the data viewerpoints out that the document does not exist.

Non-existent ancestor document in the console.

Warning: These non-existent ancestor documents are currentlyvisible in the console only for Standard edition. These arenot displayed forEnterprise edition. In the Standard edition, even though non-existent ancestordocuments appear in the console, they do not appear in queries and snapshots.You must create the document to include it in query results.

Query data

You can query for documents in theQuery builder tab of theCloud Firestore Data page.

  1. Go to theCloud Firestore Data page

  2. Click theQuery builder tab.

  3. Select aquery scope.

    SelectCollection to query a single collection. In the text field,enter a path to a collection.

    SelectCollection group to query all collections with the sameID. In theCollection group field, enter a collection group ID.

    The table will automatically display documents from the specified collectionor collection group.

  4. ClickAdd to query to filter the returned set of documents. By default,the Query Builder adds aWHERE clause. You canmodify this clause using the dropdowns and text fields or change to oneof the other available clauses. To continue building more complexqueries, clickAdd to query.

    To remove a query clause, click it's remove button. To remove all query clauses,clickClear.

    Note: Queries must meetCloud Firestore requirements and limitationsfor queries. Otherwise, the query fails and the page returns an error thatdescribes why the query failed.
  5. ClickRun to retrieve results from your database.

Query requirements and limitations

As you use the Query Builder, keep in mind the following requirements andlimitations for queries.

For additional limitations, seeQuery limitations.

Manage data

InCloud Firestore, you store data in documents and organize yourdocuments into collections. Before you start adding data, learn more about theCloud Firestore data model.

You can add, edit, and delete documents and collections from the Firebaseconsole. To manage your data, open theData tabin theCloud Firestore section:

Note: Read, write, and delete operations performed in the console count towardsyourCloud Firestore usage. Some console activities, like viewing adocument containing multiple fields, may generate several operations.

Add data

  1. ClickAdd collection, then enter your collection name and clickNext.
  2. Enter a specific document ID or clickAuto ID, then add fields for the data in your document.
  3. ClickSave. Your new collection and document appear in the data viewer.
  4. To add more documents to the collection, clickAdd document.

Edit data

  1. Click on a collection to view its documents, then click on a document to view its fields and subcollections.
  2. Click on a field to edit its value. To add fields or subcollections to the selected document, clickAdd field orAdd collection.

Delete data

To delete a collection:

  1. Select the collection you want to delete.
  2. Click the menu icon at the top of the documents column, then clickDelete collection.

Click Delete collection from the menu in the documents column

To delete a document or all of its fields:

  1. Select the document you want to delete.
  2. Click the menu icon at the top of the document details column. SelectDelete document orDelete document fields.

Deleting a document deletes all of the nested data in that document, includingany subcollections. However, deleting a document'sfields does not delete its subcollections.

Click Delete document or Delete document fields from the context menu in the document details column

To delete a specific field in a document:

  1. Select the document to view its fields.
  2. Click the delete icon beside the field you want to delete.

Click the delete icon to remove a field from a document

ManageCloud Firestore Security Rules

To add, edit, and deleteCloud Firestore Security Rules from the Firebase console, go totheRules tabin theCloud Firestore section. Learnmore aboutsetting up and customizing rules.

Manage indexes

To create new indexes for your queries and manage existing indexes from theFirebase console, go to theIndexes tabin theCloud Firestore section. Learn more aboutmanaging indexes.

Monitor usage

To monitor yourCloud Firestore usage, open theCloud FirestoreUsage tabin the Firebase Console. Use the dashboard to gauge your usageover different time periods.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-18 UTC.