Open the site: HTML into Markdown . Drag and drop HTML files to quickly convert them into Markdown. Or just use a code sample in Java with a few lines of code. Install 'Aspose.Words for Java'. Add a library reference (import the library) to your Java project. Open the source HTML file in Java. Call the 'save()' method, passing an output filename with Markdown extension. Get the result of HTML conversion as Markdown.