# GroupDocs.Markdown for .NET overview GroupDocs.Markdown for .NET converts documents to clean, structured Markdown with full control over output flavor, image handling, and formatting. ## What is GroupDocs.Markdown? GroupDocs.Markdown is a .NET library that converts documents from 20+ formats (PDF, Word, Excel, EPUB, TXT, CHM) into clean, structured Markdown. It uses a custom DOM-based renderer that gives full control over every aspect of the output. Designed for AI/ML workflows, static site generators, and document processing pipelines — Markdown is the ideal format for language models, text analysis tools, and content management systems. ## Key capabilities | Capability | Description | |---|---| | **20+ input formats** | PDF, DOCX, DOC, XLSX, XLS, CSV, EPUB, MOBI, TXT, CHM, RTF, ODT, and more | | **Markdown flavors** | [GitHub Flavored Markdown or CommonMark]({{< ref "markdown/net/developer-guide/advanced-usage/markdown-flavor" >}}) | | **Image handling** | [Base64 embed, file system, skip, or custom]({{< ref "markdown/net/developer-guide/advanced-usage/strategy/" >}}) with relative paths and image replacement | | **YAML front matter** | [Auto-extract metadata]({{< ref "markdown/net/developer-guide/advanced-usage/front-matter" >}}) for Jekyll, Hugo, Docusaurus | | **Document inspection** | [Read format, pages, title, author]({{< ref "markdown/net/developer-guide/basic-usage/get-document-info" >}}) without converting | | **Spreadsheet control** | [Column/row truncation]({{< ref "markdown/net/developer-guide/advanced-usage/spreadsheet-options" >}}), sheet separators, hidden sheet filtering | | **Heading offset** | [Shift heading levels]({{< ref "markdown/net/developer-guide/advanced-usage/heading-offset" >}}) for content embedding | | **Async API** | [Non-blocking conversion]({{< ref "markdown/net/developer-guide/advanced-usage/async-api" >}}) for web and serverless | | **Error handling** | [Specific exception types]({{< ref "markdown/net/developer-guide/advanced-usage/error-handling" >}}) and conversion warnings | ## Quick example {{< tabs "quick-example" >}} {{< tab "C#" >}} ```csharp using GroupDocs.Markdown; // One-liner string md = MarkdownConverter.ToMarkdown("business-plan.docx"); // # Quarterly Report // // ## Executive Summary // // This report covers the key initiatives... // With options var options = new ConvertOptions { Flavor = MarkdownFlavor.GitHub, IncludeFrontMatter = true, HeadingLevelOffset = 1 }; MarkdownConverter.ToFile("business-plan.docx", "quick-example.md", options); ``` {{< /tab >}} {{< tab "business-plan.docx" >}} {{< tab-text >}} `business-plan.docx` is a sample file used in this example. Click [here](https://docs.groupdocs.com/markdown/net/_sample_files/business-plan.docx) to download it. {{< /tab-text >}} {{< /tab >}} {{< tab "quick-example.md" >}} ```text --- title: "Meridian Outdoor Co. — Business Plan" author: "Meridian Outdoor Co." format: Docx pages: 5 --- ![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAC0CAYAAABIf1IMAAAABHNCSVQICAgIfAhkiAAADcJJREFUeJzt3VFo3VWeB/BfF2EfdJraSWKkpovabiokaRZcfWiM4jCS0mELjvgwzlZt16fdlUFpKbLCgDKELQ7Oum+yNdYdH4StCLMkdBexSfow7sC0SUA7TZVJW0zbWI1OF/ap+xD+/97k/u/Nze1JbJLPBwo9/3vu/Z1/L5Qv55x7/uumJkauBQAAyfzZdz0AAIDVRsACAEhMwAIASEzAAgBI7Jaii//67/8dZ89dSlbkH576Qdy7+Y4F+6Wqq5566qmnnnrqqbdc9YoUBqyJyYsxevrcDQ2q1LdX/6 [TRUNCATED] ``` [Download full output](https://docs.groupdocs.com/markdown/net/_output_files/product-overview/QuickExample/quick-example.md) {{< /tab >}} {{< /tabs >}} ## Platform support - Windows, Linux, macOS - .NET Framework 4.6.2+ - .NET 6.0, 8.0, 10.0 ## Get started - [Quick start guide]({{< ref "markdown/net/getting-started/quick-start-guide" >}}) - [Installation]({{< ref "markdown/net/getting-started/installation" >}}) - [Features overview]({{< ref "markdown/net/getting-started/features-overview" >}}) - [API Reference](https://reference.groupdocs.com/markdown/net)