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

Support Forum

Is it possible to export the saved passwors to HTLM?

Posted

I think there has to be a way to export the saved paswords into a HTML file that is possible to import in IE or Edge. Does anybody knows how I can do that. I need to get them into one of these browsers. Thanks

I think there has to be a way to export the saved paswords into a HTML file that is possible to import in IE or Edge. Does anybody knows how I can do that. I need to get them into one of these browsers. Thanks

Additional System Details

Installed Plug-ins

  • Shockwave Flash 28.0 r0

Application

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

More Information

Seburo
  • Top 10 Contributor
  • Moderator
712 solutions 5227 answers

Hi

I do not know if i is possible to import the passwords into HTML, but you should be able to import them into an installed copy of Edge. This site might help.

Hi I do not know if i is possible to import the passwords into HTML, but you should be able to import them into an installed copy of Edge. This [https://www.top-password.com/blog/tag/import-saved-passwords-from-firefox-to-edge/ site] might help.

Question owner

Hello,

I tried this already with former versions of Firefox. It didn't import the saved paswords, only the favorites.

Now, with the latest version of Firefox I get de message in edge "Can not import..."

I tried it on 2 different PC's, with the same result. The PASSWORD EXPORTER add-on doesn't work in the latest version of Firefox for the transfer of passwords either, so I think it has to do with the new version of Firefox. I get more and more the impression that it is not better, but worse. So I keep asking for help in this matter.

Thanks

Hello, I tried this already with former versions of Firefox. It didn't import the saved paswords, only the favorites. Now, with the latest version of Firefox I get de message in edge "Can not import..." I tried it on 2 different PC's, with the same result. The PASSWORD EXPORTER add-on doesn't work in the latest version of Firefox for the transfer of passwords either, so I think it has to do with the new version of Firefox. I get more and more the impression that it is not better, but worse. So I keep asking for help in this matter. Thanks
Shadow110 1072 solutions 14836 answers

Mouse to Firefox browser top to a empty spot and Right Click, Click Menu Bar. Will find what you need under Bookmarks --> Show All Bookmarks --> Import and Backup --> Export as HTML

Please let us know if this solved your issue or if need further assistance.

Mouse to Firefox browser top to a empty spot and Right Click, Click Menu Bar. Will find what you need under Bookmarks --> Show All Bookmarks --> Import and Backup --> Export as HTML Please let us know if this solved your issue or if need further assistance.
FredMcD
  • Top 10 Contributor
4184 solutions 58423 answers

Pkshadow, that is only for bookmarks.

'''Pkshadow''', that is only for bookmarks.
the-edmeister
  • Moderator
5391 solutions 40019 answers

HTML has been an interchange format for bookmarks / favorites between web browsers since 1997 when IE came out; based upon the Netscape bookmarks.html format which Mozilla inherited in 1999 when the Mozilla Foundation was founded.

CSV format (and XML) was used with the Password Exporter extension in previous versions of Firefox is a fairly common file type used by Password export / import between some web browsers. Firefox has never supported CSV though and neither has IE. I have heard that Edge and Chrome do support CSV - it may be a WebKit / Blink "thing". https://en.wikipedia.org/wiki/Comma-separated_values Unfortunately, the Password Exporter extension hasn't been made available yet for Quantum Firefox 57 - an API for that hasn't been created or isn't ready yet.

When Firefox is installed, users are given the option to import bookmarks / favorites and passwords from IE, Chrome, Safari, and maybe other browsers; and the option to do so at a later time does exist in Firefox.

And conversely many browsers do offer to import data from Firefox upon installation and probably later, too. Ask support for those browsers how to do that,

HTML has been an interchange format for bookmarks / favorites between web browsers since 1997 when IE came out; based upon the Netscape bookmarks.html format which Mozilla inherited in 1999 when the Mozilla Foundation was founded. CSV format ''(and XML)'' was used with the Password Exporter extension in previous versions of Firefox is a fairly common file type used by Password export / import between some web browsers. Firefox has never supported CSV though and neither has IE. I have heard that Edge and Chrome do support CSV - it may be a WebKit / Blink "thing". https://en.wikipedia.org/wiki/Comma-separated_values Unfortunately, the Password Exporter extension hasn't been made available yet for Quantum Firefox 57 - an API for that hasn't been created or isn't ready yet. When Firefox is installed, users are given the option to import bookmarks / favorites and passwords from IE, Chrome, Safari, and maybe other browsers; and the option to do so at a later time does exist in Firefox. And conversely many browsers do offer to import data from Firefox upon installation and probably later, too. Ask support for those browsers how to do that,
FredMcD
  • Top 10 Contributor
4184 solutions 58423 answers

Frever Unfortunately, the current Firefox does not export passwords. There was an add-on that would do this, but it is not compatible with the current.

https://addons.mozilla.org/en-US/firefox/addon/password-exporter/ Password Exporter by Justin Scott (fligtar), Jorge Villalobos Not compatible with Firefox Quantum


One thing you can try is to downgrade. Use the above add-on, and after restore Firefox to the current.

Another thing you can do is to install a separate Firefox in its own programs folder, sync the password data, then use the add-on.


In the event that the passwords information is lost, you should record all information in a separate text file somewhere else on your hard drive, or written down. You can easily copy and paste if you need to do so. If you are concerned about someone else looking at that file, you can compress it using a password.

'''Frever''' Unfortunately, the current Firefox does not export passwords. There was an add-on that would do this, but it is not compatible with the current. https://addons.mozilla.org/en-US/firefox/addon/password-exporter/ Password Exporter by Justin Scott (fligtar), Jorge Villalobos Not compatible with Firefox Quantum ----------------- One thing you can try is to downgrade. Use the above add-on, and after restore Firefox to the current. Another thing you can do is to install a separate Firefox in its own programs folder, sync the password data, then use the add-on. ---------------- In the event that the passwords information is lost, you should record all information in a separate text file somewhere else on your hard drive, or written down. You can easily copy and paste if you need to do so. If you are concerned about someone else looking at that file, you can compress it using a password.
cor-el
  • Top 10 Contributor
  • Moderator
17334 solutions 156717 answers

Helpful Reply

You can run this JavaScript code in the Browser Console to export the passwords to a JSON file.

  • "3-bar" menu button or Tools -> Web Developer
  • set devtools.chrome.enabled to true on the about:config page to show the command line in the console

See:

/* export the names and passwords in JSON format to firefox-logins.json */
var tokendb = Cc["@mozilla.org/security/pk11tokendb;1"]
              .createInstance(Ci.nsIPK11TokenDB);
var token = tokendb.getInternalKeyToken();

try {token.login(true)} catch(e) {Cu.reportError(e)}

if (!token.needsLogin() || token.isLoggedIn()) {
 var passwordmanager = Cc["@mozilla.org/login-manager;1"] .getService(Ci.nsILoginManager);
 var signons = passwordmanager.getAllLogins({});
 var json = JSON.stringify(signons, null, 1);

 var ps = Services.prompt;
 var txt = 'Logins: ' + signons.length;
 var obj = new Object; obj.value = json;

 if (ps.prompt(null, 'Logins - JSON', txt, obj, null, {})){
 var fp=Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker);
 fp.init(window,"",Ci.nsIFilePicker.modeSave);
 fp.defaultString = "firefox-logins.json";

 fp.open((rv) => {
 if (rv == Ci.nsIFilePicker.returnOK || rv == Ci.nsIFilePicker.returnReplace) {
 var fos = Cc['@mozilla.org/network/file-output-stream;1'].createInstance(Ci.nsIFileOutputStream);
 fos.init(fp.file, 0x02 | 0x08 | 0x20, 0666, 0);
 var converter = Cc['@mozilla.org/intl/converter-output-stream;1'].createInstance(Ci.nsIConverterOutputStream);

 converter.init(fos, 'UTF-8', 0, 0);
 converter.writeString(json);
 converter.close();
}})
}}
You can run this JavaScript code in the Browser Console to export the passwords to a JSON file. *"3-bar" menu button or Tools -> Web Developer *set <b>devtools.chrome.enabled</b> to true on the <b>about:config</b> page to show the command line in the console See: *https://developer.mozilla.org/en/Tools/Browser_Console <pre><nowiki>/* export the names and passwords in JSON format to firefox-logins.json */ var tokendb = Cc["@mozilla.org/security/pk11tokendb;1"] .createInstance(Ci.nsIPK11TokenDB); var token = tokendb.getInternalKeyToken(); try {token.login(true)} catch(e) {Cu.reportError(e)} if (!token.needsLogin() || token.isLoggedIn()) { var passwordmanager = Cc["@mozilla.org/login-manager;1"] .getService(Ci.nsILoginManager); var signons = passwordmanager.getAllLogins({}); var json = JSON.stringify(signons, null, 1); var ps = Services.prompt; var txt = 'Logins: ' + signons.length; var obj = new Object; obj.value = json; if (ps.prompt(null, 'Logins - JSON', txt, obj, null, {})){ var fp=Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker); fp.init(window,"",Ci.nsIFilePicker.modeSave); fp.defaultString = "firefox-logins.json"; fp.open((rv) => { if (rv == Ci.nsIFilePicker.returnOK || rv == Ci.nsIFilePicker.returnReplace) { var fos = Cc['@mozilla.org/network/file-output-stream;1'].createInstance(Ci.nsIFileOutputStream); fos.init(fp.file, 0x02 | 0x08 | 0x20, 0666, 0); var converter = Cc['@mozilla.org/intl/converter-output-stream;1'].createInstance(Ci.nsIConverterOutputStream); converter.init(fos, 'UTF-8', 0, 0); converter.writeString(json); converter.close(); }}) }} </nowiki></pre>
BlueDreamer23 1 solutions 9 answers

