/install doc-to-html
Doc To HTML
Convert Word (.doc/.docx) documents to HTML using MinerU.
Install
npm install -g mineru-open-api
# or via Go (macOS/Linux):
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest
Quick Start
# Convert .docx to HTML (requires token)
mineru-open-api extract report.docx -f html -o ./out/
# Convert .doc to HTML (requires token)
mineru-open-api extract report.doc -f html -o ./out/
# With language hint
mineru-open-api extract report.docx -f html --language en -o ./out/
Authentication
Token required:
mineru-open-api auth # Interactive token setup
export MINERU_TOKEN="your-token" # Or via environment variable
Create token at: https://mineru.net/apiManage/token
Capabilities
- Supported input: .doc, .docx (local file or URL)
- Output format: HTML (
-f html) - HTML output requires
extractwith token — not available inflash-extract - Language hint with
--language(default:ch, useenfor English)
Notes
- HTML output (
-f html) is only available viaextractwith token - Output goes to stdout by default; use
-o \x3Cdir>to save to a file - All progress/status messages go to stderr; document content goes to stdout
- MinerU is open-source by OpenDataLab (Shanghai AI Lab): https://github.com/opendatalab/MinerU
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install doc-to-html - After installation, invoke the skill by name or use
/doc-to-html - Provide required inputs per the skill's parameter spec and get structured output
What is Doc To HTML?
Convert Word documents (.doc, .docx) to HTML using MinerU's document processing engine. Produces clean HTML output preserving document structure and formatti... It is an AI Agent Skill for Claude Code / OpenClaw, with 218 downloads so far.
How do I install Doc To HTML?
Run "/install doc-to-html" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Doc To HTML free?
Yes, Doc To HTML is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Doc To HTML support?
Doc To HTML is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Doc To HTML?
It is built and maintained by mzlzyCA (@mzlzyca); the current version is v0.4.0.