You copy an answer from a chat tool, a code editor or a notes app, paste it into an email or a document, and it's covered in symbols. Double asterisks around words, hash signs in front of lines, dashes at the start of lists. Those symbols are Markdown, a simple way of writing formatting as plain text. Where the text came from, they turned into bold words and headings. Where you pasted it, they didn't.
This guide explains what the symbols mean, why they appear, and how to remove Markdown from text in one step or by hand. We also measured an example answer to show how much the symbols add, including how they change a word count.
How do you remove Markdown from text?
To remove Markdown from text, paste it into a text cleaner and turn on the option to remove Markdown. It deletes the asterisks around bold and italic words, the hash signs before headings and the brackets around links, while keeping your words. You can also remove the symbols with Find and Replace in Google Docs or Word, but you'll need several passes, one for each symbol.
What are the ** and ## symbols in copied text?
They're Markdown, a lightweight way to write formatting using ordinary keyboard characters. John Gruber, who created it, says on his Markdown project page that its overriding design goal is to make the formatting syntax as readable as possible. Markdown 1.0.1 was released in December 2004. A later project called CommonMark publishes a detailed specification, written by John MacFarlane. Its latest version is 0.31.2, from January 2024.
Chat tools, code editors, note apps and many websites write in Markdown, then show it formatted. When you copy the raw text instead of the formatted view, the symbols come along.
Markdown | What it means | What you see when it isn't formatted |
|---|---|---|
| Bold | Two asterisks on each side |
| Italic | One asterisk on each side |
| Main heading | A hash sign at the start |
| Smaller heading | Two hash signs at the start |
| Bullet point | A dash at the start of the line |
| Numbered list | A number and a full stop |
| Quote | A greater-than sign at the start |
| Link | Square brackets and a web address in round brackets |
| Code | Backticks around a word |

How much do Markdown symbols add?
We wrote a short example answer in the style chat tools use, with headings, bold labels, a bullet list, a numbered list, a quote and a link. Then we made a clean version with the same words and no Markdown, and compared them.
Measure | With Markdown | Clean text |
|---|---|---|
Characters | 555 | 464 |
Words counted by spaces | 89 | 82 |
Asterisks | 18 | 0 |
Hash signs | 8 | 0 |
"Words" that were only symbols | 7 | 0 |
The Markdown version had 91 more characters. A word counter that counts anything between spaces also counted seven tokens like "##", "###", "-" and ">" as words. That matters if you're filling a form with a character limit or checking an essay against a word count. Part of the gap also came from the link's web address, which the clean version left out.

How do you remove Markdown in one step?
A text cleaner is the fastest way, especially for longer text.
Open our free text cleaner.
Paste the text into the left box.
Choose the "Plain text" or "AI text" preset. Both remove Markdown, or you can tick the Markdown option on its own.
Check the clean version on the right. The "What changed" list shows every fix.
Copy the result.
The cleaner removes bold and italic markers, heading signs, link brackets and HTML tags while keeping the words. The "AI text" preset also removes citation tags and tracking codes that chat tools add to links, such as "?utm_source=" at the end of a web address. Everything runs in your browser and nothing is uploaded.
How do you remove Markdown in Google Docs?
Google Docs can find and replace with regular expressions, a feature Google added in September 2016.
Open Edit, then Find and replace.
Tick "Match using regular expressions".
To remove bold markers, find
\*\*and replace it with nothing. Click Replace all.To remove single asterisks, find
\*and replace it with nothing.To remove heading signs at the start of lines, find
^#+(a caret, a hash, a plus sign and a space) and replace it with nothing.
Google's help page notes one catch. Any regex formatting you type into the "Replace with" box is inserted as literal text, so keep the replacement empty or plain.
Be careful with step 4 if your text uses asterisks on purpose, such as in a footnote or a maths formula.
In Word
Word's Find and Replace can do the same, one symbol at a time. Search for two asterisks, replace with nothing, then repeat for single asterisks and hash signs. Read through the result afterward, because a plain search can't tell a heading sign from a hashtag you meant to keep.
How do you stop the symbols appearing?
Prevention saves time if you copy from chat tools often.
Use the tool's copy button. Many chat tools have a copy button under each answer. Depending on the tool, it may copy formatted text that pastes cleanly into a document.
Ask for plain text. You can ask a chat tool to answer without Markdown, headings or bold text.
Paste into a Markdown-aware app. Some note apps and editors turn Markdown into formatting automatically when you paste.
Clean before you paste into forms. Application forms, email and social posts don't use Markdown, so the symbols will always show.
Our guide to pasting without formatting covers the opposite problem, when copied text brings too much formatting rather than symbols.
When should you keep the Markdown?
Not every place wants it gone. Some sites and apps read Markdown and turn it into formatting, so the symbols are doing useful work there.
Code hosting sites and README files. Project pages on code hosting sites are usually written in Markdown.
Note apps and wikis. Many note-taking apps and team wikis store notes as Markdown.
Chat and forum posts. Some chat apps and forums use asterisks for bold and italic.
Plain text you'll convert later. If the text is going into a tool that converts Markdown to a web page or document, keep it.
A quick test helps. Paste a line with two asterisks around a word into the place you're writing. If it turns bold, keep the Markdown. If the asterisks stay, clean them out.
What else comes with text copied from chat tools?
Markdown is the most visible leftover, but not the only one. Text copied from chat tools can also carry:
Citation tags like [1] or bracketed source markers.
Tracking codes on links, such as ?utm_source= at the end of a web address.
Hidden characters like zero-width spaces, which our guide to invisible characters in text explains.
Curly quotes and long dashes, which are fine in documents but can cause problems in code. See smart quotes vs straight quotes.
Cleaning removes the leftovers, but it doesn't change the writing itself. If you're using AI-written text in your own work, read it carefully, rewrite it in your own words and check your school's or employer's rules. You can also run it through our free AI detector to see how it reads.
Frequently asked questions
Why does my copied text have asterisks?
The asterisks are Markdown formatting. Two asterisks on each side of a word mean bold and one means italic. The app you copied from shows the text formatted, but when you paste it somewhere that doesn't read Markdown, such as an email or a form, the raw symbols appear. A text cleaner removes them and keeps the words.
What do the hashtags at the start of lines mean?
Hash signs at the start of a line mark headings in Markdown. One hash sign is a main heading, two is a smaller heading and three is smaller again. They're not social media hashtags. When the text is shown formatted, they become bold headings. When it isn't, you see the symbols, which you can delete or remove with a text cleaner.
How do I convert Markdown to plain text?
Paste the text into a text cleaner and choose a plain text option that removes Markdown. It strips asterisks, hash signs, link brackets and other symbols and leaves the words. For a few lines, you can also delete the symbols by hand. In Google Docs, Find and replace with regular expressions can remove each symbol across the whole document.
Does Markdown affect word count?
It can. A word counter that counts anything between spaces treats symbols like "##", "-" and ">" as words when they stand alone. In our example, Markdown added 7 symbol-only "words" and 91 characters to a short answer. Remove the Markdown before checking a word or character limit so the count reflects your actual text.
Can I keep the formatting instead of removing it?
Yes. Paste the text into an app that understands Markdown, such as many note-taking apps and code editors, and it will show bold text, headings and lists properly. Some chat tools also have a copy button that copies formatted text. If you then paste into a word processor, the formatting may carry over without the symbols.
Is Markdown the same as HTML?
No, but they're related. HTML is the full markup language web pages are built with, using tags like <b> for bold. Markdown is a simpler shorthand that's easier to read as plain text, and it's usually converted into HTML to display. A text cleaner can remove both Markdown symbols and HTML tags.






Comments