↓ Skip to main content
  1. Posts/

Export Bitwarden vault to KeePass with attachments

·
Table of Contents

Export (most of) your Bitwarden items into KeePass (kdbx) database. That includes logins - with TOTP seeds, URIs, custom fields, attachments and secure notes. This runs natively from Windows, it does not require Linux or Docker.

How it works?
#

It uses official bitwarden-cli client to export your items from Bitwarden vault and move them into your KeePass database - that includes logins (with TOTP seeds, URIs, custom fields, attachments, notes) and secure notes.

This code was derived from bitwarden-to-keepass. The original tool was intended to run as a Docker container or from Linux taking several GB from your Windows partition just for the runtime payload. This approach, using a PowerShell script, is much simpler and light.

Requirements
#

Instructions
#

  • Clone this repository (or download all files)
  • Make sure you have Python 3 installed
  • Download bitwarden-cli and extract to the sub-folder bitwardencli/bw.exe (we could download automatically but it is not safe)
  • Optional: Edit bitwarden-to-keepass.ps1 and configure paths, passwords and key-files
  • Run bitwarden-to-keepass.ps1 and follow the instructions

Support
#

This tool uses the Python scripts from bitwarden-to-keepass without any modifications. If you have any problems with recent versions of Bitwarden, try grabing the latest versions of the py files from that repository.

Downloads
#

  • Version: 1.2
  • Platforms: Windows
  • Size: 20 KB
  • Download links:
  • Checksum:
    • SHA 256: f421e92cef2b5212f2ac3b728eef66bcbbab0cca70fc7f21939e4e0260211970