Export User Data

Use this extension to export certain data to Cloud Storage from Cloud Firestore, Realtime Database or Cloud Storage.

This extension exports certain data keyed to a given user ID from Firebase Authentication. Data is exported as individual files (one file per Firestore collection or doc depending on which the path pointed to, one per node in RTDB, and one per file in Cloud Storage) to a Cloud Storage directory. Alternatively, the extension can be configured to combine all exported files into a single zip archive. This extension will only export data that it is explicitly configured to delete.

Note: To use this extension, you need to manage your users with Firebase Authentication.

This extension may be useful in helping you respect user privacy and fulfill compliance requirements you may be subject to. However, you are responsible for assessing and determining your compliance needs and obligations, and using this extension does not guarantee compliance with government and industry regulations.

Additional setup#

Make sure you’ve set up Cloud Storage in your Firebase project, as this is where data will be exported to. Depending on where you'd like to export data from, make sure that you've set up Cloud Firestore and/or Realtime Database in your Firebase project before installing this extension.

Also, make sure that you've set up Firebase Authentication to manage your users.


To install an extension, your project must be on the Blaze (pay as you go) plan

  • You will be charged a small amount (typically around $0.01/month) for the Firebase resources required by this extension (even if it is not used).
  • This extension uses other Firebase and Google Cloud Platform services, which have associated charges if you exceed the service’s no-cost tier:
    • Cloud Firestore
    • Firebase Realtime Database
    • Cloud Storage
    • Cloud Functions (Node.js 10+ runtime. See FAQs)