6.5 KiB
layout, title, categories, featured, popular, tags, order
| layout | title | categories | featured | popular | tags | order | |||
|---|---|---|---|---|---|---|---|---|---|
| article | Import Data from LastPass |
|
true | true |
|
02 |
Use this article for help exporting data from LastPass and importing into Bitwarden.
Export from LastPass
Complete the following steps to export data from the LastPass Web Vault{:target="_blank"}:
-
Select the {% icon fa-rocket %} Advanced Options option on the left sidebar:
{% image /importing/lastpassadvancedoptions.png Export from Web Vault %}
-
From the Manage Your Vault section, select the Export option.
-
Enter your Master Password to validate the export attempt.
Depending on your browser, your Vault data will either be automatically saved as a
.csvor printed to the screen in a.csvformat:{% image lastpass-copy.png LastPass Export %}
-
If your Vault data was printed to the screen, highlight the text and copy and paste it into a new
export.csvfile.
{% callout warning %}
Some users have reported a bug which changes special characters in your passwords (&, <, >, etc.) to their HTML-encoded values (for example, &) in the printed export.
If you observe this bug in your exported data, use a text editor to find and replace all altered values before importing into Bitwarden. {% endcallout %}
Export with Form Fills
Exports from the Web Vault will not include form fills. To export form fill data from LastPass, you must do so from the Browser Extension:
-
In the Browser Extension, navigate to Account Options → Advanced → Export → Form Fills:
{% image /importing/lp-be.png Export from Browser Extension %}
-
Enter your Master Password to validate the export attempt.
Depending on your browser, your Vault data will either be automatically saved as a
.csvor printed to the screen in a.csvformat: {% image lastpass-copy.png LastPass Export %} -
If your Vault data was printed to the screen, highlight the text and copy and paste it into a new
export.csvfile.
Import to Bitwarden
Complete the following steps to import data to your Bitwarden personal Vault. For help importing to an Organization Vault, see [Import Items to an Organization]({% link _articles/organizations/import-to-org.md %}).
If you want to store File Attachments in your Bitwarden Vault, please be aware that these are currently not included in Bitwarden import operations and will need to be uploaded to your Vault manually. For more information, see [File Attachments]({% link _articles/features/attachments.md %}).
- Log in to the Web Vault{:target="_blank"}.
- Select Tools from the top navigation bar.
- Select Import Data from the left Tools menu.
- Select LastPass (csv) from the format dropdown.
- Select the Browse... button and add the file exported from LastPass.
- Select the Import Data button to complete your import.
{% callout warning %} Importing data multiple times will create duplicates. {% endcallout %}
Congratulations! You have just transferred your data from LastPass into Bitwarden.
Import Troubleshooting
Character Limit Error
The following error messages, typically received when attempting to import a .csv, indicate that a field in your import file exceeds the allowed encrypted character limit for that field type:
{% image /importing/ciphererrors.png Cipher errors in the Web Vault%}
These error messages contain 3 pieces of pertinent data:
-
Ciphers[X]indicates the index number where the offending item is located. -
The field <field>indicates the field name which is causing the offense. -
length of <limit> charactersindicates the character limit allowed for that field.{% callout note %}On import to Bitwarden, the character count of any given field is increased due to encryption, meaning that an 8000-character
notefield in your.csvwill scale to 10,000+ characters when it comes into contact with Bitwarden, triggering this error. As a rule of thumb, character counts will grow between 30-50% when encrypted.{% endcallout %}
To solve this issue:
-
Open the
.csvfile you're attempting to import in a text editor or spreadsheet program. -
Locate the offending item at
index[X]. The value ofXreferences a.csvindex number, so depending on the program you use to edit your file it may not map perfectly to a spreadsheet Row or Line number.In many cases, you'll need to adjust for
.csvheader rows, which are not counted in many spreadsheet programs. It can also help to use field name (yyyy) and perceived character length as context clues.{% callout success %}If you've having trouble locating the offending item using the data provided in the error, it may help to focus first on notes as these are frequently the cause of this error.{% endcallout %}
-
Remove the offending item from your import file, or reduce the character count. When reducing the character count, remember that limits are placed on encrypted counts, not pre-encryption counts. As a rule of thumb, character counts will grow between 30-50% when Bitwarden attempts to encrypt a field on import.
Maximum Collections Error
When importing Lastpass .csv exports to a [Free Organization]({% link _articles/plans-and-pricing/about-bitwarden-plans.md %}), you may observe the following error:
{% image /importing/lpcollectionserror.png Free Organization Max Collections Error%}
This error occurs when the Lastpass export contains 3 or more grouping values. The values in the grouping field are interpreted by Bitwarden as [Collections]({% link _articles/organizations/about-collections.md %}), however [Free Organizations]({% link _articles/plans-and-pricing/about-bitwarden-plans.md %}) are limited to only two Collections. The following .csv, for example, would cause this error:
url,username,password,totp,extra,name,grouping,fav
https://www.facebook.com/login.php,login,password,,,Facebook,Social,0
https://twitter.com/login,login,password,,,Twitter,Social,0
https://asana.com/,login,password,,,Asana,Productivity Tools,0
https://github.com/login,login,password,,,Github,Productivity Tools,0
https://www.paypal.com/login,login,password,,,Paypal,Finance,0
https://www.bankofamerica.com/,login,password,,,Bankofamerica,Finance,0
To solve this issue, delete the grouping column and the grouping datum for each item, including the trailing comma, for example edit:
https://github.com/login,login,password,,,Github,Productivity Tools,0
down to:
https://github.com/login,test,test,,,Github,0`