Skip to content
Cristhian Melo edited this page Jul 20, 2026 · 1 revision

Import

Migrate your existing passwords into rpass from other password managers.

rpass import --bitwarden ~/export.json
Flag Description
--force Overwrite entries that already exist
--json JSON output

Bitwarden

  1. In Bitwarden, go to Tools → Export vault.
  2. Choose File format: JSON (unencrypted — not the encrypted JSON).
  3. Save the file, then run:
rpass import --bitwarden ~/bitwarden_export.json

Folders and collections become path prefixes. All item types are imported:

Bitwarden type rpass path
Login folder/item-name
Secure note folder/item-name
Card folder/item-name
Identity folder/item-name

Fields like username, url, notes, and TOTP secrets are preserved as metadata lines inside each entry.

Dry run (list what would be imported without writing):

rpass import --bitwarden ~/bitwarden_export.json --json | jq '.entries[].entry'

Other password managers

Support for additional formats is planned. In the meantime, you can import from any manager by writing entries manually:

rpass insert social/twitter
# enter your password at the prompt

# Or pipe it:
echo "my-password" | rpass insert social/twitter

For bulk imports from CSV exports, a small script works well:

while IFS=, read -r name password username url; do
  printf '%s\nusername: %s\nurl: %s\n' "$password" "$username" "$url" \
    | rpass insert "$name"
done < export.csv

Clone this wiki locally