Managing your Firefox profiles for easy backup – bookmarks, passwords, and settings

In Mozilla Firefox, your bookmarks, passwords, and settings are saved in something called a profile. This is stored in your hard drive.

Your profile is typically located at C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default

Whenever you need to reinstall Windows, this might create problems, as most of us don’t usually back up our Application Data folder. You probably would want to save your profile instead in your data directory (or folder that you back up frequently)

To move your profile:

  1. Exit Firefox.
  2. Move your profile folder to your desired directory. For example, at E:\Settings\Firefox
  3. Locate profiles.ini. This is typically located at C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\
  4. Open profiles.ini in your favorite text editor. You should see the following:


    [General]
    StartWithLastProfile=1
    [Profile0]
    Name=default
    IsRelative=1
    Path=Profiles/xxxxxxxx.default
    Default=1

    Note: xxxxxxxx is an eight-character random value that is automatically assigned by Firefox upon installation.

  5. Change this to:


    [General]
    StartWithLastProfile=1

    [Profile0]
    Name=default
    IsRelative=0
    Path=E:\Settings\Firefox\xxxxxxxx.default
    Default=1

    IsRelative is changed from 1 to 0 because absolute paths (not relative) are used.

    The Path value is changed to reflect the new path of the profile. Simply replace this with your new path, then replace xxxxxxxx.default with the name of your profile directory.

  6. Save profiles.ini
  7. Restart Firefox.

9 thoughts on “Managing your Firefox profiles for easy backup – bookmarks, passwords, and settings”

  1. Yes to blaine r ;) You caught me there! My original article was supposed to be on \”backing up your profiles\” … & then I found this nifty trick on how to manage it instead. Much better, huh? Easier to just include it in automated backups.

    Needless to say, I forgot to change the title of article, hehe.

  2. Funny.. I just needed to move my passwords from one laptop to another. With MozBackup and these nifty instructions, I now have things under control. Thanks!!!

  3. I still think PHP has a major role to play in the future, with PHP5 object oriented and great features like SimpleXML – [url]http://file.sh/XML+torrent.html[/url]. IMHO I see PHP scripts for frontend apps and RoR apps for all the backend stuff, and that’s what I’am actually trying to do at work.

Leave a Reply to chette Cancel reply

Your email address will not be published. Required fields are marked *