The support of markdown files by word processing editors has increased its usage at a large scale. Hence the conversion of existing text content into markdown format is often demanded. This article discusses how to programmatically convert Word documents into markdown files in Java.