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:

The HTML tidy configuration options quick reference can be found at:

rss feed

Quick guides

Installing HTML Tidy.


Operating system used
Windows XP Home Edition Version 5.1 SP 2

  1. Download and unzip HTML Tidy for Windows platform.
    tidy.exe is a command line tool.

  2. The directory where tidy.exe is located should be put in your system environment variable PATH.
    e.g.: PATH=..;C:\Tools\tidy;