Help Center
Import Data from macOS & Safari
Import Data from macOS & Safari
Use this article for help exporting data from Safari or macOS and importing into Bitwarden.
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 or from macOS System Preferences:
Safari
To export your data from Safari:
Select File → Export → Passwords... from the macOS menu bar:
Export from Safari You will be prompted with a dialog confirming that you want to export saved passwords. Select Export Passwords... to continue.
Save your export to any location and use Touch ID or your macOS password to complete the export.
macOS System Preferences
To export your data from macOS:
Open the macOS System Preferences app.
In System Preferences, select Passwords. You'll be prompted to use Touch ID or your password to continue.
On the Passwords dialog, select the menu icon ( ) and select Export Passwords...:
Export from macOS You will be prompted with a dialog confirming that you want to export saved passwords. Select Export Passwords... to continue.
Save your export to any location and use Touch ID or your password to complete the export.
Import to Bitwarden
Data must be imported to Bitwarden from the web vault or CLI. Data is encrypted locally before being sent to the server for storage.
Web Vault
To import data to your vault:
Log in to the web vault at https://vault.bitwarden.com, or
https://your.bitwarden.domain.com
if self-hosting.Select Tools from the top navigation bar.
Select Import Data from the Tools menu.
From the format dropdown, choose a file format.
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, so importing multiple files or files with items already in your vault will create duplicates.
Select Import Data to trigger the import.
After successful import, delete the import source file from your computer. This will protect you in the event your computer is compromised.
File attachments will need to be manually uploaded to your vault.
CLI
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.