Howto convert 1password database to keepassX

I use 1password on my mac.  It's absurdly overpriced for what it is, but it saves me so much hassle, I bought it anyway.

KeepassX is another great password manager which is FOSS and cross platform.  It doesn't integrate nicely with my browser though, so 1password won.

Anyway, I've got linux boxes too, and I wanted to transfer my 1password passwords over to them.  There is no way to do this really, so here's what I hacked up without writing any code (which I hate doing for something so silly).

But I did anyway!  The old post is below.  The script to do it for you is here: http://jacobsingh.drupalgardens.com/content/1password-keepassx-convertor-import-export


  1. Go to 1password, export all entries as tab-delimited text file
  2. Open up the output in open office, change the URL / Location heading to url.
  3. Save the text file as CSV, while saving click the "Edit filter options" checkbox to use "," (comma) as your delimeter.
  4. Get this: http://csv2xml.sourceforge.net/.  I'm sure there are better scripting language versions out there, anyone know one?  You have to build this, but it is dead simple.  Just make && sudo make install.
  5. Convert the CSV to XML: cat 1pass.csv | csv2xml >



Subscribe to xml