<p>I need to reformat my machine but I have so many user/passwords stored in FF2 that I just keep putting it off. Yes I know about backing up the entire profile and restoring it. But for some reason my profile has many issues and I want to start fresh with that as well.</p>

<p>Are the username and passwords stored in a text file or is there some way to export them and import after I reformat?</p>

[{'answer_id': 40378, 'author': 'Peter Hoffmann', 'author_id': 720, 'author_profile': 'https://Stackoverflow.com/users/720', 'pm_score': 3, 'selected': True, 'text': '<p>There is a Firefox add-on called <a href="https://addons.mozilla.org/en-US/firefox/addon/2848" rel="nofollow noreferrer">Password Exporter</a>. It can export to XML or CSV files that can be imported in another browser or computer.</p>\n'}, {'answer_id': 40379, 'author': 'Michael Haren', 'author_id': 29, 'author_profile': 'https://Stackoverflow.com/users/29', 'pm_score': 2, 'selected': False, 'text': '<p>This extension will do it for you:</p>\n\n<p><a href="https://addons.mozilla.org/en-US/firefox/addon/2848" rel="nofollow noreferrer">https://addons.mozilla.org/en-US/firefox/addon/2848</a></p>\n'}, {'answer_id': 40438, 'author': 'Matt Bishop', 'author_id': 4301, 'author_profile': 'https://Stackoverflow.com/users/4301', 'pm_score': 0, 'selected': False, 'text': '<p>Alas, this won\'t solve the re-importing problem, but check out <a href="http://wejn.org/stuff/moz-export.html" rel="nofollow noreferrer">http://wejn.org/stuff/moz-export.html</a></p>\n\n<p>They have a single html page with a small javascript section that exports your passwords. Save the html to your desktop, read through to make sure it\'s not evil, open the page in FF, save the results.</p>\n\n<p>Maybe I\'m paranoid, but I\'m not sure I\'d trust a password-exporting extension...</p>\n'}, {'answer_id': 40439, 'author': 'Cees Meijer', 'author_id': 4313, 'author_profile': 'https://Stackoverflow.com/users/4313', 'pm_score': 2, 'selected': False, 'text': '<p>You can use the <a href="https://addons.mozilla.org/en-US/firefox/addon/2410" rel="nofollow noreferrer">Foxmarks</a> plugin. This exports to XML or CSV format. I used it a week ago and it works really fine. </p>\n'}, {'answer_id': 40466, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 3, 'selected': False, 'text': '<p>I\'ve had luck just copying <code>signons2.txt</code> and <code>key3.db</code> over from one profile to another. See also <a href="http://kb.mozillazine.org/Signons.txt" rel="noreferrer">the documentation on MozillaZine</a>.</p>\n'}, {'answer_id': 24100135, 'author': 'Monika Verma', 'author_id': 3718352, 'author_profile': 'https://Stackoverflow.com/users/3718352', 'pm_score': 0, 'selected': False, 'text': '<p>You can use third party tools (like PasswordFox) available to export saved passwords from Firefox but many people don’t believe in third party tools because this is the matter of high security so, it is better to use Firefox add-on rather than third party tool.</p>\n\n<p>Password Exporter Firefox extension is the best solution to export and import saved passwords safely and quickly. You can install Password Exporter from below URL.</p>\n\n<p><a href="http://addons.mozilla.org/en-US/firefox/addon/password-exporter" rel="nofollow">http://addons.mozilla.org/en-US/firefox/addon/password-exporter</a> and see the <a href="http://itbloggertips.com/2014/06/how-to-export-saved-passwords-from-firefox/" rel="nofollow">full documentation of installation and uses.</a></p>\n'}]
['https://Stackoverflow.com/questions/40372', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3747/']