Move from KeePass to KeePassXC

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

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

How to move from KeePass to KeePassXC

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 KeePassXC

Import a KeePass XML export
How
File
Needs
  • keepassxc-cli
  1. Export the database from the other app as KeePass XML.
  2. In a terminal, run keepassxc-cli import --set-password export.xml new.kdbx and set a password when it asks.
  3. Open new.kdbx in KeePassXC with Database, thenOpen Database...

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 KeePassXC

It always makes a new database, and won't write over a file that's already there.

  • Attachments only come in if the XML has them in it.
  • It isn't encrypted, so delete the XML once it's in.

Where this comes from

Checked against the official docs on .

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

Edit the KeePass entry Edit the KeePassXC entry

Other ways to move from KeePass to KeePassXC

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

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 KeePassXC

Open a KeePass database
How
File
  1. Select Database, thenOpen Database... and choose the .kdbx file your other KeePass app saved.
  2. Enter its password, add its key file or hardware key if it uses one, and select Unlock.

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 KeePassXC

Passkeys only come across if the other app saved them as KPEX_PASSKEY_ attributes, the way KeePassXC does.

  • To add it to a database you've already got, open that one and select Database, thenMerge From Database... instead.
  • Built-in importer
  • Same file format
  • Convert it first
  • Carries over
  • Lost
  • Not sure

Move from KeePassXC back to KeePass

There's no guide for the way back, but KeePassXC's exports still open in KeePass. See where KeePassXC can go.

Other places KeePass can go

Other ways into KeePassXC