tidy-html5
« Back to VersTracker
Description:
Granddaddy of HTML tools, with support for modern standards
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: html formatter linter web-development cli
Install: brew install tidy-html5
About:
Tidy HTML5 is a command-line tool and library for cleaning and fixing HTML markup. It corrects common coding errors, such as improperly nested tags and missing attributes, ensuring standards-compliant output. Its main value proposition is transforming messy legacy HTML into clean, well-structured code suitable for modern web development.
Key Features:
  • Cleans and indents messy HTML for readability
  • Fixes malformed markup and corrects nesting errors
  • Converts legacy HTML4/XHTML to modern HTML5
  • Validates markup against standards
Use Cases:
  • Cleaning up HTML exported from word processors or WYSIWYG editors
  • Standardizing codebases before refactoring or migration
  • Preparing web scrapes for reliable data parsing
Alternatives:
  • Prettier – Prettier is a general code formatter that also handles HTML, but Tidy is more specialized for fixing malformed markup and legacy conversions.
  • HTML Tidy (Original) – Tidy HTML5 is the modern, actively maintained successor to the original HTML Tidy project.
Version History
Detected Version Rev Change Commit
Sep 10, 2025 9:14am 0 VERSION_BUMP 013ea83c