X
Tap here to go to the mobile version of the site.

Support Forum

How do I merge saved logins data from to installations of firefox?

Posted

Hello,

I have two PCs running Firefox where I save passwords for website logins. Some of the passwords change because of expiration requirements and over time the data on the two PCs diverge. How do I merge the save password information. Resolution of duplicate entries would be nice to have, but a simple merge would be a good start.

Thanks in advance for any help.

TG

Hello, I have two PCs running Firefox where I save passwords for website logins. Some of the passwords change because of expiration requirements and over time the data on the two PCs diverge. How do I merge the save password information. Resolution of duplicate entries would be nice to have, but a simple merge would be a good start. Thanks in advance for any help. TG
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

More Information

FredMcD
  • Top 10 Contributor
4255 solutions 59589 answers

Helpful Reply

This will take some thinking. Are all the computers using Firefox? Is this something like home/work/personal . . . . .

Do Not Use Sync ! ! This could merge the data the wrong way.

For now, save the current passwords using;

Password:Recovery:Restore:Export https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ http://www.nirsoft.net/utils/passwordfox.html (Win) PasswordFox v1.58 - Extract the usernames/passwords stored in Firefox Copyright (c) 2008 - 2017 Nir Sofer

Note: Some anti-virus show false positive. ++++++++++++++++++++++++++++++++++ Easily export your passwords from Firefox. https://github.com/kspearrin/ff-password-exporter

Export your passwords from Firefox in a portable CSV or JSON format. It works on Windows, macOS, and Linux. +++++++++++++++++++++++++++++++++++ 3 Tools to Decrypt and Recover Passwords Saved in Firefox • Raymond CC https://www.raymond.cc/blog/how-to-find-hidden-passwords-in-firefox/ +++++++++++++++++++++++++++++++++++ https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ https://github.com/kspearrin/ff-password-exporter ++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example:

JSON file: https://support.mozilla.org/questions/1258644

CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console)

This will take some thinking. Are all the computers using Firefox? Is this something like home/work/personal . . . . . Do Not Use Sync ! ! This could merge the data the wrong way. For now, save the current passwords using; Password:Recovery:Restore:Export https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ http://www.nirsoft.net/utils/passwordfox.html (Win) PasswordFox v1.58 - Extract the usernames/passwords stored in Firefox Copyright (c) 2008 - 2017 Nir Sofer Note: Some anti-virus show false positive. ++++++++++++++++++++++++++++++++++ Easily export your passwords from Firefox. https://github.com/kspearrin/ff-password-exporter Export your passwords from Firefox in a portable CSV or JSON format. It works on Windows, macOS, and Linux. +++++++++++++++++++++++++++++++++++ 3 Tools to Decrypt and Recover Passwords Saved in Firefox • Raymond CC https://www.raymond.cc/blog/how-to-find-hidden-passwords-in-firefox/ +++++++++++++++++++++++++++++++++++ https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ https://github.com/kspearrin/ff-password-exporter ++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example: JSON file: https://support.mozilla.org/questions/1258644 CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console)
Was this helpful to you? 3
Quote
FredMcD
  • Top 10 Contributor
4255 solutions 59589 answers

Go thru those lists and cross out any data not current.

Go thru those lists and cross out any data not current.
Was this helpful to you? 0
Quote

Question owner

FredMcD said

This will take some thinking. Are all the computers using Firefox? Is this something like home/work/personal . . . . . Do Not Use Sync ! ! This could merge the data the wrong way. For now, save the current passwords using; Password:Recovery:Restore:Export https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ http://www.nirsoft.net/utils/passwordfox.html (Win) PasswordFox v1.58 - Extract the usernames/passwords stored in Firefox Copyright (c) 2008 - 2017 Nir Sofer Note: Some anti-virus show false positive. ++++++++++++++++++++++++++++++++++ Easily export your passwords from Firefox. https://github.com/kspearrin/ff-password-exporter Export your passwords from Firefox in a portable CSV or JSON format. It works on Windows, macOS, and Linux. +++++++++++++++++++++++++++++++++++ 3 Tools to Decrypt and Recover Passwords Saved in Firefox • Raymond CC https://www.raymond.cc/blog/how-to-find-hidden-passwords-in-firefox/ +++++++++++++++++++++++++++++++++++ https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ https://github.com/kspearrin/ff-password-exporter ++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example: JSON file: https://support.mozilla.org/questions/1258644 CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console)

