Skip to content
UniKit

Table markup cleaner

Table markup cleaner with local processing and strict input validation.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Text

Result

The result was generated locally.

Enter text to process

What this tool does

  • Strip id, style and class attributes from table tags only (table, tr, td, th and friends), leaving the tag structure alone.
  • Each of the three attributes can be kept or removed on its own, and the same attributes on non-table tags such as div are left untouched.
  • Handy for cleaning table HTML copied from a web page before pasting it into an email or CMS.

Example

Input

<table id="x"><tr><td>A</td></tr></table>

Output

<table><tr><td>A</td></tr></table>

All processing runs locally and invalid input is rejected explicitly.

Frequently asked questions

Is empty input supported?

Yes, it returns an empty result.

How is invalid input handled?

An explicit invalid-input or invalid-options error is returned.

Is data uploaded?

No, processing runs locally in the browser.

Keywords:Table markup cleanertext cleaninglocal tool

Related tools