HTML Tidy Library Project

HTML Tidy can check (X)HTML code for compliance with several (X)HTML standards, correct a number of errors automatically, format the code for better readability according to the user's wishes, provide hints regarding accessibility, convert between codepages, and convert bad code that is commonly generated by word processors when exporting to HTML.