HTML Tidy for Windows
HTML Tidy is a tool that was originally written by Dave Raggett of the World Wide Web Consortium (W3C). It is designed to fix mistakes in HTML, tidy up the layout (hence the name), assist with web accessibility, convert HTML to XHTML and many other things.
The software is now maintained by a group of volunteers working as an Open Source Community at Source Forge and this is the place to go for more information.
I try to keep my system virus free but you do check downloaded files yourself, don’t you? These tools do not require any external libraries or environment. Just unzip them to where they are needed, preferably a folder which is in the search path.
This is a command line application so you will need a COMMAND.COM (Command prompt or DOS) window. Make sure that the tidy.exe is in a folder contained in the search path (defined in AUTOEXEC.BAT). The program is run using the command
Read more on using and installing HTML Tidy