html-to-md

Extract HTML content from web pages and convert it to Markdown.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/akselikorhonen-siili/ai_training --skill html-to-md
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: html-to-md
Source: https://github.com/akselikorhonen-siili/ai_training/tree/main/.agents/skills/html-to-md
Command: npx skills add https://github.com/akselikorhonen-siili/ai_training --skill html-to-md

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Converts webpage HTML content into Markdown format, enabling easy content repurposing and documentation.

Core Features & Use Cases

  • Webpage Scraping and Conversion: Fetches HTML from URLs and converts it into Markdown for seamless editing and sharing.
  • Selective Content Extraction: Uses CSS selectors to target and extract specific webpage sections, such as articles or documentation.
  • Use Case: Imagine you need to transform a technical article into Markdown to include in a wiki. With this Skill, you can scrape the main content and convert it effortlessly.

Quick Start

Use the html-to-md skill to scrape a webpage at https://example.com and save the main content to a file named main.md.

Frequently Asked Questions about html-to-md

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert webpage HTML content to Markdown format?

Convert webpage HTML content to Markdown by fetching HTML from URLs and parsing it with Node.js libraries like Cheerio to simplify content reuse and documentation.

Can I extract specific webpage sections instead of the whole page during HTML to Markdown conversion?

Extract specific webpage sections during HTML to Markdown conversion by using CSS selectors to target and extract articles or documentation, ensuring only relevant content is processed.

Do I need external API dependencies to scrape web pages and convert HTML to Markdown?

No external API dependencies are needed to scrape web pages and convert HTML to Markdown. The task utilizes Node.js with Cheerio or similar libraries to parse HTML locally.

What is the best way to turn a technical article into Markdown for a wiki?

Turn a technical article into Markdown for a wiki by scraping the main webpage content and converting it effortlessly, enabling seamless editing and sharing without manual formatting.

Does HTML to Markdown conversion work for web content curation and summarization tasks?

HTML to Markdown conversion works for web content curation and summarization tasks by extracting webpage content and transforming it into an easily editable format for downstream processing.

How do I save converted Markdown content from a URL to a file?

Save converted Markdown content from a URL to a file by scraping the webpage, converting the main content, and writing the output to a named file like main.md for storage.