Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently migrated from Windows7 to Kubuntu 10.0.4. In many ways, I'm loving the change. (I never knew it could be such a seemless process to write/test scripts!)

One of the few things that is causing me any hangup is that none of the passwords that were saved in my browser are available (obviously, since it's a completely separate installation). Is it possible to export my passwords from the Windows instance of Chrome and then import them into the Linux version?

share|improve this question
An answer is available here – ccpizza Oct 11 '15 at 8:58
up vote 7 down vote accepted

As Neal said, the folder User Data is the one to look for. If you want a software solution try the extension Lastpass (or at the Google site). It allows you to save and restore password in Google Chrome as well as in Firefox, IE and Safari.

share|improve this answer
I've been using LastPass for 2 years and it works great! Got it on 6 browsers on 4 different OS's – TheLQ Jul 17 '10 at 17:10
Lastpass looks perfect! Thanks! – Jeffrey Blake Jul 17 '10 at 21:17
It seems that lastpass is not longer able to export the passwords to chrome -.- Is there already a new solution? – MartinVonMartinsgrün Mar 2 '12 at 7:38
@mmm... This is almost a month after you asked, but I wanted to answer you: I don't think you need to export the passwords with Lastpass. Just install the extension onto whichever browser you use and they will be available. From any system. The passwords are stored in their encrypted vault, so you don't have to worry about any of that on your end. – Jeffrey Blake Mar 30 '12 at 17:33

You can also use this standalone tool called chromepass

ChromePass is a small password recovery tool that allows you to view the user names and passwords stored by Google Chrome Web browser.

There is a option to export into your keepass password manager too.

share|improve this answer
Perfect! I'm in the process of migrating to KeePass and this is just what I need. Thanks! – Tim Lewis Aug 20 '13 at 17:28
Thank You! Good solution. Just don't forget to turn off the security scanner before, because detects as a harmful software what want to stole your information. – eapo Jul 4 at 22:10

I found a decision how to show all your passwords from Chromium. Tested on Ubuntu 14.04 and Chromium: Version 40.0.2214.111 Ubuntu 14.04 (64-bit). I used js script found early in search.

Output maked in format: url|login|pass


  1. Open in Chromium browser link to Chrome password manager: chrome://settings-frame/passwords

  2. Open console (F12) and insert this js code:

    var pm = PasswordManager.getInstance();
    var model = pm.savedPasswordsList_.dataModel;
    var pl = pm.savedPasswordsList_;

  1. After step 2 you will see all your passwords in Chromium Password manager Dialog.

  2. And now insert this part of js code in console:

    var item = pl.getListItemByIndex(i);
  1. Now you see all your passwords in format i described early.

  2. Write script on any language to import your passwords in browser like FireFox :)

  3. Profit.


p.s. I Try to use all parts of code together, but it isnt work :(

update: Chrome API based version in GitHub.

share|improve this answer
Thanks! For Chrome 48.0.2564.109 m it is needed to small change: replace [0] to origin and [1] to user. – GKislin Feb 19 at 9:42
I updated my github source code. Sources for Chrome 51+ and before 51 is defferent. – Skidisaster Jun 29 at 7:32

You could try XMarks.

I'm fairly sure that if you just copied the profile (ie the stuff in C:\Users\Username\AppData\Local\Google\Chrome\User Data\Default)from Windows to Linux, you would get everything working correctly, without any export/ import.

share|improve this answer
+1 for identifying the file I'd need. – Jeffrey Blake Jul 17 '10 at 21:17
The exact file where the passwords are stored is Login Data. – chris-l Aug 26 '13 at 17:01
Latest versions of chrome don't store the actual passwords in that file anymore. On windows it uses the system credential storage and on Linux the system keyring is used. – ccpizza Nov 12 '13 at 23:09
xmarks does not synchronize passwords anymore, gotta use lastpass – arod Nov 29 '13 at 23:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .