We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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.

ابحث في الدعم

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 SUB-folders in Safari Bookmarks?

more options

I see where and how to import Bookmarks with one folder, but when that folder contains subfolders, those aren't coming over, even though I went to the whole Bookmarks Folder in Safari to do the transfer, I guess in HTML from the look of it. If that matters. But sub-folders contain the most important bookmarks for me.

Thanks for any suggestions/help. I'll much appreciate it.

I see where and how to import Bookmarks with one folder, but when that folder contains subfolders, those aren't coming over, even though I went to the whole Bookmarks Folder in Safari to do the transfer, I guess in HTML from the look of it. If that matters. But sub-folders contain the most important bookmarks for me. Thanks for any suggestions/help. I'll much appreciate it.

All Replies (1)

more options

Are you using Firefox's automatic importer? That sometimes fails and "Plan B" is to export bookmarks from Safari to an HTML-format file, and then import it into Firefox.

After importing, use the Library dialog (Command+Shift+b or "Show All Bookmarks") to move them from the import folder to your preferred locations.


HOPEFULLY YOU WON'T NEED THIS, BUT JUST IN CASE:

With some versions of Safari, there is a structural difference between the Safari export format and what Firefox expects which prevents importing.

If you are handy with a text editor, you can look for these lines and delete them:

<DT><H3 FOLDED>Bookmarks Bar</H3>

<DT><H3 FOLDED>Bookmarks Menu</H3>

Based on earlier research, the first one appears near the top between

<H1>Bookmarks</H1>

and

<DL><p>

Not sure how far down the other one is, but I'm sure you'll be able to find it. These <DT> elements being outside of a <DL> appear to prevent importing.

Background:

Note: The problem isn't with all <H3> tags, just the two that contain Bookmarks Bar and Bookmarks Menu, on the less indented lines that start with <DT>. See later reply https://support.mozilla.org/questions/978273#answer-503888