DocToolkit

Convert HTML and Markdown → DOCX and PDF, export DOCX → HTML/Markdown and XLSX → CSV/HTML, read text back out of a PDF, and open/edit DOCX, XLSX and PPTX, from .NET.

Pure managed. No native binaries, no browser, no LibreOffice, no Office interop. Works after dotnet restore alone, runs on Linux, and makes no network calls at runtime. Verified trim-safe and native-AOT compatible by publishing and running the real thing in CI.

dotnet add package Ank.DocToolkit

Targets net8.0 and net10.0. MIT licensed.

Start here

Two packages

See the GitHub repository for source, runnable samples (samples/), and the full README.