Does anyone knows of a PC program that will read the backup contacts.cdb on the PC to write it as text file?

Alternatively, anyone is familiar with the format of contacts.cdb so i can write my own PC program to do that task?