Convert documents between formats. Markdown to PDF, HTML, DOCX. Batch conversion with templates. Free document processing tool.
Convert documents between any format.
Markdown → PDF, HTML, DOCX. And back.
npm install -g @lxgicstudios/docvert
# Markdown to PDF
docvert README.md -f pdf
# HTML to Markdown
docvert page.html -f md
# Batch convert
docvert ./docs/*.md -f pdf -o ./pdfs
# With custom template
docvert doc.md -f pdf --template report
# With CSS styling
docvert doc.md -f html --css style.css
# Table of contents
docvert doc.md -f pdf --toc
# Code syntax highlighting
docvert doc.md -f html --highlight
# Merge multiple files
docvert ch1.md ch2.md ch3.md -f pdf -o book.pdf
# Watch mode (auto-convert on change)
docvert doc.md -f pdf --watch
Built-in templates:
default - Clean, readablereport - Business report styleresume - CV formattingslides - Presentation layoutBuilt by LXGIC Studios
Edit PDFs with natural-language instructions using the nano-pdf CLI.