Thursday, February 11, 2010

Import saved password of Google Chrome to KeePass Password Safe

If you are like us who depend on KeePass to store user ids and passwords and also use it to generate new password, at some point of time you must have felt need to import all user ids and passwords you have stored in Google chrome along with their URL.


Firefox and Opera has quite advanced password manager whereas Google Chrome has very basic password manager. You can view the user ids and passwords but the problem is that you cannot export it. ChromePass is a new software program by Nirsoft that can display the most relevant information that have been saved in Google Chrome. It allows you to view the user names and passwords stored by Google Chrome Web browser. For each password entry, the following information is displayed: Origin URL, Action URL, User Name Field, Password Field, User Name, Password, and Created Time. You can select one or more items and then save them into text/html/xml file or copy them to the clipboard.

chromepass

It is a portable application and does not require any installation. Before running ChromePass, close Google Chrome and run it and wait for 1-2 minutes. It will display all the user ids and passwords you have saved in Google Chrome. These files can be exported as txt and xml format. However in order to import this to KeePass select all the data in ChromePass and paste it in "Open Office" yes in "Open Office". The reason is Microsoft® Excel® by default does not enclose fields in quotes ("). It is recommended that you use OpenOffice Calc to create a correct CSV file or use the Generic CSV Importer of KeePass 2.x (import your CSV file into KeePass 2.x, then export the data to a KeePass 1.x KDB file), or fix the CSV file by manually adding the quotes using a text editor.

Using OpenOffice Calc to create a CSV file:

OpenOffice Calc can be used to create CSV files that can be imported correctly into KeePass. 

Follow these steps:

  • Make sure you got 5 columns as described above.
  • Select everything, right-click and select 'Format Cells'. In the dialog, choose Text as category. Click [OK].
  • Go 'File' -> 'Save As...', choose a location and make sure that the check box 'Edit Filter Settings' is enabled. Click the 'Save' button.
  • Choose 'Unicode (UTF-8)' as character set. The field separator must be set to a comma. The text separator must be ". Make sure that the Fixed Column Width box is not checked. Click [OK].

After saving the file import this CSV file in KeePass and viola all your user ids and passwords of Google Chrome is imported to KeePass.

1 comments:

  1. ChromePass now (v1.16) offers:
    Added an option to export the passwords into KeePass csv file (In 'Save Selected Items'). You can use the created csv file to easily import your Web site passwords into KeePass password manager.

    When you 'Save Selected Items' simply click the drop down box on the file type (csv or txt or xml etc. and select the KeePass option).
    ReplyDelete