← All text tools

HTML Email Builder and CSS Inliner

Build a responsive table-based HTML email with inline CSS and a live preview, or paste your own HTML and move its style block into inline style attributes.

  • Free
  • No sign-up
  • Works on any device

About HTML Email Builder and CSS Inliner

Email programs ignore much of modern CSS, so a reliable email uses nested tables and inline styles. The builder mode turns a form into such a layout: a coloured header, heading, paragraphs, a bulletproof button, a footer and an invisible preview text, all at a width you choose and shrinking on small screens, with a live preview. The inliner mode takes HTML with a style block, works out which rules apply to which elements, orders them by specificity and writes them into style attributes, keeping hover rules and media queries in a style block because they cannot be inlined.

How to use HTML Email Builder and CSS Inliner

  1. Choose Build to fill in the form, or Inline to paste your own HTML with a style block.
  2. Adjust the text, colours, width and button, or review the inlined result.
  3. Copy or download the HTML and send a test email to a few inboxes before you use it.

Why use this tool?

Also known as

Frequently asked questions

Why must CSS be inline in an email?

Several email programs remove or rewrite style blocks, especially in the Gmail app and older Outlook. Inline style attributes survive almost everywhere, which is why email tools inline the CSS before sending.

What happens to hover and media query rules?

They are copied into a style block in the head and not inlined, because an inline style cannot express a hover state or a screen width. Clients that support style blocks will use them; the others ignore them safely.

Can I add images?

Host the image online and add an img tag with an absolute address, a width and an alt text inside a table cell. The builder leaves images out because most email clients block them until the reader allows it.

Is HTML Email Builder and CSS Inliner free?

Yes. HTML Email Builder and CSS Inliner on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.