HTML Tag Cleaner

Easily clean up messy or pasted HTML by removing unwanted tags and attributes. Whether you're dealing with content from Word documents, WYSIWYG editors, or copy-paste bloat, this tool helps streamline your markup.

Select which tags to keep, choose whether to strip attributes or preserve useful ones like class and data-*, and optionally remove entire tag contents (such as scripts or styles). You can also normalize whitespace and preview beautifully formatted, cleaned HTML with proper indentation.

Tags to Keep