Helpful Reply

Frever said

I think there has to be a way to export the saved paswords into a HTML file that is possible to import in IE or Edge. Does anybody knows how I can do that. I need to get them into one of these browsers. Thanks

Hello,

If you are using Windows then try PasswordFox It still works on Windows 10 and FireFox F57.04 - tested ok

PasswordFox v1.58 - Extract the user names/passwords stored in Firefox http://www.nirsoft.net/utils/passwordfox.html

http://www.nirsoft.net/toolsdownload/passwordfox-x64.zip

Its a fairly straight forward app.

Run: PasswordFox.exe Edit: Select all File: Save as

Supports txt, xml, csv and vertical and horizontal html export.

btw... PasswordFox has been around for a long time.

''Frever [[#question-1195733|said]]'' <blockquote> I think there has to be a way to export the saved paswords into a HTML file that is possible to import in IE or Edge. Does anybody knows how I can do that. I need to get them into one of these browsers. Thanks </blockquote> Hello, If you are using Windows then try PasswordFox It still works on Windows 10 and FireFox F57.04 - tested ok PasswordFox v1.58 - Extract the user names/passwords stored in Firefox http://www.nirsoft.net/utils/passwordfox.html http://www.nirsoft.net/toolsdownload/passwordfox-x64.zip Its a fairly straight forward app. Run: PasswordFox.exe Edit: Select all File: Save as Supports txt, xml, csv and vertical and horizontal html export. btw... PasswordFox has been around for a long time.
BenInBlack 0 solutions 7 answers

cor-el said

You can run this JavaScript code in the Browser Console to export the passwords to a JSON file.
  • "3-bar" menu button or Tools -> Web Developer
  • set devtools.chrome.enabled to true on the about:config page to show the command line in the console
See:
/* export the names and passwords in JSON format to firefox-logins.json */
var tokendb = Cc["@mozilla.org/security/pk11tokendb;1"]
              .createInstance(Ci.nsIPK11TokenDB);
var token = tokendb.getInternalKeyToken();

try {token.login(true)} catch(e) {Cu.reportError(e)}

if (!token.needsLogin() || token.isLoggedIn()) {
 var passwordmanager = Cc["@mozilla.org/login-manager;1"] .getService(Ci.nsILoginManager);
 var signons = passwordmanager.getAllLogins({});
 var json = JSON.stringify(signons, null, 1);

 var ps = Services.prompt;
 var txt = 'Logins: ' + signons.length;
 var obj = new Object; obj.value = json;

 if (ps.prompt(null, 'Logins - JSON', txt, obj, null, {})){
 var fp=Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker);
 fp.init(window,"",Ci.nsIFilePicker.modeSave);
 fp.defaultString = "firefox-logins.json";

 fp.open((rv) => {
 if (rv == Ci.nsIFilePicker.returnOK || rv == Ci.nsIFilePicker.returnReplace) {
 var fos = Cc['@mozilla.org/network/file-output-stream;1'].createInstance(Ci.nsIFileOutputStream);
 fos.init(fp.file, 0x02 | 0x08 | 0x20, 0666, 0);
 var converter = Cc['@mozilla.org/intl/converter-output-stream;1'].createInstance(Ci.nsIConverterOutputStream);

 converter.init(fos, 'UTF-8', 0, 0);
 converter.writeString(json);
 converter.close();
}})
}}

This is awesome and works great.. Do you know of a way to automate this, like from terminal. (i'm on mac).

''cor-el [[#answer-1053091|said]]'' <blockquote> You can run this JavaScript code in the Browser Console to export the passwords to a JSON file. *"3-bar" menu button or Tools -> Web Developer *set <b>devtools.chrome.enabled</b> to true on the <b>about:config</b> page to show the command line in the console See: *https://developer.mozilla.org/en/Tools/Browser_Console <pre><nowiki>/* export the names and passwords in JSON format to firefox-logins.json */ var tokendb = Cc["@mozilla.org/security/pk11tokendb;1"] .createInstance(Ci.nsIPK11TokenDB); var token = tokendb.getInternalKeyToken(); try {token.login(true)} catch(e) {Cu.reportError(e)} if (!token.needsLogin() || token.isLoggedIn()) { var passwordmanager = Cc["@mozilla.org/login-manager;1"] .getService(Ci.nsILoginManager); var signons = passwordmanager.getAllLogins({}); var json = JSON.stringify(signons, null, 1); var ps = Services.prompt; var txt = 'Logins: ' + signons.length; var obj = new Object; obj.value = json; if (ps.prompt(null, 'Logins - JSON', txt, obj, null, {})){ var fp=Cc["@mozilla.org/filepicker;1"].createInstance(Ci.nsIFilePicker); fp.init(window,"",Ci.nsIFilePicker.modeSave); fp.defaultString = "firefox-logins.json"; fp.open((rv) => { if (rv == Ci.nsIFilePicker.returnOK || rv == Ci.nsIFilePicker.returnReplace) { var fos = Cc['@mozilla.org/network/file-output-stream;1'].createInstance(Ci.nsIFileOutputStream); fos.init(fp.file, 0x02 | 0x08 | 0x20, 0666, 0); var converter = Cc['@mozilla.org/intl/converter-output-stream;1'].createInstance(Ci.nsIConverterOutputStream); converter.init(fos, 'UTF-8', 0, 0); converter.writeString(json); converter.close(); }}) }} </nowiki></pre> </blockquote> This is awesome and works great.. Do you know of a way to automate this, like from terminal. (i'm on mac).