How to import my passwords from Firefox 59 to 1password 6?

notlevon
notlevon
Community Member

It is in the title: I am using Firefox 59.0.2, I am giving 1password a test drive and would like to import all my current passwords to 1password 6.8.8 I am using Mac with the current OS X. No clue how to do it.


1Password Version: 6.8.8
Extension Version: 4.7.0.90
OS Version: OS X 10.13.4
Sync Type: iCloud, OneDrive
Referrer: forum-search:How to import my passwords from Firefox 59 to 1password 6?

Comments

  • Lars
    Lars
    1Password Alumni

    Welcome to the forum, @notlevon! If you're currently using Firefox as your primary browser, unfortunately Mozilla don't offer a CSV export, so the best way to "import" your Login items into 1Password is the "organic" method: install 1Password and the browser extension, and continue using Firefox as you always have. Only now, when you enter credentials into websites, you'll get 1Password's dialogue asking you whether to say the item. After a while of normal use, you'll have most if not all of your data imported into 1Password just by doing the thing you do every day anyway. And any that remain can be specifically visited and added using 1Password's normal saving feature. At that point, when everything's within 1Password, you'll be ready to go 1Password-only in Firefox. Let us know if you have any questions. :)

  • notlevon
    notlevon
    Community Member

    Yeah. No thank you. I guess I'll stick with more user friendly solutions.

  • Lars
    Lars
    1Password Alumni

    @notlevon

  • MrC
    MrC
    Volunteer Moderator

    @notlevon ,

    Since Firefox version 57, this has become more difficult. There is a Firefox extension, called Password Exporter, that could export your passwords as CSV, but it won't work passed version 57.

    You could downgrade your Firefox temporarily, install the plug-in, and then export your passwords. Then update Firefox again when you are done.

    Once you have the CSV, you can use 1Password's CSV importer.

    https://addons.mozilla.org/en-US/firefox/addon/password-exporter/

  • PasswordPhil
    PasswordPhil
    Community Member

    I am considering using 1Password, but would like to be able to import from Firefox

    If found this utility and wondered if anyone at 1Password had heard of it

    https://github.com/kspearrin/ff-password-exporter

    Found from here:
    https://support.mozilla.org/en-US/questions/1202029

  • MrC
    MrC
    Volunteer Moderator

    @PasswordPhil ,

    I looked at the script briefly and didn't see any issues.

    I'll look at the code more carefully and use the algorithm if possible to create a firefox converter for the converter suite, but I won't get to it for a few days.

  • PasswordPhil
    PasswordPhil
    Community Member

    Thanks! That would be great!
    :)

  • Lars
    Lars
    1Password Alumni

    :) :+1:

  • WalkingEvilDead
    WalkingEvilDead
    Community Member

    I have a cvs file from firefox but can't figure how to import them.

  • MrC
    MrC
    Volunteer Moderator
    edited December 2018

    @WalkingEvilDead ,

    Which platform are you on?

    Have a look at the CSV import requirements to use the native 1Password CSV importer.

    How to create a 1Password compatible CSV file

    If that doesn't meet your needs, the converter suite has a csv converter that supports more customization. Ask if you need more help.

    Oof, I see I've been really late in following through on my Oct 31 post above!

  • MrC
    MrC
    Volunteer Moderator
    edited January 2019

    Well, it has been a long time since I said I would not get to this for "a few days". And this converter was a long slog, but so far, so good....

    $ /usr/bin/perl convert_to_1p4.pl firefox -v -d
    main                : Runninng script from '/Users/MrC/Documents/Coding/1P4_converters/convert_to_1p4'
    main                : Command Line: firefox -v -d
    main                : Output file: /Users/MrC/Desktop/1P_import.1pif
    print_fileinfo      : Export file info: "/Users/MrC/Library/Application Support/Firefox/Profiles/xxxx.default/key4.db"
    print_fileinfo      :   size: 294912
    print_fileinfo      :   kind: SQLite 3.x database, last written using SQLite version 3025001
    print_fileinfo      :   mime: application/x-sqlite3; charset=binary
    print_fileinfo      : Export file info: "/Users/MrC/Library/Application Support/Firefox/Profiles/xxxx.default/logins.json"
    print_fileinfo      :   size: 586
    print_fileinfo      :   kind: ASCII text, with very long lines, with no line terminators
    print_fileinfo      :   mime: text/plain; charset=us-ascii
    Enter your Firefox master password:
    getKey              : *** Connecting to Firefox key4.db key database
    getKey              : Master password looks good
    getKey              : --- Done decoding key4.db
    getKey              : *** Disconnecting from database
    do_import           :   username: joe@example.com
    do_import           :   password: supersecret
    do_import           :   url: https://adblockplus.org
    normalize_card_data : field: username
    normalize_card_data : field: password
    normalize_card_data : field: url
    print_record        : title: adblockplus.org
                          tags:
                          key(url): url = https://adblockplus.org
                          key(password): password = supersecret
                          key(username): username = joe@example.com
                          notes:
    Imported 1 item
    create_pif_record   : Title: adblockplus.org
    create_pif_record   :   key test(username): joe@example.com
    create_pif_record   :   key test(password): supersecret
    create_pif_record   :   key test(url): https://adblockplus.org
    Exported 1 login item
    Exported 1 total item
    You may now import the file /Users/MrC/Desktop/1P_import.1pif into 1Password
    

    Now for some testing on Windows...

  • MrC
    MrC
    Volunteer Moderator

    The 1.11 version of the converter suite now contains the Firefox converter.

This discussion has been closed.