Clean your messy markup using ExSponge, an Open Source real-time filtering and cruft-removal plugin for ExpressionEngine.

Paste your
HTML here

(or edit the sample code)

Cleaning
dirty code

(please wait...)

Waiting until
you're done

(cleaning starts when you stop)

Shazam!
Code scrubbed.

(so fresh and so clean clean)

Communication
Error

(please retry later)

ExSponge clears the clutter (Microsoft Word garbage, unwanted styles, layout-breaking tags) and forms tidy paragraphs.

Fine-tune the options below, and track what happens.


ExSponge fixes and filters mostly textual HTML on-the-fly. It may not correct intentionally mangled HTML, but it will efficiently produce markup safe to drop in your layout.

To use ExSponge (with the current filter options) in your own ExpressionEngine site, just install ExSponge and then use the following tag in your template:

{exp:ex_sponge}
    your text here
{/exp:ex_sponge}

Full documentation for this project is available on GitHub.

Compliments? Suggestions? Comments? Need a developer? Drop me a line.

Dirty Code

Preview

(before)

Clean Code

Preview

(after)