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.
The canonical answer is Pandoc.
https://github.com/microsoft/markitdown
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?
Libreoffice cannot be installed on work PC
Then instead of asking here, ask whoever controls what software you can install.
1 reply →
You can put it on and USB stick, see e.g. https://portableapps.com/, this includes a package manger and other tools.
2 replies →
Then talk to whoever manages your machines.
Ah yes, your workplace is under the control of the Microsoft Priesthood who have declared that the masses under their thumb will adhere to the law of Redmond, that no other religion will be tolerated. You need to find a better place to work.
> 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.
Copy-paste it to Obsidian.
Oh? Let me check. That would be wonderful
Microsoft added markdown support to Notepad, and that went well /s