How to import firefox passwords into 1Password v4

I recently purchased 1Password v4. I thought, reading the reviews and the FAQ, that it would import the 548 password combinations I evidently had stored in Firefox.


The product was shipped with only the ability to import its own format (thanks for nothing) and CSV files.

Checking, opening, and retyping 548 sets of URL, username, and password sounded like exactly Zero Fun.

Here’s the workaround that 1Password should have kindly shared with new users, modified slightly from my post on their forum.

  1. Here’s an extension for Firefox that (in Firefox 24) exported my 548 saved passwords to a .csv file: The extension tells you how may exported items there are. This is a quick check to see if there’s a major problem in your process (but keep in mind it won’t confirm that they’re properly converted at each step).

  2. Export was very quick.

  3. USE 1Pv3 to import. Use the legacy download page. I used v3.8.2.1 for Lion with no ill effects on Mountain Lion.

  4. File/Import. Select the csv file. (In 1Pv4, this must have the .csv extension, so mine now did from an earlier failed attempt.) You will have to adjust the fields manually to ensure they match and select “Login” as type. 548 logins imported in my case, which matches 

  5. Export all to 1PIF (just in case) to desktop. Not encrypted – remember to delete later.

  6. Close 1Pv3.

  7. Reinstalled 1Pv4 (from App Store, in my case). It remembered my earlier master password.

  8. Import the 1PIF folder.

  9. 548 items imported. 

  10. I tested a few items to see if they worked, which is also about learning the application. It all looks good to my newbie eye.


  1. Sterling on March 20, 2014 at 10:59 am

    THANK YOU!!!!!

  2. rickcolosimo on March 20, 2014 at 11:34 am

    I’m glad this was helpful to you!

  3. n0shkin on April 12, 2014 at 4:14 pm

    thank you so much! … don’t understad why you would remove the import dialog from 1pv3…

  4. Håvard Fossli on July 1, 2014 at 10:11 am

    I used this regex script


    Replace with

    Then your file will be in the same format as this

  5. rickcolosimo on July 1, 2014 at 10:45 am

    Thanks for adding that — I’m sure it will help many people!

  6. Håvard Fossli on July 1, 2014 at 10:47 am

    The xml-information was removed. I’m trying again

  7. Håvard on July 1, 2014 at 10:50 am

    WordPress removes the info. See this link instead (search and replace info)

  8. rickcolosimo on July 1, 2014 at 10:52 am

    Ah, that’s a big difference. Those extra lines didn’t even come through in the submitted comment. Thanks for being so diligent. People will definitely appreciate it.