Remove attributes from HTML <td> tags while keeping the table content intact. Paste your HTML, click Remove attributes, then copy the cleaned output.
<td> Tag Attributes Remover
Remove attributes from opening <td> tags while keeping their content and other HTML unchanged.
For example:
<td class="price" style="color: red;" colspan="2">£20</td>
becomes:
<td>£20</td>
The tool removes attributes from opening <td> tags only. It preserves the cell content, closing tags, and attributes on other HTML elements.
How to use?
- Paste your HTML into the input box.
- Click Remove attributes.
- Review the updated HTML.
- Click Copy output to copy it to your clipboard.
Frequently Asked Questions
What attributes are removed?
All attributes on opening <td> tags, such as class, style, colspan, rowspan, and data-*.
Does it remove the <td> tags?
No. It keeps the opening and closing tags and the content inside each cell.
Are attributes on other tags affected?
No. Attributes on tags such as <table>, <tr>, and <th> remain unchanged.
Does it work with uppercase <TD> tags?
Yes. It handles <td> tags regardless of letter case.
Is the input sent to a server?
The tool’s browser-based code can process the HTML locally. Avoid entering sensitive content on websites unless you trust their privacy practices.