logoalt Hacker News

albert_eyesterday at 5:46 PM8 repliesview on HN

What is a good way to convert MS Office documents to markdown -- until Microsoft adds "Saves As" option to office apps.

Anything that can run locally instead of uploading potentially sensitive stuff to random websites. Would be handy on work PCs.


Replies

dotancohenyesterday at 5:50 PM

The canonical answer is Pandoc.

daveoc64yesterday at 6:49 PM

Based on what others have suggested, I've just tried out pandoc for this, and it's produced really good results in CommonMark from some quite hideous Word documents.

ckchengyesterday at 5:51 PM

You could open the doc or docx in LibreOffice 26.2 and use its Markdown export feature?

show 1 reply
KETHERCORTEXyesterday at 5:56 PM

> until Microsoft adds "Saves As" option to office apps

LibreOffice also allows to convert documents via command line, so there's one more bonus.

layer8yesterday at 6:17 PM

If you like to have it integrated in Word: https://www.writage.com/features/

justsomehnguyyesterday at 7:50 PM

Copy-paste it to Obsidian.

ilogikyesterday at 7:20 PM

Microsoft added markdown support to Notepad, and that went well /s