Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

3 Answers 3

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 csv2keepass.py 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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.