I have Firefox 48 and Ubuntu 16.04. I'm migrating from LastPass to default Firefox Password Manager.

I have exported my passwords with LastPass and it created a file (no extension, but I think it's CSV). I have installed the Password Exporter extension (https://addons.mozilla.org/en-US/firefox/addon/password-exporter/) and I tried to import that file, but it say that it can't import that file. So I tried to convert it to XML using this python script, also I imported that file to KeePass v2 and exported to both XML and CSV. Again I tried to import those files and the CSV file can't be imported, instead, with the XML files the extension does not throw any error, still it does nothing because no passwords are actually imported.

Is there a working way to import those passwords to my Firefox Password Manager?


  • 1) why are you doing this? You area replacing a tool with a worse one that can only be used on the browser... Anyway 2) csv or xml don't mean anything. Because they can be formatted in many different ways on contain different fields. You have to produce files in the exact format Firefox expects. – Bakuriu Aug 13 '16 at 10:47
  • Not a direct answer to your question, but I would recommend the FF add-on called KeeFox. It allows you to use a KeePass database for your FF passwords (which can then be synced with e.g. Dropbox). – Darren Feb 27 '17 at 22:47
  • 1
    @Bakuriu Worse in what ways? – jpaugh Oct 9 '17 at 21:16
  • @Bakuriu LastPass is a horrible tool riddled with self-promoting ads, an unusable user interface, a myriad of long-standing bugs, and is closed source software whose security cannot be independently verified. I would be cautious about calling the Firefox password manager "worse". – dionyziz May 31 at 9:35

The LastPass add-on for Firefox has an option to do this. Choose ToolsAdvanced ToolsExport ToFirefox

enter image description here

| improve this answer | |
  • 4
    This option seems to be not available in Firefox anymore. It is now only possible to export to CSV. But the CSV cannot be imported in FF, so far as I know. Also not with Passwort Exporter, that does not work with FF Quantum. – Nicolas May 11 '18 at 13:33

Here is a simple python script to transform the export into import.csv file="Export.csv" print(""" "hostname","username","password","formSubmitURL","httpRealm","usernameField","passwordField" """ ) for line in open(file): l=line.split(',') first, rest = l[:1], l[1:] url=l[0] if url=="http://" : url = url + l[4] print('"'+url+'",'+'"'+l[1]+'",'+'"'+l[2]+'",'+ '"'+url+'",'+'"","",""')

(as the method Tools → Advanced Tools → Export To → Firefox seems to be gone.)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.