How to convert Markdown to plain text
You copy an answer from a chat window or a notes app and paste it into an email, and it arrives full of asterisks and pound signs. That is Markdown, and you can strip it in seconds.
What Markdown looks like
- Headings start with pound signs: # Title, ## Section.
- Bold uses double asterisks and italic uses single asterisks or underscores.
- Links look like [text](https://example.com).
- Code sits in backticks, and blocks of code sit between lines of three backticks.
- Lists start with a hyphen, an asterisk or a number, and quotes start with a greater-than sign.
- Tables use vertical bars and a divider row of hyphens.
Why it shows up
Markdown is a plain-text way of writing formatting. Many chat tools, notes apps and developer sites use it, and when text is copied out as plain text the symbols come with it. A plain editor, an email or a form cannot turn the symbols into bold and headings, so you see them as clutter.
Converting it
- Paste the text into the Strip Markdown tool.
- Decide about links. By default only the link text is kept. Tick the option to keep addresses if you want each link followed by its address in brackets.
- Decide about lists. Bullets and numbers are kept by default, which is usually what you want in an email. Turn the option off to remove the markers.
- Copy the result.
What it changes and what it leaves alone
- Removed: heading symbols, bold, italic and strikethrough markers, backticks, quote markers, image syntax and link syntax.
- Kept: all the words, the text of links and the alt text of images, and the content of code blocks, without the fence lines.
- Tables: the vertical bars become tabs and the divider row is dropped.
- Left alone: underscores inside names such as snake_case, and sums such as 2 * 3 * 4, because those are not emphasis.
Tidying afterwards
If the text has emoji you do not want, run the Remove Emojis tool. If it has curly quotes and long dashes that your destination cannot show, run Fix Smart Quotes. If raw HTML tags are mixed in, as can happen in Markdown files, run Strip HTML Tags. Remove Extra Spaces and Remove Blank Lines finish the job.
When not to strip it
Stripping removes formatting for good. If you want the bold text and headings to survive in Word or Google Docs, convert the Markdown to rich text with a Markdown editor or the import feature of your document app instead. The tool here is for the case where you want only the words.
The conversion runs in your browser, so the text is not uploaded.