Firebase: export user accounts’ email and password hashes

Vlad GURDIGA picture Vlad GURDIGA · Nov 7, 2014 · Viewed 12.9k times · Source

I use email/password authentication for my Firebase.

I’m considering moving to a different backend and I’m wondering if there is any way to export user emails/password hashes so that I can authenticate them outside Firebase?

I would also need to know the hashing algorithm.

Answer

Jürgen Brandstetter picture Jürgen Brandstetter · Apr 21, 2017

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