---
title: "Copy Markdown as formatted text into Mail, Pages or Word"
author: Pedro Thomaz
source: https://coffeetext.app/blog/copy-markdown-formatted-text-mac
---

# Copy Markdown as formatted text into Mail, Pages or Word

> Checked November 2026 on macOS 26.

You wrote it in Markdown, and now it has to go into an email. Copy the text, paste it into Mail, and the person on the other end gets `**Friday**` with the asterisks and `## Agenda` with the hash signs.

That happens because most Markdown editors copy what's in the file, which is plain text. Mail, Pages and Word want formatted text, so they need the rendered version: the one where Friday is bold and Agenda is a heading.

There are three ways to get it.

## Copy from a preview

Most Markdown apps have a preview that shows the note formatted. Select the text there instead of in the editor, copy it, and many apps put the formatting on the clipboard along with it.

Whether they do depends on the app, so try it once with a line that has bold, a list and a link, and paste it into Mail to see what arrives.

In Coffee, Copy in Preview always copies the formatting:

1. Press ⌘/ to switch the note to Preview.
2. Select the text and press ⌘C.
3. Paste into Mail, Pages, Word or a web form.

Headings, bold, italics, lists and links come out formatted. The clipboard holds the Markdown too, so the app you paste into takes what it understands. Paste into Terminal, a code editor or another Coffee note and you get the Markdown exactly as you wrote it, links and tags included.

In the Markdown view, Copy gives the Markdown only, so you choose by where you copy from.

## Export to HTML or Word first

For a long document, or one with tables and pictures, export the whole note and open the result. A Word file opens in Pages or Word with real headings and lists. An HTML file opens in a browser, and from there you can copy formatted text into almost anything.

There's more on that in [Markdown to Word](https://coffeetext.app/blog/markdown-to-word-docx-mac) and [Markdown to HTML](https://coffeetext.app/blog/markdown-to-html-mac).

## Use Pandoc

If you live in Terminal, [Pandoc](https://pandoc.org/) converts Markdown to HTML or Word:

```
pandoc notes.md -o notes.html
pandoc notes.md -o notes.docx
```

To get formatted text on the clipboard rather than a file, open the HTML in a browser and copy from there.

## What survives the paste

Mail, Pages and Word take the everyday formatting well: headings, bold and italics, bullet and numbered lists, links and quotes.

Other things depend on where you paste. Tables arrive as tables in Word and Pages, and a web form may flatten them. Code loses its colours in most places. Maths and diagrams are drawn by the editor, so they need an export, such as PDF or Word, rather than a copy.

## Questions

### Why does Markdown paste as plain text?

Because the file is plain text. The bold and the headings only exist once something renders the Markdown, so you need to copy the rendered version, from a preview or an export.

### Can I paste formatted text back as Markdown?

That's the other direction, and it needs a converter. Coffee keeps your own Markdown when you paste between its notes. For Word or Google Docs files, see [converting Word and Google Docs to Markdown](https://coffeetext.app/blog/word-google-docs-to-markdown).

### Does it work with Outlook or Gmail?

Anything that accepts formatted paste can take it, including the web versions of mail apps. Test with one line first, as each one keeps a slightly different set of formatting.

### Do links keep working?

Yes. A Markdown link becomes a clickable link with its text, and the address stays behind it.

---

Written by Pedro Thomaz, who makes Coffee, a Markdown editor for the Mac on macOS 15 or later, and for iPhone and iPad. It's free for 14 days with no card or account, then €3 a month, €29 a year, or €79 once with two years of updates. More at https://coffeetext.app/llms-full.txt
