Paste in indented code; this will elide/remove attributes. Help below.

characters
Attribute Leave Elide long Elide all Remove

How to use

This will remove attributes from HTML code or elide them (replace their values with ellipses).

  1. Paste some indented HTML code into the text area.
  2. Optionally change the default cut-off for "long" attribute values using the text box.
  3. Press Analyse Code; the attributes in the code will be listed in the table below the button.
  4. Choose how you want to filter each value of each attribute; either…
    • leave it alone (the default for short attributes),
    • elide it if it's long (the default for long attributes),
    • elide it anyway, or
    • remove the attribute and value.
  5. Press Filter Code; the code in the text area will be modified accordingly.
  6. Repeat this process as often as you like.