

If the import isn't working at all, follow these troubleshooting steps: This makes it quite easy to pick through old accounts on an as-needed basisĪnd move them to a current folder hierarchy.Ĭontents © 2019 Kenneth H.If your import takes too long, split the data into multiple CSVs and import it in smaller batches. Once the import completes, the LastPass account data is in a folder hierarchy inīitwarden. In Bitwarden, import the file created in step 1. * Use the Bitwarden cli to create the old folder:īw get template folder | jq ".name = \"old\"" | bw encode | bw create folder.

* Use the web interface to manually create the old folder. Create a top-level folder in Bitwarden named old. Prepend old/ to all LastPass items: python lpgrp.py > bw-import.csv. Csv - BitWarden export Csv - Firefox platforms export (Mozilla Firefox, Waterfox. writeheader () if row = '' : row = 'old/none' else : row = 'old/' + row row = row. Csv - Lastpass export Csv - 1password export Csv - Keepass export.

DictReader ( csvin ) for row in reader : if writer = None : writer = csv. stdout writer = None with open ( csv_in, 'r', newline = '' ) as csvin : with open ( csv_out, 'w', newline = '' ) as csvout : reader = csv. expanduser ( '~/Documents/secrets/lastpass/-export.txt' ) csv_out = sys. # file: lpgrp.py import csv import os import sys csv_in = os. Grouping, and printed the results to stdout. Python script that read the exported LastPass csv, prepended the string old/ to the Grouping, which contains the group which contains the entry, if any. When your LastPass data is exported as a csv file, it contains a column named In a group, I wanted that data to appear in Bitwarden under old/ groupname. Import all LastPass data into a Bitwarden folder named old. The "clean slate" I wanted to start with. Wanted to bring these in to Bitwarden, but sequester them so that they did not pollute This also means that the other half were not in any group.

Which were crufty, I wanted to declare "account/password" amnesty while still keepingĪll the old account information "just in case." Here is how I migrated my LastPassĪbout half of my accounts in LastPass were assigned to a "group", which somewhat helpedĬontain account sprawl. Because I had over 1,000 accounts in LastPass, many of
#EXPORT LASTPASS TO BITWARDEN PASSWORD#
After seeing lots of positive feedback on HN about the Bitwarden password manager, Iįinally decided to try it out.
