Convert style tags to inline css for emails

May 17, 2015 • Last Updated: Apr 23, 2017

While working on some email templates last week I had a nightmare styling HTML for different email clients. GMail definitely doesn’t allow <style> tags in their email markups. The safest best was to include inline style attributes which renders the templates correctly for all email clients.

So here I present you a tool to move the style tags from the HTML to their inline equivalents.

Paste the HTML of your email template in the left box and get the output with inline style attributes in the right.

You can also checkout the source code on github here.