HTML Cleaner
Cleaned HTML
0 charactersCleaning options
Strip every attribute from every element, including useful links and image data.
Remove inline style attributes.
Remove class attributes while keeping other attributes.
Remove id attributes while keeping other attributes.
Remove onclick and other on* handlers.
Delete HTML comments from the output.
Delete tags with no content or child elements.
Strip all HTML tags while keeping readable text. Script and style contents are discarded.
Join lines with spaces so words do not run together.
Trim spaces and tabs at the start and end of each line.
Turn repeated spaces and tabs into one space.
Delete blank lines from the result.
Indent nested elements for easier reading.