Chapter 22. File Formats

Thomas Baumgart

Revision 4.7.01 (2014-08-30)

Unless you choose to use a relational database, KMyMoney will store all your financial information in a file ending in .kmy. Also, unless you use a command line option that tells it not to do so, when you launch KMyMoney, it will open the last file it had open. However, it is important to know that there is more than one type of file KMyMoney can use to hold your financial data.

This chapter describes the formats in which KMyMoney stores its data in permanent form on the user's storage device. In general, KMyMoney stores its information in form of an XML document. Depending on the actual format, this XML document will be written:

Plain text file

This is the most space consuming format supported, as no compression is performed. It is not intended for normal use, and is provided to support debugging purposes and the capability to modify the file manually. If you end a filename in .xml, the file will be stored in this format.


Manual modification of the file is not recommended to the normal user, and should only be performed if the internal working of KMyMoney is fully understood or if instructions from the developers tell you what to do. Don't blame the KMyMoney developers if you screw up your data: You have been warned!