Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章。

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
Solved 已存档

I can't open a bookmark backup file with json extension

cepap

I opened LIBRARY folder in the TOOLS and clicked BACKUP so that I can have a copy of my bookmarks to transfer to another laptop.

I saved the file on the DESKTOP. It has a json extension. Can't open it. How can I open it. Is my registry corrupt? Thanks, cp

I opened LIBRARY folder in the TOOLS and clicked BACKUP so that I can have a copy of my bookmarks to transfer to another laptop. I saved the file on the DESKTOP. It has a json extension. Can't open it. How can I open it. Is my registry corrupt? Thanks, cp

所有回复 (9)

Do you want to restore it to Firefox, or just look at the contents of that file?

选择的解决方案

The only use of a JSON backup is to restore the file via the Bookmarks Manager in a Firefox profile, that will replace all current bookmarks with the ones in that JSON backup.
A JSON backup is a text file in object format and is not very readable.
If you want a readable backup then export the bookmarks to an HTML file.

Why do you want to open that file?

Just wanted to look at the contents to make sure that the file is complete before I copy it to another place. Thanks, cp

Thanks, html solved my problem. cp

I want to extract the tag information along with the bookmarks. I can't do that from the HTML version. Can I do it with json? Is there any documentation of the bookmark file json format?

HTML bookmarks files don't contain the Tag data. The Tag data is in the JSON bookmarks backup file.


See this Google search of the Mozilla Developer Center for JSON documentation.

I can parse JSON files in general, but the one with my bookmarks is 745K. I could poke around in it for a week before finding what I want. Is there some place where the structure of this particular file is documented? How do I associate URLs with tags, given my JSON file?

Never mind, I figured it out.

@anewc2 Could you please give me a hint on how you figured it out. I have the same problem and I can't make heads or tails of my JSON file without several days of cutting and pasting... Thank you.