<th> Tag Attributes Remover

Remove attributes from opening HTML <th> tags while keeping the tags and their content intact.

<th> Tag Attributes Remover

Paste HTML below to remove attributes from opening <th> tags.

For example:

<th class="heading" colspan="2">Name</th>

becomes:

<th>Name</th>

Paste your HTML into the input box, click Remove attributes, then use Copy output to copy the cleaned HTML.

Frequently Asked Questions

What attributes are removed?

All attributes on opening <th> tags are removed, including class, id, style, scope, and colspan.

Does it remove the <th> tag or its content?

No. It preserves the opening <th> tag, the cell content, and the closing </th> tag.

Are other tags affected?

No. Only opening <th> tags are targeted.

Does it handle uppercase tags?

Yes. Tags such as <TH scope="col"> are handled too.

12 Views