Password ManagerImport & Export

Encrypted Exports

Vault data can be exported in an encrypted .json file. Encrypted export files will contain vault items from your organization or individual vault, and will not include Sends, trash, or item attachments. Password protected exports can be creating using the web vault or CLI. Bitwarden provides two encrypted export types:

  • Account restricted: Export an encrypted file that can only be re-imported to the Bitwarden account or organization that generated the encrypted export file. This process utilizes the relative account or organization encryption key specific to the restricted export.

  • Password protected: Export an encrypted file protected with a password of your choosing. This file can be decrypted with the password and can be imported to any Bitwarden account.
    The specified password is salted, used to derive an encryption key using PBKDF2 with 100,000 iterations, and finally stretched with HDKF into a new encryption key, which encrypts your data, and message authentication code (MAC).

warning

Account restricted exports can not be imported to a different account. Additionally, rotating your account's encryption key will render an account restricted export impossible to decrypt. If you rotate your account encryption key, replace any old files with new ones that use the new encryption key.

If you wish to import an encrypted .json file onto a different Bitwarden account, select the Password protected export type when creating an export.

Encrypted exports will include vault items such as logins, cards, secure notes, and identities. An encrypted export of the following plaintext login item:

Bash
{ ... "login": { "username": "mylogin", "password": "mypassword", "totp": "otpauth://totp/my-secret-key" }, ...

Will look something like:

Bash
{ ... "login": { "username": "9.dZwQ+b9Zasp98dnfp[g|dHZZ1p19783bn1KzkEsA=l52bcWB/w9unvCt2zE/kCwdpiubAOf104os}", "password": "1o8y3oqsp8n8986HmW7qA=oiCZo872b3dbp0nzT/Pw=|A2lgso87bfDBCys049ano278ebdmTe4:", "totp": "2CIUxtpo870B)*^GW2ta/xb0IYyepO(*&G(&BB84LZ5ByZxu0E9hTTs6PHg0=8q5DHEPU&bp9&*bns3EYgETXpiu9898sxO78l" }, ...

Create an encrypted export

Creating an encrypted export follows the normal export procedure. When prompted for File Format, select .json (Encrypted):

To export your individual vault data from the web app:

  1. In the Bitwarden web app, select ToolsExport vault from the navigation:

    Export individual vault
    Export individual vault

  2. Choose a location to Export from and a File Format (.json, .csv, or .json (Encrypted)). Only collections for which you have Can manage permission will be exported if you select an organization from the Export from dropdown.

  3. If you selected .json (Encrypted), choose the Export type that you would like for the encrypted export:

    • Account restricted: This file can only be imported to the current Bitwarden account that generated the encrypted export file.

    • Password protected: This file can be imported to any Bitwarden account by utilizing the password set during the encrypted export process.

  4. Select Confirm format, enter your master password, and select the Export vault button to finish.

To export your individual vault data from a browser extension:

  1. Open the Settings tab.

  2. Scroll down to the Tools section and select the Export vault option.

  3. On the export vault view, choose a File Format (.json, .csv, or .json (Encrypted)).

    tip

    If you need to import this data into a new Bitwarden account, we recommend using the web vault to create a Password protected export.

  4. Enter your master password and select Submit.

note

If you are exporting from Vivaldi, you may need to pop-out the browser extension for export to work properly:

Popout a Browser Extension
Popout a Browser Extension

To export your individual vault data from a desktop app:

  1. From the menu bar, navigate to FileExport vault.

  2. In the export vault window, choose a File Format (.json, .csv, or .json (Encryped)).

    tip

    If you need to import this data into a new Bitwarden account, we recommend using the web vault to create a Password protected export.

  3. Enter your master password and select the Download button.

To export your individual vault data from a mobile app:

  1. Tap the Settings tab.

  2. Tap Vault and tap the Export Vault option.

  3. On the export vault view, choose a File format (.json, .csv, or .json (Encrypted)).

    tip

    If you need to import this data into a new Bitwarden account, we recommend using the web vault to create a Password protected export.

  4. Enter your master password and select the Export vault button.

To export your individual vault data from the CLI, use the export command. By default, export will export your vault as a .csv and save the file to the working directory, however this behavior can be altered using options:

Bash
bw export --output /users/me/documents/ --format json --password mYP@ssw0rd

The --password option can be used to specify a password to use to encrypt encrypted_json exports instead of your account encryption key.

For more detail, please see review the Bitwarden CLI documentation.

Import an encrypted export

Importing an encrypted export follows the normal import procedure. When prompted for File format, select .json:

tip

There is no import option specifically for encrypted exports. A handler will determine that the .json file is encrypted and attempt to decrypt the file using either your account's encryption key or encrypted export password.

To import data to your vault:

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

  2. Select ToolsImport data from the navigation:

    Import data
    Import data

  3. Complete the following fields from the drop down menus:

    • Import destination: Select the import destination such as your individual vault or an organizational vault that you have access to.

    • Folder or Collection: Select if you would like the imported content moved to a specific folder or organization collection that you have access to.

    • File format: Select the import file format.

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

    warning

    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.

  5. 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.

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

Additional items such as file attachments, Sends, and trash will need to be manually uploaded to your vault.

To import data to your vault:

  1. Select the Settings tab and choose the Import items option.

  2. Complete the following fields from the drop down menus:

    1. Import destination: Select the import destination such as your individual vault or an organizational vault that you have access to.

    2. Folder or Collection: Select if you would like the imported content moved to a specific folder or organization collection that you have access to.

    3. File format: Select the import file format.

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

    warning

    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.

  4. 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.

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

To import data to your vault:

  1. Select File Import data.

  2. Complete the following fields from the drop down menus:

    1. Import destination: Select the import destination such as your individual vault or an organizational vault that you have access to.

    2. Folder or Collection: Select if you would like the imported content moved to a specific folder or organization collection that you have access to.

    3. File format: Select the import file format.

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

    warning

    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.

  4. 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.

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

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

Bash
bw import <format> <path>

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

Bash
bw import <format> /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.

Make a suggestion to this page

Contact Our Support Team

For technical, billing, and product questions.

Name*
Bitwarden account email*
Verify account email*
Product*
Are you self-hosting?*
Subject*
Message...*

Cloud Status

Check status

© 2024 Bitwarden, Inc. Terms Privacy Cookie Settings Sitemap

This site is available in English.
Go to EnglishStay Here