MDUtil

Markdown to Plain Text Converter

Paste Markdown or an AI answer and get clean plain text without #, ** or backticks, ready for messages, forms and plain-text email. Nothing is uploaded.

Markdown

624 characters22 lines

Plain text

How to keep a basil plant alive

Basil wants sun, warmth and steady water. Most plants bought at the store die from too little light, not from too little care.

Every week

1. Water when the top 2 cm of soil is dry
2. Pinch off flower buds as soon as they appear
3. Turn the pot so every side gets light

Light and temperature

Need         Ideal      Too much
Sun          6–8 hours  Leaves turn pale
Temperature  20–27 °C   Below 10 °C

• [x] Pot with drainage holes
• [ ] Liquid fertiliser every month

More tips are in the growing guide (https://example.com/basil).
569 characters20 lines

What it handles

Only the formatting goes
#, **, _, backticks, > and link brackets are removed, and every word you read stays.
Lists stay lists
Bullets become - or •, numbered lists keep their numbers, and nested items keep their indentation.
Links you can still follow
Each link's address can follow its text, as in the guide (https://…), so nothing is lost.
Readable tables
Tables become aligned columns, or tab-separated rows that paste straight into Excel or Google Sheets.
Code kept exactly
Code blocks keep their text and indentation, without the backtick fences.
AI answers tidied
Citation marks such as 【4†source】 are removed, and formulas lose ChatGPT's \[ … \] delimiters.

Strip Markdown in code

JavaScript

The remove-markdown package removes the syntax from a string.

import removeMarkdown from "remove-markdown";

const text = removeMarkdown("## Hello **world**"); // "Hello world"

Python

Convert to HTML with Python-Markdown, then take the text out with Beautiful Soup.

import markdown
from bs4 import BeautifulSoup

text = BeautifulSoup(markdown.markdown(md), "html.parser").get_text()

Pandoc

Pandoc's plain writer keeps the layout of lists and tables.

pandoc notes.md -t plain -o notes.txt

Questions and answers

How do I remove Markdown formatting from a ChatGPT answer?

Copy the answer, paste it here and copy the result. The asterisks, hash marks and backticks are removed, while lists, links and tables stay readable.

Why does ChatGPT's text have asterisks and hash marks?

ChatGPT writes its answers in Markdown, where ** marks bold text and # marks a heading. The chat app turns them into formatting, but places that do not read Markdown show the symbols.

What is the difference between Markdown and plain text?

Markdown is plain text with a few symbols that stand for formatting, such as **bold**. Plain text has no formatting at all, so converting removes the symbols and keeps the words.

How do I convert a .md file to .txt?

Open the file with Open file and download the result as a .txt file. Renaming the file also works, but the Markdown symbols stay in the text.

Can I paste a table into Excel?

Yes. Set Tables to Tab-separated, copy the text and paste it into Excel or Google Sheets; every cell lands in its own column.

Is my text uploaded anywhere?

No. The conversion runs in your browser, so the text never leaves your device.