Convert a bookmarks HTML file to JSON
The Netscape bookmark format that browsers export is awkward to parse. Drop the file here and download the same tree as tidy JSON, ready for a script, a database or another app.
1Add your exported bookmarks
2Check what was found
3Download
The JSON you get
An array of nodes. Folders have type, title, added and children; links have type, title, url and, when the export has them, added, tags (an array) and description.
[
{
"type": "folder",
"title": "Bookmarks bar",
"children": [
{ "type": "link", "title": "Example", "url": "https://example.com/", "added": "2024-03-01 09:30:00" }
]
}
]
Dates are UTC in YYYY-MM-DD HH:MM:SS. Favicons are dropped to keep the file small.
Export your bookmarks from Chrome first
- Open
chrome://bookmarks(Ctrl+Shift+O, or Cmd+Option+B on a Mac). - Click the three-dot menu at the top right and choose Export bookmarks.
- Save the
.htmlfile, then drop it into the box above.
Edge, Firefox, Safari, Brave, Opera and Vivaldi export the same kind of file. The full walkthrough, with backups, is in how to export Chrome bookmarks; for the others see Edge, Firefox, Safari, Brave and Opera.
Already have Chrome’s own Bookmarks file?
Chrome keeps bookmarks in a JSON file named Bookmarks in your profile folder. Its layout is Chrome-specific, with dates counted in microseconds since 1601. To turn it into an importable HTML file, use the Chrome Bookmarks file converter.
Questions
Does it keep folders?
Yes. Every folder becomes an object with a children array, at any depth.
Can I convert JSON back to a bookmarks file?
Yes for Chrome’s Bookmarks file, Firefox backups and Stackboard backups: drop them into the JSON to HTML converter.
Is my file uploaded anywhere?
No. The page reads the file with your browser’s own file reader and builds the new file on your computer. You can load the page, turn off Wi-Fi and it still works.
Your bookmarks, on every new tab
Stackboard is a free Chrome extension that lays out your bookmarks as a board on the new tab page. It stores everything as ordinary Chrome bookmarks, with no account.
Add to Chrome, it’s free