Vault converter from Nextcloud Passwords to Bitwarden or Vaultwarden.
Clone the repo locally:
git clone https://github.com/facorazza/Passwords2Bitwarden.git
cd Passwords2Bitwarden
Install Python requirements:
python -m pip install -r requirements.txt
⚠️ Before exporting your passwords, you must change your Nextcloud language to English. Got toSettings > 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:
- Choose Format:
Predefined CSV
- Select Options: Select at least
Passwords
andFolders
- Run Export
- Download CSV
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
.
Go to your Bitwarden or Vaultwarden instance Tools > Import Data
. Select Bitwarden (json)
. Upload the dump.json
file and click on Import Data
.