/Passwords2Bitwarden

Vault converter from Nextcloud Passwords to Bitwarden/Vaultwarden

Primary LanguagePython

Passwords2Bitwarden

Vault converter from Nextcloud Passwords to Bitwarden or Vaultwarden.

How to...

Clone the repo locally:

git clone https://github.com/facorazza/Passwords2Bitwarden.git
cd Passwords2Bitwarden

Requirements

Install Python requirements:

python -m pip install -r requirements.txt

Nextcloud Passwords

⚠️ Before exporting your passwords, you must change your Nextcloud language to English. Got to Settings > Personal info > Language. You can revert the change once downloaded the archive.

Enter your Nextcloud instance go to Passwords > More > Backup & Restore. Select Backup or export and then fill the following fields:

  1. Choose Format: Predefined CSV
  2. Select Options: Select at least Passwords and Folders
  3. Run Export
  4. Download CSV

Conversion

To convert the zip archive call the script like so:

python main.py ~/Downloads/.../path/to/zip/archive.zip

The converted file will be stored inside the folder repo under the name dump.json.

Bitwarden (Vaultwarden) Import

Go to your Bitwarden or Vaultwarden instance Tools > Import Data. Select Bitwarden (json). Upload the dump.json file and click on Import Data.