HELP FILE

How do I import stored data into LastPass using a generic CSV file?

    If LastPass does not support importing from your current password manager via the on-screen instructions, you may be able to import using a generic CSV file. Before proceeding, please check that your current password manager has an option to export to a CSV file.

    Generic CSV file overview

    If you use your own spreadsheet instead, it is important that the title of the columns match the format used in the examples within this template. Fill the columns with the values you’d like for each entry (leave blank if the value is not relevant).

    Note: On Mac computers, please be sure you edit your content in your Mac's native TextEditor app or another text editor app, as reformatting issues can occur if you use Microsoft Excel.
    Your CSV import file for a combination of sites and secure notes should include the following columns:
    • url – typically the login URL, but you can use http://sn to create a Secure Note
    • username – the username used for the site entry
    • password – the password used for the site entry
    • extra – can be either the "notes" section of a site entry or the body of a secure note
    • name – the name to identify the site entry or secure note in your vault
    • grouping – the folder where you would like the item to be stored in your vault
    • fav – enter a 1, if the entry should be added as a Favorite but by default the value will be 0 (indicating that it should not be added as a Favorite)
    • totp – enter the TOTP code generated for your site entry (learn more about this feature)

    About importing only sites

    To import only site data, you must define at least the following values:
    • url
    • username
    • password
    • extra
    • name
    • grouping
    • fav = 1 or 0
    • totp

    To ensure accuracy of your columns, please see our generic CSV sample import format in our template.

    About importing only secure notes

    Note: Secure note imports are limited to 45,000 characters.
    To import only secure note data, enter the values as follows:
    • url = http://sn
    • username = leave blank
    • password = leave blank
    • extra
    • name
    • grouping
    • fav = 1 or 0

    It is important to leave the "username" and "password" columns blank. Please refer to the secure note sample import formats in our template.

    Import using the LastPass browser extension or from within the LastPass vault

    1. Log in to LastPass and access the Import page by doing either of the following:
      Login method Instructions
      LastPass web browser extension
      1. Select inactive LastPass icon in your web browser toolbar, then enter your email address and master password and click Log In.
      2. Select active LastPass icon then go to Account Options > Advanced > Import.
      LastPass website
      1. Go to https://lastpass.com/?ac=1 and enter your email address and master password, then click Log In.
      2. Select Advanced Options > Import in the left navigation.

      The Import page opens.

      Import page

    2. Use the drop-down menu to select Generic CSV file.
    3. Select Choose file, then select your desired CSV file and click Open.
    4. When prompted with the warning about items being imported directly into a shared folder as unsupported, click OK.
    5. Click Upload.

      The items found in the CSV file are displayed.

    6. Choose from one of the following options:
      • Select the data you want to import, then click Import Selected.
      • Click Import All to import everything in your CSV file.

      Note: If you want to exclude items with the same username, password, and URL that already exist in your vault, enable Remove duplicate items.
      Note: Incomplete items (entries that are missing a username, password, and/or URL) will be omitted from the import (this is indicated by a note in the Notes column).
      Items to be imported

    Your data has now been imported into your LastPass vault.

    Import using the LastPass browser extension or from within the LastPass vault – new experience

    1. Log in to LastPass and access the Import page by doing either of the following:
      Login method Instructions
      LastPass web browser extension
      1. Select inactive LastPass icon in your web browser toolbar, then enter your email address and master password and click Log In.
      2. Select active LastPass icon then go to Account Options > Advanced > Import.
      LastPass website
      1. Go to https://lastpass.com/?ac=1 and enter your email address and master password, then click Log In.
      2. Select Advanced Options > Import in the left navigation.

      Your vault displays the Step 1/3. Where are your passwords now? page.

      Note: If you see a different page, follow instructions in Import using the LastPass browser extension or from within the LastPass vault.
      Import page

    2. Select Other.

      Your vault displays the Step 2/3. Export & upload page.

    3. Under Upload the exported file to LastPass, choose from the following:
      • Drag and drop the CSV file containing the passwords exported from your current password manager.
      • Select browse your computer. Browse for the CSV file on your computer, select it, and click Open.

      Your vault displays the items found in the CSV file.

      Troubleshooting: If incomplete items are detected (entries are missing a username, password, and/or URL), select next to the affected item (under the Data Status column), then enter the missing information and select Save.

    4. By default, all items are selected for import. If desired, make the following changes:
      • De-select items you don't want to import.
      • If you want to create duplicate items (by importing items with the same username, password, and URL that already exist in your vault), enable the Select all duplicates setting at the bottom of the list.
    5. Select Import All.

      Items to be imported

    Your data has now been imported into your LastPass vault.

    Autofilling after import

    Once imported, you might notice that some websites do not autofill right away. This is because LastPass needs to “see” the website in order to capture the exact username and password fields, as they differ from website to website. When you visit the website for the first time after importing, use the in-field icon to force fill the credentials and log in. It will autofill every time after that.