Chrome Password Manager: How to add password manually? Chrome Password Manager: How to add password manually? google-chrome google-chrome

Chrome Password Manager: How to add password manually?


One way to accomplish this is to use Chrome's Password import, which lets you import entries for Chrome's Password Manager from a CSV file.

Note that the feature is an experimental feature, and must be explicitly enabled. How to do this depends on the version:

  • As of Chrome 79 (December 2019), go to chrome://flags/, find the setting "Password import", set to "Enable", restart Chrome.
  • As of Chrome 93 (August 2021), you must start Chrome with the command line parameter --enable-features=PasswordImport instead (the setting under chrome://flags/ no longer exists). See Issue 1021518: Chrome FR: Import Password not available in settings on Chrome78 in the Chromium bug tracker for details.

Then, to add an entry to the password manager:

  • Create a CSV file for the entry. The first line lists the columns, then each line represents one password manager entry, with the site name, username and password. The file will look like this:

      name,url,username,password  example.org,https://example.org/,user,secret  example2.org,https://example2.org/,anotheruser,extrasecret  [...]

The easiest way to get it right is probably to export your existing passwords to a file, under "Settings" / "Saved Passwords" / "Export passwords" (in the overflow menu). Then edit the resulting CSV file using a text editor. Make sure to set the editor to use UTF-8 text encoding.

  • Import the CSV file, using "Import" (also in the overflow menu in the Password Manager).
  • Note that "Import" will add entries to your database. So it's safe to create a CSV file with just the new entries you want to add, and import it. Your existing entries will remain. Exception: I believe if you import an entry for a site that already has an entry, import will overwrite it.


As stated here https://developer.mozilla.org/fr/docs/Web/API/PasswordCredential.
Visit the site you want to save passwords on, open the dev tool and type :

const cred = new PasswordCredential({  id: '<site user>', // ex: myLoginUser@mail.com  password: '<site password>',  name: '<name>',  // how it appears in password manager});navigator.credentials.store(cred) // Will prompt you to save the password .then(()  => {   // Do something or not });


This solution expands on the previous answer but using Google passwords way of importing.

Create a .csv file with your login credentials like this

name,url,username,passwordexample.org,https://example.org/,user,secret

And go to https://passwords.google.com/options?ep=1 and login with the same user credentials you used with Chrome and click on Import under Import passwords and go to your page that you're trying to save the password and you should see your password filled, voila!!