Skip to content
Import all your chromepasswords to iCloud
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead, 2 commits behind bruvv:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Buggy In the latest Safari. 2019/10/08


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.


For example, import an entry for the user doggo at,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

You can’t perform that action at this time.