Bookmarks HTML to Markdown
BetaTurn a Chrome, Firefox, Edge or Safari bookmarks.html export into Markdown: folders become headings and every link a - [title](url) line, ready for Notion, Obsidian or a README.
- Free, no sign-up
- REST + MCP
- Updated
- Reviewed by Olgun Ozoktas
The Markdown appears here
On this page, the file is read in your browser. It is not uploaded, and no bookmark is opened.
How to Convert a Bookmarks Export to Markdown
-
Export your bookmarks as HTML
in Chrome, open the Bookmark manager and choose Export bookmarks; in Firefox, open the Library and choose Export Bookmarks to HTML; in Safari, choose File > Export Browsing Data to File and unzip the file it saves, which holds the bookmarks as HTML. -
Drop the bookmarks.html file on the input panel, or paste its contents
-
Pick Nested headings or Flat list, and turn on dates, front matter or empty folders if you want them
-
Check the Markdown on the right, then choose Download .md and open the file in Notion, Obsidian or any Markdown editor
Common Use Cases
Moving years of browser bookmarks into an Obsidian vault as one searchable note
Importing a reading list into Notion, where a Markdown file becomes a page with headings and links
Publishing a curated link collection as a README or a GitHub awesome-list style page
Keeping a plain-text backup of your bookmarks that any editor can open and diff
Why Use Bookmarks HTML to Markdown?
A bookmarks.html export is a Netscape bookmark file: a <DL> list where each folder is an <H3> heading followed by its own list, and each bookmark is an <A HREF> link with optional ADD_DATE and ICON attributes. Chrome, Edge, Firefox, Safari and Brave all write this shape. This page reads it with the same parser as Bookmarks HTML to CSV and writes Markdown instead of CSV.
In Nested headings mode the document starts with a # heading named after the export, a top-level folder becomes ##, the folder inside it ###, and so on to ######. Each folder's own links come first as - [title](url) items, then its subfolders. In Flat list mode every link is one list item, prefixed with its folder path such as Bookmarks bar / Work. Entities such as & are decoded, characters that Markdown would read as formatting are escaped, and favicon data stored in the ICON attribute is never written.
The page refuses an ordinary web page: an article has links but no bookmark folder list, and turning it into a list of its links would not be a bookmarks export. Use HTML to Markdown for that. No link is opened or checked, so a dead bookmark converts like any other.
How it compares
A general HTML to Markdown converter treats a bookmarks export as a web page: folder names become plain text lines and the nesting is lost. Pasting the file into Notion or Obsidian keeps the raw HTML. Scripts such as bookmarks2md need a local Python setup. This page keeps the folder tree as headings, escapes titles so they stay literal, offers a flat list and dates, and works on the file in the tab.
Tips for Bookmarks in Markdown
- Nested headings start at ## for a top-level folder because the file's # heading is the export's own title. Markdown has six heading levels, so folders nested deeper are written in one ###### heading with their path.
- Flat list keeps the export's order exactly and puts the folder path before each link, which suits a long list you want to sort or filter later.
- Include dates adds (added YYYY-MM-DD) after a link only when the export recorded when it was saved; Chrome and Firefox exports do.
- A bookmark with no title is named after its site, such as docs.example.com, so no list item is empty.
- To tidy the export first, run it through Dedupe Bookmarks or Merge Bookmarks and convert the result here.