Xiaoliu BOT

Why Do AI Responses Always Contain Useless Symbols Like “##”, “**”, “-” When Copied? How to Remove Them?

2025.02.01 Published2026.10.26 Updated3,636 characters · about 4 min12 images
SummaryLearn why AI responses contain Markdown symbols and discover methods to remove them, including using AI tools or creating HTML converters for clean text.
Contents · 6 sections

Have you ever encountered the same problem as this Tieba user?

A forum user asks how to remove Markdown symbols from DeepSeek responses.

Trying to be lazy and letting AI answer questions for you, only to be laughed at for being “obviously AI”.

A Zhihu answer retains unrendered Markdown asterisks around bold-text labels.

Using AI to write weekly reports and PPTs, manually deleting these symbols paragraph by paragraph, afraid of revealing flaws in front of teachers/bosses.

These Symbols Are Markdown

So, what are these things? Why does AI insert these symbols in responses? Why don’t these symbols display in the chat window but appear when copied?

Actually, these symbols are Markdown markup.

Markdown is a lightweight markup language that can be written in plain text. It can be quickly rendered by browsers, and even without rendering, it can represent the structure and format of text, with extremely simple syntax.

For example, wrapping text with two consecutive asterisks “**” represents bold. Like this:

**bold**

Another example: typing a hash “#” followed by a space and then text represents a first-level heading; using two hashes “##” is a second-level heading. Like this:

# First-level heading
## Second-level heading

Another example: typing a hyphen “-” followed by a space and then text represents an unordered list. Like this:

- First item
- Second item

If using Word, you often need to frequently click toolbar buttons, which is not conducive to focusing on content creation.

Word’s bullet menu applies unordered-list styles to selected text.

In fact, after mastering these simple syntaxes, plain text creation becomes very efficient. Many people like to use Markdown to write blogs or take notes. Projects on GitHub usually have a README.md file, which is a Markdown file. Software we commonly use like Notion, Feishu, and Obsidian also support using Markdown.

For AI, if AI wants to output a structured, highlighted, and logical response, using Markdown is also an excellent choice. It can directly add markup to its text output, which is then rendered directly by browsers, and it saves far more tokens than using HTML markup.

How to Remove Them

So, we all understand the reason.

How do we actually remove them when copying and pasting?

AI matters can be entirely solved by AI.

Taking a paragraph from my previous review article for an AR glasses as an example, this article was completed using Markdown in Obsidian:

An AR-glasses review in Obsidian includes a heading, bold text, and a flow diagram.

Method 1: Ask the AI to Strip Them

Send it directly to AI and tell it to remove the Markdown markup.

DeepSeek removes Markdown markers to produce plain-text paragraphs.

This method is arguably the fastest, and can even be completed in the same chat window.

But it also has drawbacks: removing Markdown markup also removes the formatting.

Method 2: Have the AI Build a Converter

Choose an AI with sufficient programming capability, like Claude, which I commonly use.

Tell it to generate a Markdown format converter that converts Markdown syntax to rich text format, and must be copyable.

Claude creates a Markdown converter with input, preview, and rich-text copy controls.

Claude’s Artifact can directly run the code. Paste this content to try it out.

The Markdown converter renders source text into rich text with bold formatting.

Bold is preserved, but the headings seem to have some issues.

However, it might be an Artifact display error. Let me copy this rich text content to Zhihu’s editor to test.

The converted heading and bold paragraphs are pasted into the Zhihu editor.

The headings display normally in the text, so there’s no problem.

Method 2.5: A Single-File HTML Converter

What if the AI you commonly use doesn’t support features like Artifacts?

Don’t worry. You can ask the AI to generate a local version that can be opened as a single HTML file.

Claude generates a local Markdown converter that can be saved as one HTML file.

As shown, Claude also tells us the usage method while generating.

1. Save the code as a `.html` file 2. Open the file with a browser 3. Enter Markdown text on the left, and the right will show real-time preview 4. Click the “Copy Rich Text” button to copy the formatted content

We create a new text document, paste the code in, and rename the file to “markdown_converter.html”.

Save the Markdown converter code as an HTML file for opening in a browser.

Then double-click to open it with a browser.

A browser opens the local Markdown converter with source and rich-text panels.

Now you can use it locally, and you can save this file to open on any computer, or send it to others to use.

If you want to use it directly, I’ll also paste the code here, and you can follow the steps above.

<!DOCTYPE html>

Method 2.7: Put It Online

Using it locally is ultimately inconvenient. You can further put it on a NAS or cloud server, or even reverse proxy to your own domain, so you can open and use it anytime, anywhere through the network.

Moreover, it’s not limited to small tools with a single HTML file; even with a backend, it’s okay.

For example, I made a small collection page toolbox, aggregating my commonly used tools into my navigation page for easy access anytime.

The toolbox navigation offers Markdown conversion and text-cleanup tools.

That’s all.