<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-markdown</artifactId>
    <version>25.12</version>
</dependency>
copied!  
compile(group: 'com.groupdocs', name: 'groupdocs-markdown', version: '25.12')
copied!  
<dependency org="com.groupdocs" name="groupdocs-markdown" rev="25.12">
    <artifact name="groupdocs-markdown" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.groupdocs" % "groupdocs-markdown" % "25.12"
copied!  

Export documents to Markdown using Java

Product Page | Docs | Release Notes | Examples | Blog | Free Support | Temporary License | Pricing

GroupDocs.Markdown for Java is a native, on-premise Java API to export PDF, Word, Excel, and other formats to clean Markdown. You control your data — no cloud or internet connection required.

Key features

  • Export multiple document formats to Markdown (PDF, DOCX, XLSX, EPUB, and more).
  • Advanced Markdown formatting: headings, paragraphs, lists, tables, links, images, blockquotes, and code blocks.
  • Full control over images: embed images into Markdown or export them separately.

Supported Document File

The supported load file formats of GroupDocs.Markdown for Java are as follows:

PDF: PDF
Microsoft Word®: DOC/DOCX/DOT/DOTM/DOTX/DOCM/RTF
OpenOffice Writer®: ODT/OTT
Microsoft Excel®: XLS/XLSX/XLSB/XLSM/XLT/XLTX/XLTM/XLAM
OpenOffice Calc®: ODS/OTS/FODS
Apple®: NUMBERS
Other Spreadsheet: CSV/TSV/SXC
eBook: AZW3/MOBI/EPUB
Text / Markup / Help: CHM/XML/TXT

For details and limitations please visit, Supported Document Formats.

System Requirements

  • Windows, Linux, or macOS
  • Java 8 (JRE/JDK 1.8) or later

GroupDocs.Markdown for Java does not require any external software or third-party tools. Just follow the steps in the Installation and Configuration guide.

Get Started

GroupDocs hosts all Java APIs at the GroupDocs Repository. You can easily use GroupDocs.Markdown for Java API directly in your Maven projects with simple configurations. For detailed instructions, see Installation.

Sample Java code to Convert DOCX into Markdown

import com.groupdocs.markdown.*;

public class Main {
    public static void main(String[] args) {
        // Set the license (optional)
        License.setLicense("GroupDocs.Markdown.lic");
        
        // Instantiate the converter
        MarkdownConverter converter = new MarkdownConverter("sample.docx");
        
        // Convert and save output to file with embedded images
        converter.convertToFile("result.md");
    }
}

Product Page | Docs | Examples | Blog | Free Support | Temporary License

VersionRelease Date
25.12December 25, 2025