Clean Up Your HTML with Free Utilities
If you work with HTML a lot, it’s worth keeping an eye on the many free, targeted utilities you can use to work more efficiently. There are utilities that automatically help you clean up your HTML (they can take, say, an off-kilter blog page and render it pristine again), convert HTML to text and vice-versa, or do focused tasks such as removing JavaScript from a file. In this post, I’ll round up three very useful ones.

It’s easy to have mistakes creep into your HTML documents, and one of the best free, automated ways to target mistakes and fix them is HTML Tidy. A group of open-source volunteers keeps this program fresh. The program can automatically clean up most types of HTML mistakes you make, but it also alerts you when it has no fix and points to what you need to fix yourself. If you’re into maximum control, you can tell HTML tidy to do nothing but point to errors so that you can fix them. You can see examples of how the program works online.
Especially if you use and reuse the same HTML templates a lot, you can end up with a lot of advertisement-related baggage, unwanted frames, and scripts that you don’t need and more. To clean these kinds of unwanted items out of an HTML file automatically, try HTML Stripper. It’s a free application, and is especially good at weeding out frames and scripts that have become extraneous in a document.
For HTML documents containing many URLs, utilities that can check a large group of them and identify any broken links can be very helpful. I like Link Sleuth for this application. It can produce reports that summarize broken links, identify redirected links, and more.
Do you know of any good HTML utilities?
Related research and analysis from GigaOM Pro:
Subscriber content. Sign up for a free trial.

I like to use HTML compressors sometimes. Like Absolute HTML Compressor.
They don’t do much, but I like thinking that my pages load fast. :) It can get rid of HTML comments, unnecessary quotation marks, META tags you don’t want and a few other things.
I also like using the W3C HTML Validator, because I like having correct HTML. :) I’m weird like that.
I’m actually looking for a tool that can “normalize” the css used in a page. I mean merging styles into one and removing unused styles. Do you know anything doing this?
Hey Gluca
Thanks for reminding me about that! I almost forgot about one site I had like that in my del.icio.us.
http://www.cleancss.com