How to ditch a cloud password manager and keep the sync

Bitwarden is a great service, but if you want maximum security for your passwords, this tutorial is exactly what you've been looking for.

The first thing we will need to do is...

Convert a Bitwarden database into a keepass one

  1. Download KeepassXC onto your computer, and KeepassDX on your phone.
  2. Go to Bitwarden's website, and log into your account.
  3. Go to Tools > export to csv
  4. Open KeepassXC on your PC, and load the .csv file
  5. Rearange the collums so they correspond to the actual data, as shown in the image.
  6. Click next, and save the database.

If you have never used any password manager before, all you have to do is create a new database. No conversion needed, obviously.

Sync it with all of your devices

Congratulations, your password database is now stored locally. But as I've promised, we are going to sync it.

  1. Download Syncthing, a peer to peer syncing tool. (This means that no data ever leaves your devices. They only share data between each other.)
  2. Launch it and connect your devices. This is a really simple thing to do, as it just involves scanning QR codes.
  3. On a phone:

    On PC:
  4. Select which folders to sync, and which devices you want to sync it with. Afterwards a notification will popup on your phone, saying "Device X wants to share folder Y".


  5. As you can see, the same file is synced between my phone and a PC. The name of the directory is different, but it still syncs the same files (Syncthing will ask you where do you want to keep the folder, and you can give it any name). Any change made to the directory on one device will be translated to all of them.

  6. Open keepass on your other devices, and open an existing database contained in the synced directory.

Done. Now each time syncthing is active, your password database will be synced with all of your devices you've added into syncthing.

Summary

You save a new password on your phone. KeepassDX saves it to the database contained in a specified folder.

Syncthing notices it, and sends the changed file to all of your devices.

Keepass on those devices will read the updated database, containing the new password.

Yes. It's that simple.