Tidy Binaries

Web Developers

If you are comfortable using Tidy and the command prompt already, all you need is this exe. If you are a beginner you may want this installer that includes Dave Raggett's overview and a quick reference to all of Tidy's options.

Getting Started

New to Tidy? Install one of the packages above, then open up a command (DOS) window. If you're under Windows 2000/XP, you can find this under Start->All Programs->Accessories->Command Prompt. When it opens, run tidy -h to get a quick and dirty reference on how to use it. You can also check out Dave Raggett's overview which is an excellent resource for beginners.

GUI Versions

If you aren't comfortable with the command line you can try out HTMLTrim or TidyUI. If you want a full web IDE tsWebEditor and TopStyle Pro both have Tidy integrated in them.

C/C++ Programmers

The binaries below are all compiled with Visual C++ 2005, so the import libraries will only work for that compiler. A .def is included, and can be used to generate import libraries for your compiler (Visual C++ comes with lib.exe).

Hash Table Versions

For large documents, the hash table versions can be *much* faster. Tidying a complex ~40MiB XML document took 18 minutes to finish, while with the hash table version it took just 14 seconds. For small documents you won't notice much difference. It comes with a catch though - if you declare new elements after a parsing run (via setting TidyBlockTags etc), it can break. As long as you don't do that or just keep from re-using a TidyDoc, you are safe.

64-bit Versions

Using the same ~40MiB document as above, the 64-bit version is approximately 35% faster. This does, however, come with a tradeoff: it also uses roughly 25% more memory. Tidy is also widely untested on 64-bit Windows.

Note

These are no longer built on the vanilla Tidy sources- they include a patch to make them more friendly to DLLs. This also breaks any binary compatibility with builds prior to 02/23/05. The filenames have changed also, mainly to keep users from attempting to copy them over an old build. They are now tidy.dll, tidy.lib, and tidy.def.

Last Updated File Description Size
April 5th, 2006 tidy-exe.zip Command-line EXE. 135KiB
April 5th, 2006 tidy-exe-x64.zip Command-line EXE for Windows x64 Edition. 192KiB
April 5th, 2006 tidy-dll.zip DLL with import library and headers. 179KiB
April 5th, 2006 tidy-dll-x64.zip DLL with import library and headers for Windows x64 Edition. 241KiB
April 5th, 2006 tidy-dll-fast.zip DLL with import library and headers. Uses hash tables. 179KiB
April 5th, 2006 tidy-dll-fast-x64.zip DLL with import library and headers for Windows x64 Edition. Uses hash tables. 241KiB
April 5th, 2006 tidy-src.zip Source code to build all above binaries. 258KiB
Bug reports for tidy should be reported at the tidy forums.
Any other problems? E-Mail me at phrosty@gmail.com.
int64.org - When 4GiB of RAM just isn't enough.SourceForge.net Logo