Can I save to file FireFox's remembered passwords?

Rhythmdvl’s recent thread asking about the safety of Firefox’s remembered passwords reminded me of a question I’ve been meaning to ask.

I rely on my computer to remember my passwords and user names for many many websites. There are too many sites I need to register for, all with different usernames and different password rules, to be able to remember them all. To the point where I’m really beholden to Firefox to access the sites.

If my (several year old) PC dies, it will take me a lot of effort to reacquire my usernames and reset my passwords. Can I have the browser save this information to a file, that I can reimport into Firefox on another computer? Failing that, is there one file somewhere in the Firefox settings where this is stored that I could save, and use to overwrite a fresh Firefox install?

I’m on XP, but it’s possible the destination PC would be Vista. Or possibly Linux.

You can do better then just your passwords. You can save all your settings too.

My firefox profile has survived several transfers, being used on alternate operating systems, and all sorts of good stuff.

Password exporter add-in here.

Not sure which version you’re using but in FF3, go to preferences > security and there is an import/export passwords button.

ETA: Nevermind, that is from the password exporter extension which I must have installed ages ago.

There are two tools that can help you here.

MozBackup, which is free, and Roboform, which isn’t, but is a very comprehensive program. They both can password protect your data - which means having to remember only one password.

Thanks everyone. I downloaded password explorer, and that’s what I was looking for. I’m going to try out the MozBackup also, though. Might be even better.