Move from KeePass to Bitwarden

Bitwarden has an importer made just for KeePass's export.

Carries over 4
Logins and passwords
One-time codes
Custom fields
Folders and groups
Lost 5
App settings
Attachments and files
Tags
Password history
Created and updated dates

How to move from KeePass to Bitwarden

Export from KeePass

Export as KeePass XML
How
File
  1. With the database open, select File, thenExport..., then pick KeePass XML (2.x) under Format.
  2. Choose where to save it under Destination and select OK.
  3. Enter your master key again when it asks.

Import into Bitwarden

Import a KeePass XML export
How
File
  1. Export the database from KeePass or KeePassXC as XML.
  2. On the web, select Tools, thenImport, or Import on desktop. In the extension, it's Settings, thenVault options, thenImport items.
  3. Pick KeePass 2 (xml) as the File format and choose the file.
  4. Select Import (Import data outside the web app).

What to watch out for

Exporting from KeePass

It isn't encrypted, attachments included, so delete it once you've imported it.

  • The Recycle Bin comes out too, as a group of its own.

Importing into Bitwarden

Only KeePassXC's one-time codes come across. KeePass 2's own TimeOtp fields arrive as plain custom fields.

  • Deleted entries come in too, in a Recycle Bin folder.
  • Importing a file twice gives you two of everything.

Where this comes from

Checked against the official docs on .

We work this route out from the KeePass and Bitwarden entries, so if something's wrong, the fix goes in one of those.

Edit the KeePass entry Edit the Bitwarden entry

Other ways to move from KeePass to Bitwarden

1 more route
Copy the database file , then Import a KeePass database Same file format 4 carry over 5 lost 0 not sure
Carries over 4
Logins and passwords
One-time codes
Custom fields
Folders and groups
Lost 5
App settings
Attachments and files
Tags
Password history
Created and updated dates

Export from KeePass

Copy the database file
How
File
  1. Your vault is the .kdbx file you open in KeePass, and the unlock window shows where it is, so you can just copy it.
  2. Or, with it open, select File, thenSave As, thenSave Copy to File... to save a copy somewhere else.
  3. Take its key file too if it uses one. The copy opens with the same master key.

Import into Bitwarden

Import a KeePass database
How
File
  1. On the web, select Tools, thenImport, or Import on desktop. In the extension, it's Settings, thenVault options, thenImport items.
  2. Pick KeePass (kdbx) as the File format and choose the .kdbx file.
  3. Enter its master password, and select Add key file if it uses one.
  4. Select Import (Import data outside the web app).

Exporting from KeePass

If your master key includes your Windows user account, the file only opens on that account, so change it under File, thenChange Master Key... before you move.

  • One-time codes are kept in TimeOtp fields, KeePass's own way of storing them, which not every app reads.
  • KeePass's settings live in its own KeePass.config.xml, not in the database.

Importing into Bitwarden

A database over 10 MB won't open, and attachments count towards that.

  • It only takes a password and a key file, so a database that needs a YubiKey won't open.
  • Every entry comes in as a login, dated the day you import it.
  • KeePassXC's passkeys aren't brought in as passkeys.
  • Importing a file twice gives you two of everything.
  • Built-in importer
  • Same file format
  • Convert it first
  • Carries over
  • Lost
  • Not sure

Move from Bitwarden back to KeePass

Other places KeePass can go

Other ways into Bitwarden