I have a bunch of passwords that I have exported to a CSV file and I would like to import all of these passwords to Firefox and sync them across my devices through Firefox Sync. How can I do this?
Update: This solution no longer works with recent Firefox Quantum.
You can use the Password Exporter add-on.
This extension allows you to export your saved passwords and disabled login hosts using XML or CSV files that can be imported later.
Despite the name it allows you to import passwords from CSV as well:
You might need to change the CSV format for it to match the one the add-on requires.
I made an utility that solves this issue: https://github.com/louisabraham/ffpass
pip install ffpass ffpass import --from passwords.csv