This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I import a bookmarks.html file? Bookmarks > Organize bookmarks > Import and backups does not work.

  • 10 پاسخ
  • 28 have this problem
  • 1 view
  • آخرین پاسخ توسّط silkphoenix

more options

After trying to import my saved bookmarks from an html file, using Bookmarks > Organize bookmarks > Import and Backup > Import html, nothing is updated from the saved files

After trying to import my saved bookmarks from an html file, using Bookmarks > Organize bookmarks > Import and Backup > Import html, nothing is updated from the saved files

Chosen solution

That's not "machine code", that is how a JSON backup file is formatted (except it normally shows no line breaks, it's one long line when viewed in most text programs or in Firefox). Renaming a JSON file to HTML doesn't work, the formats are totally different.

If you change the file extension of that file to json, you should be able to restore that data into Firefox. Bookmarks > Organize Bookmarks -> Import & Backup - Restore - Choose file...

Read this answer in context 👍 0

All Replies (10)

more options

Could you be more specific? Was there an error message? Were you able to open the html file in Firefox?

more options

I did not get any error message. After I selected the html file using the Browse feature in Library, and clicked on Open, nothing happened.

I have been able to open the file by using File > Open, and by clicking on the icon. There are rows upon rows of machine language, intertwined with reference to some of the bookmarks I had saved (I didn't view the whole file).

Thanks for any assistance

more options

So you didn't save your bookmark in your hard drive? If you did, you should be able to just double click on the file and open in Firefox.

Please read this article to see if it helps:

http://kb.mozillazine.org/Lost_bookmarks#Step-by-step_bookmark_recovery

more options

"There are rows upon rows of machine language, intertwined with reference to some of the bookmarks I had saved"

Using File > Open file... in Firefox should have displayed that like a simple webpage; white background with Bookmarks Menu at the top of the "page", Folder names, separators (if you use them) and hyperlinks for your bookmarks.

That doesn't sound like an HTML file, which is a text file - no "machine language". Where did you get that file from?

more options

See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox

A JSON backup starts with: {"title":"","id":1,"dateAdded" A HTML backup starts with: <!DOCTYPE NETSCAPE-Bookmark-file-1>

A JSON backup needs to have the .json file extension and an HTML backup a .html file extension, so check in the Properties to make sure that there is no other hidden file extension appended.

more options

I created the file using the backup feature through Firefox, on my old laptop. The filename is: bookmarks-2010-01-31.html. I can read it using Firefox, Notepad and can actually see some of the bookmarks I created over the years of using them.

more options

Chosen Solution

That's not "machine code", that is how a JSON backup file is formatted (except it normally shows no line breaks, it's one long line when viewed in most text programs or in Firefox). Renaming a JSON file to HTML doesn't work, the formats are totally different.

If you change the file extension of that file to json, you should be able to restore that data into Firefox. Bookmarks > Organize Bookmarks -> Import & Backup - Restore - Choose file...

more options

Dear Ed-Meister:

Thanks a million. That did the trick.

George

more options

Dear Ed-Meister;

Thanks a million - that did the trick.

George

more options

You're welcome, I'll mark this thread as solved.