Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to down convert my KeePass .kdbx file to a .kdb file because I want to be able to open it with KeePassX (OS X version), which only supports .kdb

I haven't been able to find a solution yet.

share|improve this question
Is the original kdbx file used on windows or another operating system? If you use windows, simply do what @JChristian answered, otherwise edit your question to include the OS you have access to – tutuDajuju Feb 24 '14 at 8:31
KeePassX 2 Alpha works perfectly fine and handles the kdbx format. – Daniel B Feb 24 '14 at 10:04

Just go to File->Export and you should have the option to export to a .kdb file.

share|improve this answer
noteworthy to add that this will only work on windows though. – Johannes Rudolph Jul 29 '12 at 20:10


On OSX and Linux distros you might not be able to export to .kdb, getting this dreadful error: enter image description here

What I did

I've forked lastpass2keepass into csv2keepass and it now supports csv files exported from KeePass 2.0.

Solution (which also works in linux!)

To export to csv, just go into KeePass 2.0, open your db.kdbx file and do

File --> Export --> KeePass CSV (1.x)

Now run the python script:

python exportedCSVFile

After that to import do

File --> Import from... --> KeePassX XML (*.xml)
share|improve this answer
I wonder if you would be able to run Keepass 2.x under Wine instead of Mono - and if that would allow conversion to the older format. – Bob Feb 24 '14 at 10:39

You may want to use:

for conversion of the KeePass2 password database to KeePassX. It's done via XML export/import of both tools.

share|improve this answer
Just a note; "You must have Java Runtime Environment (JRE) installed." – ThorSummoner May 12 '15 at 23:13

Try KeePassX 2 (Alpha) as suggested by Daniel B, worked for me.

(If someone with the reputation wants to make this a link, please do.)

run it in a Windows VM, or

Download the "Professional" (2.n) Windows version of KeePass, and run it in a Windows VM. You can shared the file either through a VM-runner-host shared folder (let VirtualBox or VMWare do the magic for you), or you can share the file through a networked drive.

Once you have the file in windows you can either export the v2 file to a v1 type, or make a habit of starting the VM to modify KeePass (in which case I would recommend suspending/pausing the VM rather than shutting it down).

attempt to run it using Mono.

There is a recommendation buried in the site to use Mono and XQuartz, to support the .NET dependencies with free and many-system-compatible libraries. I had less than complete success with this method, possibly due to the version of OSX I'm running, 10.7.5. The application would open, but before it offered a database selection and password window, would suddenly close and generate an Apple error report.

...if you cannot re-export it in the v1 format from a Windows system.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .