This code snippet is for exporting passwords stored in Google Chrome for use in 1Password. It generates a 1Password compatiable CSV file.
NOTE: Your password are exported as plain text. Take proper precautions when storing the file and use a secure deletion tool.
To export your passwords follow these steps:
- visit chrome://settings-frame/passwords
- Open the Chrome console (Mac:
[Cmd]
+[Option]
+J
/ Windows or Linux:[Ctrl]
+[Shift] +
J`) - Paste the code above into the console
- Enter your password when prompted so your keyring can be unlocked
- Wait
- Copy and paste the output to a file ending in
.csv
- Follow the 1Password CSV import guide
- Let everyone know or buy me a drink to say thanks.
This is a modified version of the code provided by ccpizza to the question How can I export chrome passwords? on superuser. The changes reformat the CSV output so 1Password is happy. I also cleaned up a few things as went.
Licensed under CC-BY-SA-3.0.
I get the same error as @whisp8