Comment by albert_e

2 months ago

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.

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.

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

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

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

I don't know about converting PowerPoint and Excel to Markdown, but for Word, I'd say open the file in LibreOffice Writer 26.2, and save as Markdown.

Alternatively, use pandoc, and save the command in a .sh or .ps1 to remember.

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

  • Thanks

    This might be useful on a personal PC -- licence seems expensive, though I like it being a one time purchase and not monthly subscription.

    Will look to do the free trial to evaluate. (Hope we see more such tooling, and also push the likes of Microsoft to add native support)

    My main usecase is on work PC though where I wont be able to install additional software or plugins. So was exploring python scripts and the like.

    Thanks for the pointer.