Firebase: export user accounts’ email and password hashes

You can use the firebase-cli by writing firebase auth:export save_file.csv --format=csv or firebase auth:export save_file.json --format=json

More details can be found on the firebase documentation page: https://firebase.google.com/docs/cli/auth#authexport


ex corret firebase auth:export save_file.csv --format=csv --project=my-name-project-fb


I did not get any option on firebase console UI. So you need to install firebase tool using npm.

npm install -g firebase-tools

and then login using

firebase login

after login you need to run one of command

CSV Format

firebase auth:export save_file.csv --format=csv --project <project-id>

JSON Format

firebase auth:export save_file.json --format=json --project <project-id>

you can get the project-id from home screen of firebase console