ChromeCSV [![Build Status](](

ChromeCSV is a simple tool for exporting the passwords you saved in Google Chrome / Chromium to a plain text CSV file. You can then import the contents of that file into your [PassDeposit][passdep] account or do whatever you like to it!



- Works on Windows and Linux
- Decrypts passwords if necessary
- Save logins to CSV file


No need to Compile or Install! Simply grab the latest release from here:
[Downloads & Releases][releases]

First, close all Chrome windows. Yes, all of them. Even this one. Then, open a console where you downloaded it and type the following, then hit <kbd>Enter</kbd>.

# on linux
chromecsv ~/.config/google-chrome/

:: on windows
chromecsv "%LOCALAPPDATA%\Google\Chrome\User Data"
If you don't want to memorize the path, you can open the console and type the command, then close Chrome and _then_ press <kbd>Enter</kbd>.

Now, you should have a new file named `passwords.csv`. Open it (when noone is around :smile:) and cheer in happiness!


Compiling from Source

You'll need a working [Go][golang] environment and libsqlite3-dev.

On Ubuntu, for example, you can get that up and running like this:

sudo apt-get install libsqlite3-dev golang

Now for the fun part:

go get # get sqlite3-bindings for golang
go get # get and install chromecsv



Chrome saves login data into an SQLite3 database called _Login Data_, which is stored in your `%LOCALAPPDATA%\Google\Chrome\User Data\Default\` (on Windows) or `~/.config/google-chrome/Default/`.

On Windows, the passwords are encrypted through the [CryptProtectData][protect] WinApi function, which derives a key from your logon credentials so only you can decrypt it again. ChromeCSV then uses [CryptUnprotectData][unprotect] to get back your passwords.
(Ironically, the documentation uses the word _typically_ whenever explaining _who_ in particular can decrypt the data.)

On Linux, per Default, no encryption/decryption is done, so no decryption is necessary. (See [this ticket][masterpw] or this fun [comment in the code][code].) You can force it to use Gnome Wallet or KDEWallet with a command-line flag, but this won't migrate your data.



This software is released under the MIT license. For details, see [][license]


Imports 1 package(s) ΒΆ