Thanks for the reply. To answer your question, the two PCs are running Firefox. Otherwise, I could have used the import function.

Also, how do you import the data exported out of Firefox (into a CSV or json file ) as you suggested into the database?

Thanks!

TG

''FredMcD [[#answer-1259547|said]]'' <blockquote> This will take some thinking. Are all the computers using Firefox? Is this something like home/work/personal . . . . . Do Not Use Sync ! ! This could merge the data the wrong way. For now, save the current passwords using; Password:Recovery:Restore:Export https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ http://www.nirsoft.net/utils/passwordfox.html (Win) PasswordFox v1.58 - Extract the usernames/passwords stored in Firefox Copyright (c) 2008 - 2017 Nir Sofer Note: Some anti-virus show false positive. ++++++++++++++++++++++++++++++++++ Easily export your passwords from Firefox. https://github.com/kspearrin/ff-password-exporter Export your passwords from Firefox in a portable CSV or JSON format. It works on Windows, macOS, and Linux. +++++++++++++++++++++++++++++++++++ 3 Tools to Decrypt and Recover Passwords Saved in Firefox • Raymond CC https://www.raymond.cc/blog/how-to-find-hidden-passwords-in-firefox/ +++++++++++++++++++++++++++++++++++ https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ https://github.com/kspearrin/ff-password-exporter ++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example: JSON file: https://support.mozilla.org/questions/1258644 CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console) </blockquote> Thanks for the reply. To answer your question, the two PCs are running Firefox. Otherwise, I could have used the import function. Also, how do you import the data exported out of Firefox (into a CSV or json file ) as you suggested into the database? Thanks! TG
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17528 solutions 158478 answers

Make sure to keep a backup of all involved files from both Firefox versions before proceeding.

  • logins.json and key4.db

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

See this reply for possible alternatives using the Browser Console to run JavaScript code to export logins to JSON and import this flie.

Make sure to keep a backup of all involved files from both Firefox versions before proceeding. *logins.json and key4.db You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *https://support.mozilla.org/en-US/kb/Profiles See this reply for possible alternatives using the Browser Console to run JavaScript code to export logins to JSON and import this flie. *[[/questions/1258644#answer-1220664]] How do I export "saved logons"?

Modified by cor-el

Was this helpful to you? 0
Quote
FredMcD
  • Top 10 Contributor
4255 solutions 59589 answers

Creating the password list as I suggested gives you a printed backup.

Creating the password list as I suggested gives you a printed backup.
Was this helpful to you?
Quote

Question owner

Thank you! I take it the suggestion is to manually enter them by referring to the printed list.

Thank you! I take it the suggestion is to manually enter them by referring to the printed list.
Was this helpful to you?
Quote

Question owner

cor-el said

Make sure to keep a backup of all involved files from both Firefox versions before proceeding.
  • logins.json and key4.db
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page. See this reply for possible alternatives using the Browser Console to run JavaScript code to export logins to JSON and import this flie.

Thanks! Sorry, but this doesn't address my original question of merging the two sets of data.

''cor-el [[#answer-1259584|said]]'' <blockquote> Make sure to keep a backup of all involved files from both Firefox versions before proceeding. *logins.json and key4.db You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *https://support.mozilla.org/en-US/kb/Profiles See this reply for possible alternatives using the Browser Console to run JavaScript code to export logins to JSON and import this flie. *[[/questions/1258644#answer-1220664]] How do I export "saved logons"? </blockquote> Thanks! Sorry, but this doesn't address my original question of merging the two sets of data.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17528 solutions 158478 answers

The reply I posted above has two sets of JavaScript code, one to export and another to import logins. It should be possible to export the logins in one installation to a JSON backup using code in the Browser Console in the thread I posted above. Then you can import this JSON file in the other Firefox instance with the import code in that same reply. The export and import are done asynchronously, so it can take a few seconds before you see the imported logins. That should merge the passwords without getting duplicates (the import code skips logins that already exist).

The reply I posted above has two sets of JavaScript code, one to export and another to import logins. It should be possible to export the logins in one installation to a JSON backup using code in the Browser Console in the thread I posted above. Then you can import this JSON file in the other Firefox instance with the import code in that same reply. The export and import are done asynchronously, so it can take a few seconds before you see the imported logins. That should merge the passwords without getting duplicates (the import code skips logins that already exist).
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.