Back to Free Tools
FREE TOOLS
HTML Attribute Filter
Remove selected attributes from inert parsed HTML and download the complete removal report.
Pasted text or explicit color fields
filtered.html, removed-attributes.json
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Enter the admitted values using the labeled input fields.
- Choose the explicit operation and options, then inspect the stated conventions and limits.
- Select Filter HTML attributes and download filtered.html, removed-attributes.json.
Examples
Removing class from <p class="a" data-x="1">Hello</p> keeps data-x and the text.
Limitations
- 200,000 input UTF-16 units / 800,000 UTF-8 bytes; 100,000 nodes; 100 levels; 50,000 removals and 5 MiB combined output. Parser normalization applies. Attribute removal does not certify safe-to-execute HTML.
Related tools
No items found.