Import Data to your Vault

Import data to your individual Bitwarden vault for easy migration from any password management solution. You can also import from one Bitwarden vault to another or import an encrypted export.

For a full list of supported import formats, refer to this FAQ item, or use one of these articles for importing from the most popular solutions:

Import to your individual vault

Data can be imported to Bitwarden from the web vault or CLI. Data is encrypted locally before being sent to the server for storage. To import your data:

To import data to your vault:

  1. Log in to the web vault at https://vault.bitwarden.com, or https://your.bitwarden.domain.com if self-hosting.

  2. Select Tools from the top navigation bar.

  3. Select Import Data from the tools menu.

  4. From the format dropdown, choose a file format.

  5. Select Choose File and add the file to import or copy/paste the contents of your file into the input box.

    注意

    Importing does not check whether items in the file to import already exist in your vault. If you import multiple files or import files with items already in your vault, this will create duplicates.

  6. Select Import Data to trigger the import. If you are importing a password protected .json file, enter the password into the Confirm Vault Import window that will appear.

  7. After successful import, delete the import source file from your computer. This will protect you in the event your computer is compromised.

File attachments, Sends, trash, and password history are not included in an import file. Additional items will need to be manually uploaded to your vault.

To import data to your vault from the CLI, use the following command:

bw import <format> <path>

bw import requires a format (use bw import --formats to retrieve a list of formats) and a path, for example:

bw import lastpasscsv /Users/myaccount/Documents/mydata.csv

After successful import, delete the import source file from your computer. This will protect you in the event your computer is compromised.

Troubleshooting

The following error messages, typically received when attempting to import a .csv, indicate that an item in your import file has a specified value that exceeds the allowed encrypted character limit for its field type:

Cipher errors in the web vault
Cipher errors in the web vault

To solve this issue, open the .csv file in a text editor or spreadsheet program and remove or reduce the character count of the offending item. Bitwarden won't import your .csv file until it is free of offenses. The contents of the error messages contain several pieces of pertinent data to help you identify the offending item. For example, in the above example:

  • [1] identifies the index number where the offending item is located, adjusted to match row numbering in most spreadsheet programs.

  • [Login] identifies the vault item type of the offending item.

  • "Facebook" identifies the name of the offending item.

  • Notes indicates the field (column) where the character limit is exceeded.

  • 10000 indicates the character limit allowed for that field (column).

    tip

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

If you continue to have 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.


言語
© 2022 Bitwarden, Inc.
利用規約プライバシーポリシーサイトマップ