Import Data from LastPass

Category: Import & Export
On this page:

    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:

    1. Select the Advanced Options option on the left sidebar:

      Export from Web Vault
      Export from Web Vault
    2. From the Manage Your Vault section, select the Export option.
    3. Enter your Master Password to validate the export attempt.

      Depending on your browser, your Vault data will either be automatically saved as a .csv or printed to the screen in a .csv format:

      LastPass Export
      LastPass Export
    4. If your Vault data was printed to the screen, highlight the text and copy and paste it into a new export.csv file.
    Warning

    Some users have reported a bug which changes special characters in your passwords (&, <, >, etc.) to their HTML-encoded values (for example, &amp;) 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.

    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:

    1. In the Browser Extension, navigate to Account OptionsAdvancedExportForm Fills:

      Export from Browser Extension
      Export from Browser Extension
    2. Enter your Master Password to validate the export attempt.

      Depending on your browser, your Vault data will either be automatically saved as a .csv or printed to the screen in a .csv format:

      LastPass Export
      LastPass Export
    3. If your Vault data was printed to the screen, highlight the text and copy and paste it into a new export.csv file.

    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.

    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.

    1. Log in to the Web Vault.
    2. Select Tools from the top navigation bar.
    3. Select Import Data from the left Tools menu.
    4. Select LastPass (csv) from the format dropdown.
    5. Select the Browse… button and add the file exported from LastPass.
    6. Select the Import Data button to complete your import.
    Warning

    Importing data multiple times will create duplicates.

    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:

    Cipher errors in the Web Vault
    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> characters indicates the character limit allowed for that field.

      Note

      On import to Bitwarden, the character count of any given field is increased due to encryption, meaning that an 8000-character note field in your .csv will 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.

    To solve this issue:

    1. Open the .csv file you’re attempting to import in a text editor or spreadsheet program.
    2. Locate the offending item at index[X]. The value of X references a .csv index 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 .csv header 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.

      Tip

      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.

    3. 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, you may observe the following error:

    Free Organization Max Collections Error
    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, however Free Organizations 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`
    

    Was this helpful?

    Rate this article: