Password ManagerImport & Export

Import Data from macOS & Safari

Use this article for help exporting data from the following platforms, and importing into Bitwarden.

  • Safari

  • macOS

  • iCloud

  • Mac Keychain

tip

Exporting passwords requires Safari 15.0+ or macOS Monterey (12.0)+.

Export from Safari or macOS

You can export your passwords directly from Safari on your mac computer or from macOS System Preferences:

To export your data from Safari:

  1. Select FileExportPasswords... from the macOS menu bar:

    Export from Safari
    Export from Safari

  2. You will be prompted with a dialog confirming that you want to export saved passwords. Select Export Passwords... to continue.

  3. Save your export to any location and use Touch ID or your macOS password to complete the export.

To export your data from macOS:

  1. Open the macOS System Preferences app.

  2. In System Preferences, select Passwords. You'll be prompted to use Touch ID or your password to continue.

  3. On the Passwords dialog, select the menu icon ( ) and select Export Passwords...:

    Export from macOS
    Export from macOS

  4. You will be prompted with a dialog confirming that you want to export saved passwords. Select Export Passwords... to continue.

  5. Save your export to any location and use Touch ID or your password to complete the export.

Import to Bitwarden

Data can be imported to Bitwarden from the web vault, CLI, desktop app, or browser extension. Data is encrypted locally before being sent to the server for storage.

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. In the Settings tab, select Vault and choose the Import items option.

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

    1. Vault: 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.

Import troubleshooting

iCloud/Mac Keychain/Safari import issues

  • As of Safari 15.0, you can export passwords from Safari in a .csv file. Once you do, condition your .csv to meet Bitwarden's format and import your data.

File size import limitations

Imports may be rejected for exceeding any of the following data limitations:

  • If your import has more than 7,000 items.

  • If your import has more than 2,000 folders.

  • If your import has more than 2,000 collections.

  • If your import has more than 7,000 item-folder relationships (e.g. a single item in 3 folders can be said to have 3 item-folder relationships).

  • If your import has more than 14,000 item-collection relationships (e.g. a single item in 3 collections can be said to have 3 item-collection relationships).

Suggest changes to this page

How can we improve this page for you?
For technical, billing, and product questions, please contact support

Cloud Status

Check status

Level up your cybersecurity knowledge.

Subscribe to the newsletter.


© 2024 Bitwarden, Inc. Terms Privacy Cookie Settings Sitemap

This site is available in English.
Go to EnglishStay Here