Inline CSS to Style Tag
Paste HTML with inline styles below.
Paste HTML with inline style attributes and extract them into a <style> tag. Identical declarations share one class, keeping your markup clean and your CSS reusable.
Paste HTML with inline styles below.
Every style attribute is parsed and normalized, then identical declaration sets are grouped under one generated class like .c1. The style attributes are removed, the classes are added to the elements, and a <style> block with all the rules is prepended to the output.
Inline styles cannot be reused, overridden cleanly or cached. Moving them into classes makes HTML emails easier to maintain, shrinks repeated markup, and is the first step toward a proper stylesheet.