Quick Answer
You can’t enter raw HTML code directly into Outlook emails. But you *can* embed pre-rendered HTML content using the Insert tab → Object → Create from File, or by pasting into Word first (File > Options > Mail > Editor Options > Microsoft Word > OK), then copying formatted output back. That’s the only reliable method in Outlook desktop.Step-by-Step Walkthrough
- Open Outlook Desktop (365 or 2019 — this does NOT work in Outlook Web App or mobile). Go to File > Options > Mail.
- Under Compose messages, click Editor Options… (not “Spelling and Style” — that’s a different button).
- In the new window, go to Advanced > scroll down to Editing options > check Use the Insert key to control overtype mode — irrelevant here, but people click it by accident. Ignore it.
- Instead, go to General > under Start up options, verify Microsoft Word is selected as your email editor. Click OK.
- Now open Word separately. Paste your raw HTML into a blank Word doc — e.g.,
<p><strong>Deadline moved to Friday</strong></p>. Word renders it instantly. - Select the rendered text in Word. Press Ctrl+C. Switch to your Outlook message. Press Ctrl+V. It arrives bold, sized, and styled — no tags visible.
- For reusable templates: Save that Word doc. Reuse it. Don’t save HTML files and try to attach them — that won’t render in the email body.
Common Pitfalls
- You paste HTML into Outlook’s body and expect it to render. It never will. Outlook strips all script, style blocks, and most inline styles on send — even if they look right before hitting Send.
- You use Outlook Web App (OWA) and try the Word trick. OWA has no Word integration. Paste into Word first? Yes. Copy back to OWA? No — formatting collapses. You’ll get plain text or broken layout.
- You try Insert > Hyperlink and type
javascript:alert('x')in the Address field. Outlook blocks JavaScript outright. You’ll see an error: “This operation has been cancelled due to restrictions.” - You assume Alt+H, I, O (Insert > Object) lets you drop in HTML files. It doesn’t. Selecting an .html file opens it in your browser — not embedded in the email.
Pro Tips
Most people don’t know this: Outlook uses Word’s rendering engine — not its own. So anything Word supports, Outlook *can* show — but only if Word processes it first.
If you need consistent spacing or bullet styles across dozens of emails, build a Word template with Styles applied (e.g., “Email Heading”, “Callout Text”). Save it as email-template.dotx. Then in Outlook, after setting Word as editor, go to File > New > More Items > Choose Form > browse to your .dotx. It loads pre-styled.
Surprising tip: If you have Outlook 365 with VBA enabled (and admin allows it), you *can* automate HTML insertion using a macro that pastes into Word, renders, copies, and pastes back — but 98% of corporate environments disable VBA by Group Policy. Don’t waste time unless you’ve confirmed HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security\VBAWarnings = 1.
Troubleshooting
If the Word method fails:
- Outlook version matters. Outlook 2016 and earlier require Word 2016 or later. Outlook 365 defaults to Word Online in some tenant configs — which breaks rendering. Check via File > Account: under “Product Information”, confirm it says “Microsoft Word (Desktop)” — not “Word for the web”.
- Group Policy blocks Word as editor. Your IT team may enforce
DisableWordMailin Group Policy (Computer Configuration\Policies\Administrative Templates\Microsoft Office\Outlook\Security). If so, the Editor Options… button is grayed out. No workaround exists without admin rights. - You’re using Outlook for Mac. It has no Word integration. HTML paste is ignored. Your only option: compose in Safari/Chrome, copy rendered output, paste into Outlook for Mac — but font, color, and width often shift. Test with recipients using Windows Outlook.
- Your HTML includes external CSS or images hosted online. Outlook blocks remote resources by default. Embedded base64 images work — but only up to ~100KB. Larger ones break or vanish after send.
Here’s how methods actually perform across real-world use cases:
| Method | Works in Outlook Desktop? | Works in Outlook Web? | Preserves Fonts/Colors? | Admin Block Risk |
|---|---|---|---|---|
| Paste raw HTML into body | ✗ | ✗ | ✗ | Low |
| Paste into Word → Copy → Paste into Outlook | ✓ (365/2019/2016) | ✗ | ✓ (mostly) | Medium (if Word disabled) |
| Insert > Object > Text from File (.htm) | ✗ (opens browser) | ✗ | ✗ | Low |
| Use Outlook’s built-in formatting toolbar | ✓ | ✓ | ✓ (limited) | None |
| VBA macro with Word automation | ✓ (if enabled) | ✗ | ✓ | High (GPO blocks 90% of orgs) |
| Copy rendered HTML from Chrome DevTools | ✓ (partial) | ✗ | ⚠ (fonts reset) | Low |
Next step: Open Outlook now. Confirm Word is set as your editor. Try pasting <span style="color:red">Test</span> into Word — then copy-paste into a new email. If it shows red, you’re good. If not, check your Group Policy or ask IT whether DisableWordMail is enforced.