Fork me on GitHub

MarkyDown - Scrape it to markdown

Choose Input Method:
Help

How to Use

This tool converts HTML main content from a specified URL or pasted HTML into Markdown. If you do not specify anything it will guess the main content. The result is the clean content and not cluttered. You can optionally specify CSS selectors to refine the content extraction. Then the result is as you defined it.

Input Methods

  • Provide URL: Enter the URL of the webpage you want to convert.
  • Paste HTML: Directly paste the HTML content you wish to convert.

Optional Selectors

  • CSS Selector for Main Content: Define a CSS selector to specify the main content area you want to convert. Examples:
    • main Selects the <main> element.
    • .content Selects all elements with the class "content".
    • #article Selects the element with the ID "article".
  • CSS Selectors to Exclude: Provide a comma-separated list of CSS selectors to remove unwanted elements before conversion. Examples:
    • .ads Removes all elements with the class "ads".
    • #sidebar Removes the element with the ID "sidebar".
    • header, footer Removes <header> and <footer> elements.