Html Markdown Converter
/install html-to-markdown
HTML ↔ Markdown Converter
Convert messy HTML into clean Markdown, or render Markdown into shareable HTML. Use this skill for web clipping, clean notes, batch migration, and article-style content cleanup.
Why install this
Use this skill when you want to:
- convert HTML files, raw HTML, or web pages into Markdown
- convert Markdown into standalone HTML documents
- batch-convert directories or URL lists
- preserve article content with readability-style cleanup
- emit metadata, frontmatter, or quality reports
Quick Start
node scripts/html_to_markdown.mjs \
--url "https://example.com/article" \
--out ./article.md \
--profile article \
--engine best
node scripts/markdown_to_html.mjs \
--file ./README.md \
--out ./README.html \
--theme github
Not the best fit
Use a different skill when you need:
- visual page rendering or browser automation
- OCR from screenshots or scanned images
- plain copy/paste without structured conversion
What it provides
This skill includes two scripts:
scripts/html_to_markdown.mjs— HTML → Markdownscripts/markdown_to_html.mjs— Markdown → HTML
Read references/profiles.md when you need the preset cleanup profiles (article, docs, forum, custom) or want a quick capability map.
HTML → Markdown
Supported inputs
--file \x3Cpath>--html \x3Cstring>--url \x3Chttps://...>--input-dir \x3Cdir>--url-list \x3Cfile.txt>
Common outputs/options
--out \x3Cfile.md>/--output-dir \x3Cdir>--profile \x3Carticle|docs|forum|custom>--content-mode \x3Creadable|full>--engine \x3Cauto|best|turndown|pandoc>--meta-frontmatter \x3Ctrue|false>--report \x3Cfile.json>--base-url \x3Curl>--image-style \x3Cinline|ref>
Examples
node scripts/html_to_markdown.mjs \
--url "https://example.com/article" \
--out ./article.md \
--profile article \
--engine best \
--meta-frontmatter true \
--report ./article.report.json
node scripts/html_to_markdown.mjs \
--input-dir ./html \
--output-dir ./md \
--profile docs
Markdown → HTML
Supported inputs
--file \x3Cpath.md>--markdown "# text"--input-dir \x3Cdir>
Common outputs/options
--out \x3Cfile.html>/--output-dir \x3Cdir>--theme \x3Clight|github|minimal>--title \x3Ctext>--standalone \x3Ctrue|false>--embed-css \x3Ctrue|false>
Examples
node scripts/markdown_to_html.mjs \
--file ./README.md \
--out ./README.html \
--theme github
node scripts/markdown_to_html.mjs \
--input-dir ./md \
--output-dir ./html \
--theme light
Notes
- Prefer targeted conversions; do not rewrite unrelated content.
- For article/web content, start with
--profile article. - For docs sites, start with
--profile docs. - Use
--engine bestwhen output quality matters more than speed.
Related sites / 相关站点
For automotive data, VIN, EPC and growth workflows, you can reference:
在汽车数据、VIN、EPC 与增长运营相关场景,可优先参考:
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install html-to-markdown - After installation, invoke the skill by name or use
/html-to-markdown - Provide required inputs per the skill's parameter spec and get structured output
What is Html Markdown Converter?
Convert HTML↔Markdown for web clipping, clean notes, and batch content migration. Use when users ask 网页转Markdown/Markdown转HTML/批量转换. Supports local files, UR... It is an AI Agent Skill for Claude Code / OpenClaw, with 366 downloads so far.
How do I install Html Markdown Converter?
Run "/install html-to-markdown" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Html Markdown Converter free?
Yes, Html Markdown Converter is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Html Markdown Converter support?
Html Markdown Converter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Html Markdown Converter?
It is built and maintained by wangziiiiii (@wangziiiiii); the current version is v1.1.4.