Which styles need to move inline before you send?
Paste your newsletter's HTML with its style block. The rules are written into each element's style attribute, the way the CSS cascade would apply them, and whatever cannot be inlined stays in a style block and is listed.
What it does
- Moves rules inline. Each rule in the style block is written into the style attribute of every element it matches. Supported selectors: element, class, id, attribute (all six operators), the universal selector, descendant, child and sibling combinators, and several selectors in one rule.
- Follows the cascade. When two rules set the same property, the more specific one wins, counted as Selectors Level 4 says: ids, then classes, attributes and pseudo-classes, then element names. With equal specificity the later rule wins. A style already on the element beats the style block unless the block says !important, as in CSS Cascade Level 4.
- Keeps what cannot be inlined. Media queries, :hover and other pseudo-classes, ::before and other pseudo-elements, and font declarations stay in a style block, and the list below the result says which and why.
- Never runs your HTML. The code is read as text. Scripts are not run and nothing is loaded, not even images.
What it does not do
It does not check what an email app supports. It moves your CSS as it is; a property that an app ignores is ignored inline too.
It does not look inside comments, so HTML in Outlook conditional comments (<!--[if mso]>) is left as it is.
Rules kept in the style block lose to inline styles unless they use !important. That is why responsive rules in media queries usually carry !important.
Inline styles make the HTML bigger. The email size checker shows how heavy the result is.
Questions
Why inline the CSS at all?
Many email apps remove or ignore the style block, while a style attribute on each element travels with it. Inlining is the safe default; keep the style block as well for the apps that do read it.
Why did a rule end up with no effect?
Another rule set the same property with a higher specificity, or the element already had that property in its own style attribute. The result follows the same order a browser uses.
Is it safe to paste HTML from someone else?
Yes. The page treats the HTML as text and never puts it into the page, so a script inside it cannot run.
Is my newsletter uploaded?
No. Everything happens in your browser and the page sends nothing to a server.