Skip to content

bruvv/passwords-chrome2icloud

Repository files navigation

csv-toicloudkeychain

AppleScript that will read a CSV file containing URL, username and password data and import this to iCloud KeyChain via Safari.

alt tag

Preparing credentials from Chrome

To use this tool you should manually export credentials from Google Chrome into .csv file. In the browser, switch to chrome://flags/#PasswordExport and enable option #PasswordExport.

Reload Chrome

Go to chrome://settings/passwords, click Other actions button, then click Export and save the .csv file in any convinient location

CSV Layout

Export in chrome and than run: For Dutch:

cat Chrome-wachtwoorden.csv | awk -F ',' '{print $2","$3","$4}' > passwords-prepared.csv

For English:

cat Chrome-Passwords.csv | awk -F ',' '{print $2","$3","$4}' > passwords-prepared.csv

For Chinese:

cat Chrome-Passwords.csv | awk -F ',' '{print $2","$3","$4}' > passwords-prepared.csv

iconv -f UTF-8 -t GB18030 passwords-prepared.csv > passwords-prepared-gb.csv

This new command fix the issue in Chinese characters.

Create a CSV without headers with data in the below order.

url,username,password

For example, import an entry for the user doggo at woof.org.

woof.org,doggo,secretbonepass

Accessibility Permissions

Script editor must be given permission under System Preferences - Security & Privacy - Accessibility to run. Ensure you remove this after you have finished running the script.

alt tag

About

Import all your chromepasswords to iCloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •