Skip to main content

Convert Markdown to plain text

Remove Markdown formatting while retaining readable lists, tables, links and code, without fetching remote resources.

  • Clipboard
  • Export
Automate

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

Paste or import GFM Markdown. Limits: 500,000 input characters and 2 million output characters. HTML is processed as inert data.

Was this tool useful?

On this page

How does this tool work?

A README, technical note or Markdown response is not always easy to paste into an email, form or application that accepts only plain text. This converter removes formatting while keeping the document readable. It handles headings, lists, tables, quotations and code without building an HTML page for display. Copy the resulting text or save it as a .txt file.

The engine analyses document structure with Marked in GitHub Flavored Markdown mode. It does more than strip asterisks and hash signs: those characters may belong to code, filenames or expressions. ATX and setext headings become text separated from paragraphs. Bold, italic and strikethrough formatting disappears while the words it surrounds remain.

Lists retain textual bullets or numbering. Nested lists are indented; completed and pending tasks use ☑ and ☐. Table cells are separated by tabs and rows stay on separate lines. This helps with reading or pasting into a spreadsheet, but it is not CSV export: a tab already present inside a cell may make the boundaries ambiguous.

For direct links, references and automatic links, choose either the label alone or the label followed by its URL. The latter is useful for a bibliography intended for print. Addresses are copied as text without visiting or checking them. Images become their alternative text; missing descriptions cannot be invented. No image is downloaded.

Inline code and code blocks keep their content while losing fences, backticks and language labels. Entities are decoded in ordinary text, while an entity inside code remains a literal example. Unicode characters are preserved. Block quotations become readable paragraphs without the > marker. Blocks are separated by a single blank line, with no stray spaces at line ends.

Embedded HTML is read by an inert data parser. Tags and comments are removed; script, style and template contents are discarded. Ordinary text and image alt attributes remain readable. Block boundaries and br line breaks are retained. Event attributes are never executed. The result is still text: if another application later inserts it into HTML, that application must escape it correctly.

Input is capped at 500,000 UTF-16 units, output at 2 million and rendering at 128 nesting levels. The Worker can be cancelled and stops after five seconds. Editor-specific extensions, Mermaid diagrams, mathematics and MDX components are not interpreted as those formats. Review complex documents and retain the source: presentation information is removed, making this conversion irreversible.

How to use this tool

  1. Add the document

    Paste Markdown or import a .md or .markdown file.

  2. Choose how to handle links

    Enable URL retention to keep destinations in the text.

  3. Review the plain text

    Convert, check tables and lists, then copy or export a .txt file.

Use cases

Paste a README into a form

Remove presentation markers while retaining sections, lists and code examples useful to the recipient.

Prepare a note for printing

Keep link destinations beside their labels so references remain readable on paper.

Reuse a table as text

Separate cells with tabs to get a textual table without Markdown pipes and separator rows.

Examples

A note ready to send

The heading and bold formatting become plain text while task status stays recognizable.

Input

# Delivery

**Status**: ready.

- [x] Review
- [ ] Send

Result

Delivery

Status: ready.

• ☑ Review
• ☐ Send

Tips and best practices

  • Use Markdown preview to check the source’s visual rendering.
  • Choose Markdown to HTML when you need markup for a web page.
  • Text statistics and chunk splitting can help prepare the converted text for another use.

Sources and references

Frequently asked questions

Is code removed?

No. Its contents remain without Markdown delimiters or syntax highlighting. Characters resembling Markdown inside code are preserved.

Are links and images opened?

No. The converter copies URLs when requested and uses the alternative text already supplied. It does not fetch destinations.

Can I reconstruct the original Markdown?

Not faithfully. Heading levels, formatting and other information have been removed. Keep the original document.

Related tools

Tools similar or complementary to this one.

Similar tools

Write Markdown and instantly preview the rendered HTML.

Text & writingUse this tool

Convert Markdown into clean HTML directly in your browser.

Text & writingUse this tool

Convert HTML into readable portable Markdown directly in your browser.

Text & writingUse this tool