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.