// Supports converting documents between PDF, Word, Excel, PowerPoint, Project, Images, Web, Email, Metafiles and Diagram file formats.
// Supported file formats: https://docs.groupdocs.com/conversion/java/supported-document-formats/

Converter converter = new Converter("input.pdf");

WordProcessingConvertOptions options = new WordProcessingConvertOptions();

converter.convert("converted.docx", options);