|HTML tidy is a command line tool which automatically checks html/xhtml/xml pages for mistakes and tidy up sloppy editing into nicely layed out markup. The tool can be used for a very wide range of platforms.
Originally created by Dave Raggett and now maintained by the open source community at Source Forge.
HTML tidy is distributed at no charge for commercial or non-commercial use and made available under the W3C license.
The latest HTML tidy version can be downloaded from: http://tidy.sourceforge.net
The HTML tidy configuration options quick reference can be found at: http://tidy.sourceforge.net/docs/quickref.html