Convert bitwarden json export to a csv that can be imported into KeepassXC
Go to file
Siddhartha Golu 9de118126d
Merge pull request #5 from FreeMinded/main
Update readme to reflect KeePassXC import current status
2024-04-19 16:12:25 +05:30
go.mod Set proper module name 2024-01-31 00:23:03 +02:00
json2csv.go fix Usage hint 2023-09-19 20:31:16 +02:00
LICENSE add converter script 2023-07-24 23:00:33 +05:30 update readme to reflect KeePassXC import current status 2024-04-19 09:08:45 +02:00

Bitwarden to KeepassXC Converter

KeepassXC does have a native import feature from Bitwarden starting with version 2.7.7 but it does not (yet support organization exports) correctly. This is a simple script which converts a bitwarden export to a csv format which can be imported in KeepassXC.

It supports exporting your normal website logins including TOTP, secure notes and credit/debit cards. Since there are no username/password fields for credit/debit card type, the script adds a new group called "Cards" and imports all the card details in "notes" field.


You need to have golang installed.


  • Create an export from bitwarden: Tools -> Export vault -> .json format
  • Run the script from the main folder: go run json2csv.go <exported_file.json>
  • Import the generated file into KeepassXC, check "First line has field names", match appropriate columns and proceed.