Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Node.js CLI script for turning a Firefox bookmarks json file into a nicely-formatted, shareable HTML file.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
media
templates
.gitignore
LICENSE
README.md
collapse.js
package.json
parse-ff-bookmarks.js
styles.css

README.md

parse-ff-bookmarks

This is a Node.js CLI script for turning a Firefox bookmarks json file into a nicely-formatted, shareable HTML file. Firefox's bookmarks manager allows you to export your bookmarks to HTML already, but I wanted something that could create friendlier HTML output so I could share my bookmarks in an easy-to-read format.

HTML bookmarks output

Installation

npm install parse-ff-bookmarks -g

You may need to prefix the command with sudo.

How to Use

  1. Open the bookmarks manager via the menu in Firefox: Bookmarks -> Show All Bookmarks
  2. Click "Import and Backup" and select "Backup...", saving the json backup file in your desired location.
  3. Run:
parse-ff-bookmarks /path/to/bookmarks.json my-bookmarks.html

replacing the example values with the location of your json file and the desired name of the HTML file to output.

NOTE: You can also add a third argument specifying which folder in your bookmarks you want to start in. e.g.

parse-ff-bookmarks /path/to/bookmarks.json my-bookmarks.html "Bookmarks Menu/Web Dev"

The above would limit the output to only bookmarks within the Web Dev folder.

Deep Linking

If you want to share a folder in your bookmarks, even one deeply nested, you can simply copy its link. Anyone who visits the link will have the linked folder opened and moved into focus.

Example

I've posted my collection of web dev bookmarks, which I generated using this tool.

Something went wrong with that request. Please try again.