how to clean up microsoft html doc?

document, html, ms-word

Solution

Try HTML Tidy. I hear it works quite well on HTML generated by MS Word (definitely at least up to Word 2000, but probably on more recent versions too).

Problem

I have quite big document in html format that generated from Microsoft Word. It is soooo messy and full of bloated things (like unknow tag, unknow namespace etc and other bloated things) is there any way to convert it into plain html sytax ?

Original source