Convert bookmarks to Markdown

Turn a bookmarks HTML export into a Markdown reading list with folders, tags and notes. Runs in your browser; nothing is uploaded.

Choose a file (or try the sample) to see the Markdown here.

From a bookmarks export to a Markdown reading list

A bookmarks HTML file is built for browsers to import, not for people to read. Markdown is the opposite: plain text that renders as a tidy list in Obsidian, Logseq, Notion, GitHub, a static site or a newsletter draft. This converter takes the export every browser can produce and turns it into Markdown with one link per line, written as [Title](https://…), grouped by your folders.

How to use it

  1. Export your bookmarks to HTML from your browser’s bookmark manager. The steps are in thebrowser bookmarks migration guide.
  2. Choose the file above. The Markdown appears right away.
  3. Pick a layout and the extras you want: descriptions, tags, saved dates.
  4. Press Copy Markdown to paste it into a note, or Download .md to save a file.

To convert only one folder, split the export first with thebookmark file splitter and convert the part you need.

The two layouts

Folders as headings

## Research

- [WebVTT spec](https://www.w3.org/TR/webvtt1/) #standards

### Sources

- [MDN Web Docs](https://developer.mozilla.org/) — Reference for HTML and CSS

Each folder becomes a heading one level deeper than its parent, starting at the level you choose (H2 by default, so the note can keep its own H1 title). Markdown has six heading levels; folders deeper than that stay at level six. This layout gives you a document outline, so a long list stays navigable.

One nested list

- **Research**
  - [WebVTT spec](https://www.w3.org/TR/webvtt1/)
  - **Sources**
    - [MDN Web Docs](https://developer.mozilla.org/)

Folders become bold list items and their contents are indented two spaces per level. Outliners that treat every list item as a block, Logseq for example, keep the tree collapsible.

What the Markdown contains

  • Links as [Title](URL). If a bookmark has no title, the URL is used as the title.
  • Safe titles. Characters that mean something in Markdown (square brackets, asterisks, underscores, backticks, angle brackets) are escaped with a backslash, so a title such as “[PDF] Annual report” does not break the link.
  • Safe addresses. Spaces and parentheses inside URLs are percent-encoded so the link does not end early.
  • Descriptions from the export’s <DD> notes, after an em dash.
  • Tags from the TAGS attribute as #hashtags, with spaces turned into hyphens so they stay one tag.
  • Saved dates from ADD_DATE as YYYY-MM-DD (in UTC), when the export recorded them.
  • Order exactly as in your export; nothing is sorted or removed.

Browsers differ in what they export. Chrome and Edge exports carry titles, addresses, dates and folders but no tags or notes; Firefox exports can include tags; files from bookmark managers often carry both. The checkboxes only add what is in the file.

Where the Markdown is useful

  • A notes vault. Drop the file into Obsidian or Logseq and link to it from your project notes.
  • A resources page. Paste the headings layout into a README, a wiki or a static site.
  • Sharing a reading list. Markdown pastes cleanly into chat tools, issues and documents.
  • A readable archive. Plain text outlives every bookmark manager and can be searched with any editor.
  • Context for an AI assistant. A Markdown list of sources is easy to paste into a chat as reference material.

Markdown and Marqly

Marqly does not import Markdown files. It imports bookmark HTML files, the same export you load here, keeping titles, URLs, descriptions, tags and two levels of boards. So keep the HTML export for importing and use the Markdown copy for notes and sharing. Inside Marqly, you canexport highlights and notes to Markdownlater. Going the other way, from a Markdown list back to an importable file, is what theMarkdown to bookmarks converter does.

Related tools

Frequently asked questions

How do I convert my bookmarks to Markdown?

Export your bookmarks from the browser as an HTML file, choose it above, and pick a layout. The Markdown appears immediately: copy it, or download it as a .md file for Obsidian, Logseq, a GitHub README or any notes app that reads Markdown.

Headings or nested list: which layout should I use?

Headings turn every folder into a Markdown heading with its links listed underneath, which reads well as a document and shows up in an outline or table of contents. Nested list keeps the whole tree in one indented list, which suits outliners such as Logseq and short link collections.

Are the tags and descriptions of my bookmarks kept?

If the export contains them, yes. Tags from the TAGS attribute become #hashtags at the end of the line (spaces become hyphens), descriptions from <DD> lines follow the link after a dash, and the saved date can be added as YYYY-MM-DD. Each of these is a checkbox, so you can keep the list minimal.

Is my bookmarks file uploaded?

No. The file is read and converted by JavaScript in this browser tab. Nothing is sent to a server and nothing is stored after you close the page.

Can I import the Markdown file into Marqly?

Yes, as plain links: Marqly reads the [title](url) lines in a .md file, but headings do not become boards and descriptions are not carried. To keep folders as boards, import the original HTML export instead, and use the Markdown version for notes, documentation and sharing.

← All free tools