Recovering Your Firefox Bookmarks

This is documented elsewhere, but perhaps comes across as too nerdy for some. If you’re using Windows XP, recovering from a crash or whatever, and find that your Firefox bookmarks (and bookmarklets and bookmark toolbar) have disappeared, here’s what to do:

  • Close Firefox if it’s running.
  • Find your profile in c:Documents and Settings[your XP user name]Application DataMozillaFirefoxProfiles
  • There should be a subfolder there called bookmarkbackups. Find the most recent bookmarks html file in there (usually with a date after the ‘bookmarks’ bit.
  • Copy it to somewhere safe and rename the existing one bookmarks.html.
  • Copy it to the default profiles folder (up one level from the bookmarkbackups folder, deleting the existing bookmarks.html file.)
  • Close Firefox if it’s running and launch it. Your old bookmarks should be restored.

(And, while I’m at it, here’s a solution if your Firefox browser refuses to remember any of your changed settings in toolbars etc when you close it, resetting everything back to what it was before. The same bug — likely to be fixed soon — also deletes your search engines in the search box to the right of the address box. This fix will fix both problems:

  • Locate the localstore.rdf file in the same place as above.
  • Delete it.
  • Restart Firefox. You should be good to go.

Thanks, GreenKri.)

24. November 2005 by jeremy
Categories: Resources, Software, apps | Tags: , , , , , , , , , , , , | 75 comments

Comments (75)

  1. Thanks, this was a life saver!

  2. WOW, and i was about to try and find all my 100+ bookmarks again. Thanks ALOT!

  3. Thank you soooo much! I thought they were gone for good!

  4. Dude you just practically saved my life. Last year of High School, I’m writing a 4000 word essay on the generation of random numbers. I’ve got all my research stored on firefox as bookmarks (about 40 of them) … and they disappear (until I found this page). Again, thanks! You don’t know how much this means to me.

  5. Thank you very much, this was VERY helpful!

  6. Hi,
    Thank you very much for this tip,
    actualy I´m not using the XP but in 2000 is same thing.
    This was the second time that I loose the Bookmark, and funny this happend ( in both time ) after the Firefox do a upgrade.
    thanks again
    best regards
    Jose Pinto

  7. Thanks. That brought me back to life. Very useful.

  8. Thanks for the great advice! This just helped me enormously!

  9. I am not sure if fits to my problem, that I have since two days:

    My bookmarks are here, but any double click on a bookmark will not open the site anymore!

    Any ideas what happened? and better how to fix it?

    (Windows XP & Firefox 2.0.0.1)

  10. Ich bin neu in Firefox eingestiegen. Mir ist aufgefallen, dass Firefox innerhalb kurzer Zeit jede Menge neuer Bookmark-Dateien anlegt unter den Namen bookmarks-1.html usw. (heute waren wir schon bei bookmarks-300.html oder so…). Gleichzeitig sind die früheren Einstellungen der Bookmarks weg (bzw. nur in einer der hunderte Dateien, die aber nicht mehr von Firefox angesprochen werden). Was mache ich da falsch?

    Gruß, Ferdinand

  11. Definitely a life saver! Thanks so much!!

  12. Thank you, thank you, thank you!

  13. You’re the best! Saved me from a freak out!

  14. thanks! saved me from a lot of trouble!

  15. thanx dude,

    That tuto was very useful to me

  16. Add my name to the list of people thanking you for this tutorial. I had literally hundreds of organized bookmarks saved in FireFox and when I saw that they had suddenly disappeared….well, needless to say, I was choked!

    Thanks for making this info available!

  17. thanks for the info. It’s a real pity that the bug still exist even today!!

  18. How to Kill firefox session where it is running in background and not showing via ps -u userid and no session for firefox are there then how to restart firefox please suggest

  19. Thank you, you really saved my day!

  20. well, this method just deleted my bookmarks AND my entire profiles folder, i closed the window with the Profiles folder in it after moving “bookmarks.html” to it, restarted firefox, and my bookmarks still weren’t there, i re-opened the Profiles folder and all but the cache and a few other files were gone, i went to check the backup i had copyed to the desktop (which had all the bookmarks in it last i checked) and it was blank, thanks alot…

  21. k7991, your anonymity and charming sarcasm doesn’t inspire sympathy, but the method worked for me and lots of other people, so I’m guessing you did at least one of the steps wrong.

  22. Nice one, thanks.
    Finally can find a way to
    back up my bookmarks.
    my firefox got some problem and wont load.
    i need to reinstall it.

  23. I am very grateful for your advice you have saved me a lot of time. Many Thanks!! (Good to see its now 2007 and the advice still works)

  24. —-“”Posted by: Marko | June 28, 2007 at 02:40 AM

    well, this method just deleted my bookmarks AND my entire profiles folder, i closed the window with the Profiles folder in it after moving “bookmarks.html” to it, restarted firefox, and my bookmarks still weren’t there, i re-opened the Profiles folder and all but the cache and a few other files were gone, i went to check the backup i had copyed to the desktop (which had all the bookmarks in it last i checked) and it was blank, thanks alot…————-That guy is a complete moron. this method worked excellent as long as you can read and follow simple instructions. i have a feeling he’s still trying to make a tv dinner.

  25. Outstanding advice. Thank you!

  26. Hooray! Thanks kindly!

  27. OMFG!!! you legend!!! thanks =]

  28. Thank you very much for this diamond of a tip, was just about to re trawl the net for all my bookmarks again! lol

  29. I agree that this information is worthless, Firefox just keeps clearing the backed up bookmarks file to 1K and blank. So, thanks for nothing.

  30. Thanks for the tips. You seemed to have saved a lot of bacon. Sadly, while I was able to restore my bookmarks (thanks), I’ve lost my carefully-honed settings. The localstore icon keeps re-appearing. Any further suggestion?

  31. Thank you for your great tips!

  32. Thanks
    worked for me
    you are a star

  33. ohmygod.thankyousomuch!

  34. thanks buddy! quite helpful.

  35. Sadly these settings seem to be different in Vista. Maybe that was what happened to the guy who got pounced on. The bookmark backup directory isn’t there.
    Maybe he didn’t note that the solution was aimed at XP users?

  36. Thanks a bunch man, I almost cried when I thought I would have to find them all again, let alone remember what they were again!

  37. Thank you so much, Greenkri! I had become very very sad when my bookmarks were lost due to a power-problem-related reboot.
    And yes, I saw this on http://kb.mozillazine.org/Lost_bookmarks but had not read it completely till I found your blog.

  38. Thank you so much ^^
    This article has been a great help!
    Cheers

  39. how about for Vista users please?
    I installed windows Vista on a new Hard Drive. My old hard drive has the firefox but i dont know where to find the bookmarks

  40. Thanks man.

    It worked but did not worked.
    I had my old Hard Drive w/XP an new comp is with Vista.
    Although there was no visible folder because for some reason it was “hidden”. But search function in vista did it for me and searched it. Now it works.

  41. I lost all of my bookmarks and tabs, but there doesn’t seem to be a backup sub-folder in my profile, or any of the other folders found within firefox (even with “show hidden folders” selected)–any ideas how to go about fixing/finding things?

  42. Thanks, it worked for me too.

  43. Thank you ever so much from Estonia.

  44. How do you do it step-by-step?

    Unclear how to do the following:

    “Copy it to somewhere safe”

    “Copy it to the default profiles folder”.

    Sorry, I’m not a nerd, need help.

  45. Oh, by the way, I’m going to create (or move) all my bookmarks to Internet Explorer (a.k.a. Internerd Exploder). I don’t trust or like Firefox anymore, it’s too slow, weird scrolling etc.

  46. I did everything as per above, and bookmarks did not reappear on my Firefox. I use Windows XP and NO I’m not a moron. Thanks for trying to help.

  47. Bless you, I thought my lost bookmarks were a goner. This worked a treat (Win XP SP2). However, just for information, my bookmarks.html was located in a sub-folder of the Profiles folder – cjedvyuu.default.

    And I notice that there is an export utility in the Firefox Bookmarks Manager, so the user can back up the bookmarks somewhere safe just in case. Will be doing this fairly regularly from now on! Thanks again, you’re a bright shining star!

  48. I see this solution was posted back in 2005, but I just used it to restore my own bookmarks…April 2008.
    Less than 2 minutes, it’s all good again. Thanks for the assistance.

  49. Brilliant! I thought I’d lost them forever 🙂 Thanks for the great tip.

  50. This didn’t work on my XP Home until I also replaced the data in the Application file as well (remember to backup the file you want to save FIRST)It being in back-up-folder as “Bookmarks2008-04-03”
    “Bookmarks”in the Application Default folder”(my file)
    “Bookmarks”in Profile folder under Mozilla in Program files(my file again) only then did it work!

  51. Thank you, you really saved my day!

  52. Thanks a million for the help- I was pulling my hair out trying to find them. You’re a lifesaver!

  53. THANKS CHAMP

  54. Thank you so much!
    You really are a life saver!

  55. Thanks alot DUDE…U saved not only my life…my BOSS’s also..ha ha ha..

  56. Thank you!

  57. I followed the instructions a few times and it didn’t work for me. I have XP Pro. When I relaunched Firefox each time, I still didn’t have my old bookmarks. The bookmarks folder in Firefox was empty. I checked the bookmarks.html file and the size was 3kB. What I ended up doing is following the instructions up to copying ‘bookmarks.html’ to the default folder (which deleted the existing bookmarks). Firefox was closed during this entire process. I checked the default folder to make sure the file transferred ok by checking the file size. I closed any program that was opened and I restarted XP. I then opened Firefox and my old bookmarks were there. The home page had also defaulted to google and so I also had to reset my old home page.

  58. Jim, thanks for this. I’ve amended the post slightly, but I don’t see any difference between yours and mine except ensuring Firefox is closed at the start of the process. Or am I missing something?

  59. If this do not work 4 you, then find in profiles file called “bookmarks.bak” Delete it! And everything work!

  60. Thanks alot! I was going crazy, all my bookmarks I made were gone.

    Guess I should make back-ups more frequently :p

  61. I need help finding my bookmarks using window’s vista

    I had to go from firefox 2.0 beta down to 2, (for school reasons) and I do not have any of my bookmarks anymore….. pooofff… gone.
    This did not happen to me before, I have had to change browsers several time.
    I have searched everywhere for them, and have been on every website, that said they could help,
    Please anything, I had so many pages bookmarked for school essay’s and I don’t know where to start again….
    thanks

  62. I need help finding my bookmarks using window’s vista

    I had to go from firefox 2.0 beta down to 2, (for school reasons) and I do not have any of my bookmarks anymore….. pooofff… gone.
    This did not happen to me before, I have had to change browsers several time.
    I have searched everywhere for them, and have been on every website, that said they could help,
    Please anything, I had so many pages bookmarked for school essay’s and I don’t know where to start again….
    thanks

  63. Thanks a ton, dude. Your advice is still relevant three years on. It was such a relief to be able to restore the bookmarks.

    However, I think people should be warned that Firefox stores the bookmarks backup for 5 days only.

  64. THANK YOU, THANK YOU, THANK YOU!

    (And thanks to Google, too, for leading me straight to your blog.)

    This worked like a charm, and now I can breathe again.

  65. Elkins and Boriah, glad it works for you.

    Boriah, good point on the five-day backup..

    j

  66. if i upgrade from firefox 2.0 to 3.0 will my old bookmarks automatically carry over?

  67. Thanks. I had find 100 bookmarks.

    my OS dump

  68. Version 3 and they still haven’t fixed this glitch! Same fix still works though.
    Thanks so much!
    I’d bookmark you to find my bookmarks when version 4…comes along but…
    🙂

  69. Thank you so much!! My heart dropped when i saw that all my bookmarks were gone but this got them all back in a jiffy!

    =)

  70. Oh by the way, just like Fabooliss above, I bookmarked this page and realised the irony of it. =)

    Decided to save your url in a text file instead.

  71. Even in 2014 this post helped me SO MUCH. Thank you!!! I read all kinds of other articles that didn’t make sense, and yours was the only one I could follow. Years later, your article is still being used, so thank you!! 😀