Notices: This section not yet converted to new layout. Download stats are rolling back out.

HTML Tidy with HTML5 support


Package test results are passing.

This package was approved as a trusted package on 1/21/2018.

Tidy is a console application for Mac OS X, Linux, Windows, UNIX, and more. It corrects and cleans up HTML and XML documents by fixing markup errors and upgrading legacy code to modern standards.

libtidy is a C static and dynamic library that developers can integrate into their applications in order to bring all of Tidy’s power to your favorite tools. libtidy is used today in desktop applications, web servers, and more.

The HTML Tidy library, libtidy, is used and incorporated into many applications and projects. It offers an extensive API to read in and parse html from a file or buffer into a DOM like node tree, has cleaning and diagnostic services, ability to iterate through this node tree, interogating attributes, child nodes, and a pretty print output.

To install HTML Tidy with HTML5 support, run the following command from the command line or from PowerShell:

C:\> choco install html-tidy

To upgrade HTML Tidy with HTML5 support, run the following command from the command line or from PowerShell:

C:\> choco upgrade html-tidy


  • legal\LICENSE.txt Show
    # HTML Tidy
    ## HTML parser and pretty printer
    Copyright (c) 1998-2016 World Wide Web Consortium
    (Massachusetts Institute of Technology, European Research 
    Consortium for Informatics and Mathematics, Keio University).
    All Rights Reserved.
    Additional contributions (c) 2001-2016 University of Toronto, Terry Teague, 
    @geoffmcl, HTACG, and others.
    ### Contributing Author(s):
      Dave Raggett <[email protected]>
    The contributing author(s) would like to thank all those who
    helped with testing, bug fixes and suggestions for improvements. 
    This wouldn't have been possible without your help.
    This software and documentation is provided "as is," and
    the copyright holders and contributing author(s) make no
    representations or warranties, express or implied, including
    but not limited to, warranties of merchantability or fitness
    for any particular purpose or that the use of the software or
    documentation will not infringe any third party patents,
    copyrights, trademarks or other rights. 
    The copyright holders and contributing author(s) will not be held
    liable for any direct, indirect, special or consequential damages
    arising out of any use of the software or documentation, even if
    advised of the possibility of such damage.
    Permission is hereby granted to use, copy, modify, and distribute
    this source code, or portions hereof, documentation and executables,
    for any purpose, without fee, subject to the following restrictions:
    1. The origin of this source code must not be misrepresented.
    2. Altered versions must be plainly marked as such and must
    not be misrepresented as being the original source.
    3. This Copyright notice may not be removed or altered from any
    source or altered source distribution.
    The copyright holders and contributing author(s) specifically
    permit, without fee, and encourage the use of this source code
    as a component for supporting the Hypertext Markup Language in
    commercial products. If you use this source code in a product,
    acknowledgement is not required but would be appreciated.
  • legal\VERIFICATION.txt Show
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
    Package can be verified like this:
    1. Go to
       to download the installer.
    2. You can use one of the following methods to obtain the SHA256 checksum:
       - Use powershell function 'Get-FileHash'
       - Use Chocolatey utility 'checksum.exe'
       checksum32: 03C8AE9359290A3523D9FD5131456E670D2BC2564FB20AED7C6456F86B8433E2
       checksum64: 59AC22427A3D759C72108814F6A8F0E98511B12F87744CA19E0A500A00687BE8
    Using AU:
    File '' is obtained from:
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $toolsPath = Split-Path $MyInvocation.MyCommand.Definition
    $packageArgs = @{
        PackageName    = 'html-tidy'
        FileFullPath   = gi $toolsPath\*
        FileFullPath64 = gi $toolsPath\*
        Destination    = $toolsPath
    ls $toolsPath\* | ? { $_.PSISContainer } | rm -Recurse -Force #remove older package dirs
    Get-ChocolateyUnzip @packageArgs
    rm $toolsPath\*.zip -ea 0
  • tools\ Show
    md5: 959CA6141001D5C1A3C809664F558F5C | sha1: 7A82AD3BCE4CEFA18CCAE5D2D93DDD32D221581B | sha256: 03C8AE9359290A3523D9FD5131456E670D2BC2564FB20AED7C6456F86B8433E2 | sha512: 0D2E35678A692C9C22863B227E2B5C337CBD08C81103F58611DAF2471886CECF0F74A1B2F03DA8F3AF3A12833232D55BE66C95088D28EDDF9325FF0676B3D017
  • tools\ Show
    md5: 2F1E7DC31FDE25F27E2BC657A78527BC | sha1: 0233523CEE6B4DC3A699F853BE707ABF4D622646 | sha256: 59AC22427A3D759C72108814F6A8F0E98511B12F87744CA19E0A500A00687BE8 | sha512: 683C966B6E74B5F51BE253AA691E6CE86B81FC2EDAF5B6088191EE80D8DBEE920C8F0E139959F3B5F56115FCF3C1166E987CD8724534C101E1824EBB35A4F3C7

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


Package Maintainer(s)

Software Author(s)





Release Notes

Version History

Version Downloads Last updated Status
HTML Tidy with HTML5 support 5.4.0 429 Wednesday, March 1, 2017 approved
HTML Tidy with HTML5 support 84 Wednesday, March 1, 2017 approved
HTML Tidy with HTML5 support 75 Tuesday, February 28, 2017 approved
HTML Tidy with HTML5 support 303 Sunday, August 7, 2016 approved
HTML Tidy with HTML5 support 5.2.0 164 Wednesday, April 13, 2016 approved
HTML Tidy with HTML5 support 5.1.25 134 Saturday, March 12, 2016 approved

Discussion for the HTML Tidy with HTML5 support Package

Ground rules:

  • This discussion is only about HTML Tidy with HTML5 support and the HTML Tidy with HTML5 support package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or HTML Tidy with HTML5 support, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.