Blog
Wild & Free Tools

Convert HTML Email to Plain Text or Markdown

Last updated: March 2026 5 min read
Quick Answer

Table of Contents

  1. When You Need Plain Text from HTML Email
  2. How to Get the Email HTML
  3. Running the Conversion
  4. What Converts Well
  5. Alternatives
  6. Frequently Asked Questions

HTML emails are formatted for display in an email client. When you need to work with the content — save it to notes, archive it, copy it into a document, or process it — the HTML markup becomes noise. Angle brackets, style attributes, and table layouts that make the email look good in Gmail make a mess everywhere else.

Converting to plain text or Markdown extracts the content with structure intact and markup gone.

When Would You Convert an HTML Email?

How to Get the HTML Source of an Email

Different email clients expose the HTML differently:

Gmail — Open the email. Click the three-dot menu (More) → "Show original." The full message source opens. Find the HTML section (search for <body>) and copy the HTML content block.

Outlook (desktop) — Open the email. File → Properties → The Internet Headers field shows the raw email. For the HTML body specifically, you may need to forward the email as attachment, then open the .eml file in a text editor.

Outlook (web) — Click the three-dot menu → View → View message source. Copy the HTML body content.

Apple Mail — View → Message → Raw Source. The HTML is embedded in the multipart email format; find the section between <html> and </html>.

An easier method for any client: forward the email to yourself, open it in a browser-based client (Gmail, Outlook Web), and use Inspect Element to copy the email body HTML.

Sell Custom Apparel — We Handle Printing & Free Shipping

How to Convert Email HTML to Markdown

  1. Copy the HTML from the email source (body content, not the full raw message with headers).
  2. Paste into the converter input area.
  3. Click "Convert to Markdown."
  4. Review the output. Marketing emails often have table-heavy layouts that may not convert perfectly — focus on the text content sections. Transactional emails (receipts, confirmations) usually have cleaner HTML and convert well.
  5. Copy the Markdown or download as .md.

The converter strips style attributes, class names, and inline CSS. Script tags are removed. What remains is the content structure — headings, paragraphs, bold text, links, and lists.

What Email Content Converts Well (and What Doesn't)

Converts well:

Converts less cleanly:

For marketing emails, focus on copying just the article or text section of the email rather than the full HTML. This gives a much cleaner conversion result.

Other Ways to Get Plain Text from HTML Email

If you frequently need plain text from emails, a few workflows:

For one-off conversions: the browser tool is the fastest route. For frequent conversion: consider a script that processes .eml files using a library that handles the MIME structure and HTML extraction.

Convert HTML Email to Plain Text

Paste the email HTML. Get clean Markdown. Free, no signup, instant.

Open Free HTML to Markdown Converter

Frequently Asked Questions

How do I convert an HTML email to plain text?

Get the email HTML source (from Gmail: More → Show original; look for the <body> section). Paste into the HTML to Markdown converter. The output is clean Markdown/plain text.

Can I strip HTML formatting from email in Gmail?

Gmail does not have a built-in HTML strip for email body content. Use the Show Original feature to get the raw HTML, then convert it with the browser tool.

Will the converter handle table-heavy marketing emails?

Partially. Table-based layouts produce fragmented output. For best results, copy only the article or text content section of the email, not the full HTML.

Can I convert email HTML to Markdown for use in Obsidian or Notion?

Yes. Convert the email HTML to Markdown, then paste the output into your Obsidian note or Notion page. Both apps render Markdown paste correctly.

Andrew Walsh
Andrew Walsh Developer Tools & API Writer

Andrew worked as a developer advocate at two SaaS startups writing API documentation used by thousands of engineers.

More articles by Andrew →
Launch Your Own Clothing Brand — No Inventory, No Risk