Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am about to travel, and I will be using a new laptop (to be purchased in the next day or two) for all my work during my travels. I have a lot of information stored in my firefox browser (e.g. passwords, form inputs etc), which makes my life easy.

I need to export all the data in my firefox, so that I can import it for use with firefox on my new laptop. Ideally, I want to be able to export the data into a text file and then import into firefox on my laptop.

Does anyone know how I may export/import my personal data from/into firefox?

As an aside, my desktop OS is Ubuntu 12.0.4 LTS and it is very likely that my new laptop will be running Ubuntu too.

share|improve this question
Just copy the profile folder and place it on a flash drive. Then migrate the profile folder to the correct location on the new computer. –  Ramhound Oct 8 '13 at 11:45

4 Answers 4

up vote 0 down vote accepted

Firefox addon Password Exporter


You can import/export passwords.

Firefox Sync

Firefox Sync is a secure way to exchange bookmarks/passwords/history/etc between two computers through the Internet.

share|improve this answer

I recommend using the Firefox sync method, however if your trying to locate the file in which they are stored on Ubuntu then:

"you can copy " .mozilla" file as backup, in case you reinstall the system.

file is hidden in home folder and can be viewed by selecting ' show hidden files ' from nautilus menu. you have to copy it in the same location after system reinstall" - http://tinyurl.com/passwordsmozilla

share|improve this answer

While there are alternatives inside firefox itself, I strongly recommend using two free add-ons, which really make your life simpler.

The first one is LastPass, an add-on which stores all your passwords, generates new ones of arbitrary complexity when needed, capable of logging you into a site automatically when need arises. Your passwords will be saved, in an encrypted form, on their server; the password needed to decrypt them is stored neither on your pc nor on theri site, so that an attacker will come out empty handed. That password is the Last Pass referred to in their title. The app is cross-platform (i.e., it works on all versions of Windows/Mac/Linux), and cross-Browser (works on IE, Firefox, Chrome, Safari, Opera,...). It also synchronizes your password database across multiple installations all belonging to the same user instantaneously. So long as you stay away from their cellular phone version (Android, iOS, Windows), it is also free. On first installation, it will sanitize the local repository of passwords, making them very safe. Their Web site is here.

The second one is Xmarks, also a free add-on that synchronizes your bookmarks across different pcs. Like LastPass, it is both cross-platform and cross-browser. It also has the capacity to synchronize whole sessions, so that, if you tomorrow morning wake up in a different house, different city, different country, you can pick up exactly where you left off. It also supports multiple profiles (work, fun,...) so that you may have access to completely unrelated saved sessions. This is their Web site. Once again, their business-plan is to charge only for applications on cellular phones. Needless to say, both applications function as back-ups.

When I have a new pc, these two are the very first apps I download, because they help me feel at home immediately.

share|improve this answer

As @Ramhound stated, the easiest and most direct way to copy all data from one Firefox profile to another is by copying the profile folder to a flash drive and form it copying it to the new laptop.

On Linux, the profile folder is located at:

~/.mozilla/firefox/<profile folder>


The profile folder is, in most cases, a single folder with a randoname.default kind of format. That is what your profile is. You might also find in the firefox/ folder a .ini file called profiles.ini that contains the path information for your profile. The following is an example:



Copy it to a flash drive and in the other installation, just paste it. Remember to alter the profiles.ini to match your profile.

In alternative, just run Firefox in the following way:

./firefox -profilemanager


This will take you to the Profile Manager, where you can then select your old profile.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.