how to import bookmarks from a JSON file?
I don't know much about computers. I recently updated to windows 7. The person who helped me with it somehow saved my bookmarks. I have them saved as a JSON file. i have tried to import them on to firefox but i am unable to import them. Can you please tell me step by step how to get my bookmarks back on to firefox? Thanks heaps.
- Open the Library window (Bookmarks->Organize Bookmarks)
- Press Import and backup
- Choose Restore
- Click Choose file...
- In the dialog box that pops up, select the JSON file on your system and open it.
- A dialog box will ask if you want to replace your current bookmarks. Choose Yes.
If it doesn't work after following these steps, try the solutions at Can't add, change or save bookmarks - How to fix.
I got my bookmarks back. Thanks heaps zzxc!
zzxc's technique works. A few notes:
- Firefox regularly creates a .json backup of your bookmarks in the "bookmarkbackups" folder in your profile.
- In Firefox 5 (at least on Linux), the menu item that opens the Library window is Bookmarks > Show All Bookmarks.
- This 'technique replaces all your bookmarks.
If you want to add bookmarks to your existing bookmarks (for example, you were using a different copy of Firefox and want to add the bookmarks you made in it), you need to import an HTML file of bookmarks, not restore this JSON file. Here's one way to do it:
- Create a new Firefox profile (see steps elsewhere) and use it. (It should have no bookmarks except for the default Firefox set.)
- In that new profile, import the JSON file as zzxc explained. (It should now have the bookmarks.)
- Then in Library, choose Import and Backup > Export HTML... and save to a file. Give it a descriptive name like 'temp_setof_bookmarks_to_import.html so you don't get confused
- Exit that Firefox profile, and restart Firefox using your normal profile.
- In Library, choose Import and Backup > Import HTML... and import the HTML file you created.
- You'll now have both sets of bookmarks. You'll probably have duplicates of the default Firefox set.