User Agents

Web browsers and everyday web tech, explained

Firefox Bookmarks on C Drive: How to Find and Backup

· 6 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To find your Firefox bookmarks on the C drive, you must navigate to the Firefox Profile folder located within the hidden AppData directory. Specifically, your bookmarks are stored in a file called places.sqlite, which contains the database for both bookmarks and browsing history. Accessing this file allows you to manually back up your data, recover bookmarks from a crashed system, or migrate data between different installations of the browser without using a cloud sync account.

What You'll Need

  • A computer running Windows with Mozilla Firefox installed.
  • Administrative privileges to access the AppData folder.
  • File Explorer enabled to show hidden files and folders.
  • A backup drive or cloud folder if you intend to move the bookmarks file for safekeeping.

Step-by-Step

  1. Open File Explorer: Click on the folder icon in your taskbar or press the Windows Key + E on your keyboard to open the file management system.
  2. Enable Hidden Items: Because the directory where Firefox stores its data is hidden by default, you must make it visible. In File Explorer, click on the View tab in the top menu bar. Look for the Show/hide group and check the box next to Hidden items. If you are using Windows 11, click View, hover over Show, and select Hidden items from the dropdown menu.
  3. Navigate to the AppData Folder: Go to the C drive (usually labeled Local Disk (C:)). From there, open the Users folder. Find the folder that matches your Windows username and double-click to open it. Now, locate and open the AppData folder. This folder is typically greyed out because it was hidden until you completed Step 2.
  4. Enter the Roaming Directory: Inside the AppData folder, you will see three subfolders: Local, LocalLow, and Roaming. Double-click on Roaming. This is where application-specific settings that need to follow a user across a network are stored.
  5. Locate the Mozilla Folder: Find the folder named Mozilla and open it. Inside this folder, you will find another folder named Firefox. Open this as well.
  6. Identify Your Profile Folder: Inside the Firefox folder, you will see one or more folders with names consisting of a random string of characters ending in .default or .default-release (for example, abc123xy.default-release). This is your unique user profile. Double-click the folder that ends in .default-release, as this is the active profile for most modern installations.
  7. Find the Bookmarks File: Once inside the profile folder, scroll through the list of files. Look for a file named places.sqlite. This is the primary database file that stores all your bookmarks and your history. If you are looking for older backup files created by Firefox automatically, look for files named bookmarks.html or files in the bookmarkbackups subfolder.
  8. Copy the File: To ensure you do not accidentally corrupt your browser data, do not open or edit the places.sqlite file directly. Instead, right-click the file and select Copy, then Paste it into a safe location, such as your Documents folder or an external USB drive.

Common Mistakes

One of the most frequent errors users make is attempting to open the places.sqlite file using a text editor like Notepad. Because this is a SQLite database file and not a plain text file, opening it in Notepad will result in a screen full of unreadable symbols and binary code. To actually view the contents of this file outside of Firefox, you would need a specialized SQLite browser tool.

Another common mistake is confusing the Local AppData folder with the Roaming AppData folder. Some application data is stored in Local, but Firefox stores the critical profile and bookmark data in Roaming. If you find yourself in C:\Users\YourName\AppData\Local and cannot find the Mozilla folder, you have simply gone into the wrong sub-directory.

Users also frequently forget to enable the "Hidden items" toggle in File Explorer. Without this setting active, the AppData folder is completely invisible. Many users assume the folder has been deleted or that their installation is corrupted when they cannot see AppData, when in reality, it is just a system-level visibility setting.

Tips

For those who frequently back up their data, the fastest way to reach the bookmarks folder is by using the "Run" command. Press Windows Key + R and type %appdata% into the box and hit Enter. This shortcut bypasses the need to manually navigate through the Users folder and automatically opens the Roaming directory, saving several clicks.

If you are trying to recover bookmarks after a crash, check the bookmarkbackups folder located inside your profile folder. Firefox automatically creates JSON-formatted backups of your bookmarks periodically. These files are easier to import back into the browser via the Library menu than the raw places.sqlite file.

Always ensure that Mozilla Firefox is completely closed before copying or moving the places.sqlite file. If the browser is running, the file may be "locked" by the system, which can lead to a corrupted copy or an error message stating that the file is in use by another program.

Troubleshooting

If you follow the path but the Mozilla folder is missing from Roaming, check if you have installed Firefox in a "Portable" mode. Portable versions of Firefox do not use the C drive's AppData folder; instead, they store all data within the folder where the firefox.exe file is located. Check the folder where you originally downloaded or extracted the browser.

If you find the places.sqlite file but it has a size of 0 KB, it means the database has been corrupted or was not properly saved. In this case, your best option is to navigate to the bookmarkbackups folder and look for the most recent json file. You can restore these through the Firefox menu: Bookmarks > Manage Bookmarks > Import and Backup > Restore.

In cases where you have multiple profile folders (e.g., one ending in .default and another in .default-release), you may be unsure which one is active. To verify, open Firefox, type about:support in the address bar, and press Enter. Scroll down to the "Profile Folder" section and click the Open Folder button. This will take you directly to the exact folder the browser is currently using, removing any guesswork.

Frequently Asked Questions

Can I edit my bookmarks using a text editor in the C drive?

No, you cannot. The places.sqlite file is a database. Editing it with a text editor will likely corrupt the file and cause Firefox to lose all your bookmarks and history. Always use the browser's built-in Bookmark Manager for edits.

Why are there multiple files in the bookmarkbackups folder?

Firefox automatically creates several backup versions of your bookmarks to protect against data loss. It keeps a rotating set of backups so that if one becomes corrupted, you can roll back to a version from a few days prior.

Will deleting the places.sqlite file delete my history too?

Yes. The places.sqlite file is a combined database that stores both your bookmarks and your browsing history. If you delete this file, you will lose both sets of data.

Does this method work if I use Firefox Sync?

Yes, it still works. Even if you use Sync to keep bookmarks across devices, Firefox still maintains a local copy of that data on your C drive in the profile folder.

Is it safe to move the profile folder to another drive?

Moving the folder manually via File Explorer will break the browser's link to its data. If you want to move your profile, you must use the firefox.exe -P (Profile Manager) command to point the browser to the new location.