Original author(s)Dave Raggett
Developer(s)HTML Tidy Advocacy Community Group
Stable release
5.7.28 / 24 March 2021; 7 months ago (24 March 2021)
Written inC
Operating systemBSD, Linux, macOS, Microsoft Windows
TypeLibrary, Console Application
LicenseW3C Software Notice and License Edit this on Wikidata

HTML Tidy is a console application for correcting invalid hypertext markup language (HTML), detecting potential web accessibility errors, and for improving the layout and indent style of the resulting markup. It is also a cross-platform library for computer applications that provides HTML Tidy's features.


HTML Tidy was developed by Dave Raggett of the World Wide Web Consortium (W3C). Later it was released as a SourceForge project in 2003 and managed by various maintainers.

In 2012, the project was moved to GitHub, and maintained by Michael Smith, also of W3C, where HTML5 support was added.

In 2015, the HTML Tidy Advocacy Community Group (HTACG) was formed for management and development of HTML Tidy as a W3C Community Group.

HTML Tidy source code is written in ANSI C for portability. Compiled binary files are available for a variety of platforms. It is available under the W3C Software Notice and License, a permissive BSD-style license. Up-to-date versions are available as source code cloned from its GitHub git version control repository, or in binary packages for multiple operating systems from its GitHub Releases repository.

Examples of corrections to invalid or poorly constructed HTML:

  • Reorder mixed-up tags
  • Complete missing or mismatched end tags
  • Add missing syntax elements (some tags, quotes, ...)
  • Report proprietary HTML extensions
  • Change layout of markup to a predefined style
  • Transform characters from some encodings into HTML entities

See also

This page was last updated at 2021-11-08 02:10 UTC. Update now. View original page.

All our content comes from Wikipedia and under the Creative Commons Attribution-ShareAlike License.


If mathematical, chemical, physical and other formulas are not displayed correctly on this page, please useFirefox or Safari