MailViewr - Free HTML Email Preview Tool
← CSS Support Index

Does CSS text-justify Work in HTML Email?

Sets what type of justification should be applied to text when `text-align: justify;` is set on an element.

Quick Answer

Does text-justify work in HTML email?

The CSS text-justify property is not supported in any major email client. Use a CSS-agnostic layout approach and set inline fallback styles.

Which Email Clients Support CSS text-justify?

CSS support for text-justify across email clients

Email ClientDesktopMobile / WebNotes
Gmail~ Partial✗ No
Outlook (Windows)~ Partial?
Outlook (Mac / Web)~ Partial✗ No
Apple Mail✗ No✗ No
Yahoo! Mail~ Partial✗ No
Samsung Email?✗ No
Thunderbird??
ProtonMail??
Fastmail??

Notes

  • #1 Buggy. `text-justify` is stripped
  • #2 Partial. Depends on browser support
  • #3 Partial. `text-justify` is stripped except when the value is `inter-character`
  • #4 Partial. `text-justify` is stripped except when the value is `inter-word` or `distribute`
  • #5 Buggy. `text-justify` values `none`, `inter-word` and `distribute` are replaced with `inter-ideograph`

Frequently Asked Questions

Related CSS Properties

Test Your Email Now

Paste your HTML and see how it renders in clients that don't support
text-justify.

Open Email Previewer