Free tool

Email dark mode tester

Paste your email’s HTML and see how it looks when Apple Mail, Outlook and Gmail switch to dark mode. A checklist flags the code that controls how each one recolors your email.

Your code stays in your browser and is never uploaded.

Tester

Paste the full HTML, drop an .html file onto the box or upload one. The previews update as you type.

Dark mode checklist

What your code tells each email app to do.

    Previews

    Simulations of how each approach recolors your email. Always confirm on real devices before you send.

    How it works

    Three ways email apps handle dark mode.

    Your own dark styles

    Apple Mail, iOS Mail and Outlook for Mac use your @media (prefers-color-scheme: dark) styles, as long as the email declares a color scheme. This is the only approach where you choose the colors.

    Partial inversion

    Outlook.com, the Outlook apps and Gmail for Android darken light backgrounds and lighten dark text, but leave dark areas alone. Outlook.com also follows your [data-ogsc] and [data-ogsb] rules.

    Full inversion

    Gmail for iOS and Outlook for Windows flip almost every color and ignore your dark styles. You can’t switch it off, so logos, buttons and brand colors need to hold up after the flip.

    Dark mode breaking your emails?

    Send me the HTML and I’ll make sure it holds up in Apple Mail, Outlook and Gmail, with a fixed quote before any work starts.