Open Firefox. In the top-right corner of Firefox, click the three horizontal lines.

Click the three horizontal lines in the top-right corner of Firefox.

In the menu that opens, click “Bookmarks.”

Select "Bookmarks" from the Firefox menu.

In the “Bookmarks” menu, at the bottom, click “Manage Bookmarks.”

Click "Manage Bookmarks" in the "Bookmarks" menu.

You will see a “Library” window. Here, at the top, click Import and Backup > Export Bookmarks to HTML.

An “Export Bookmarks File” window will open. Here, select the folder to save your bookmarks in. Optionally, enter a custom name for your bookmarks file in the “File Name” field. Then click “Save.”

Save the Firefox bookmarks file.

Firefox will begin exporting all your bookmarks to an HTML file. Open the specified folder in your file manager to view the bookmarks file.

Firefox bookmarks file.