Bitwarden import
- Docs: Folders
- Importing passwords from other password managers
- Important: Import is not idempotant, meaning
importing twice results in duplicated items and collections
- Prevent this with purging before importing "Individual vaults can be purged from the Settings → My account page. Organization vaults can be purged from the Organization Settings → Organization info page."
- FR: Duplicate removal tool/report (including merge)
Import to an organization
Using the admin UI: Import to an Organization
Admin Console
→Settings
→Import data
Using the cli (there is not option to import all data into one collection, as you can choose in the UI):
bw import --formats
bw import --organizationid $BW_ORG bitwardencsv file.csv
From gopass
pass2bitwarden
- GitHub
- Golang, last commit 2019
git clone https://github.com/mtrovo/pass2bitwarden ~/projects/security/passwords/bitwarden/pass2bitwarden
cd ~/projects/security/passwords/bitwarden/pass2bitwarden
Install deps, then:
go run ./main.go > ~/bitwarden-migration/gopass.csv
cd ~/bitwarden-migration
Convert from folders to collections to import:
csvcut -C favorite,notes gopass.csv | sed '1 s|^folder,|collections,|; 1 s|fields|notes|' > gopass-collections.csv
Create a dedicated collection to import the items into (i.e. varac
) Then
import using the Import data
tool:
- Vault: Organization vault
- Collection:
varac
- File format:
Bitwarden (CSV)
pass2bw
- GitHub
- Shell
- Last commit 2023