AI formatting cleaner
Remove code fences, heading markers, emphasis symbols, blockquotes, table pipes, and link syntax from AI-generated Markdown.
How to use ai formatting cleaner
Chat assistants answer in Markdown, so a copied answer arrives full of ##, **, pipes, and bracketed links. This tool strips the syntax and keeps the writing, with a separate decision for each place the symbols carry real content: bullets, code, and tables.
- 1Paste the assistant’s answer
Copy the response from ChatGPT, Claude, or Gemini and paste it as-is. What looked like formatted headings and bold text in the chat window shows up here as raw Markdown symbols — those are what get removed.
- 2Decide the three content questions
Keep list bullets retains the "- " markers, since bullets are usually structure worth having. Keep code content keeps what is inside code blocks exactly as written while removing the ``` fences — untick it to drop code blocks entirely. Table rows controls Markdown tables: joined with dashes for prose, tab-separated for a spreadsheet, or kept as pipes.
- 3Clean and read it as the destination will
Select Clean text. Headings keep their words and lose their hashes, bold and italic keep their text, and links keep their label with the URL removed. Copy the result and it pastes as ordinary writing.
When this tool is useful
The order of operations, and why it matters
Markdown is removed structurally, not by deleting characters wherever they appear. A # only counts as a heading at the start of a line, a > only as a quote marker there, and a link is only the complete [label](url) shape — so the # in "C#", an asterisk used as a footnote mark or a multiplication sign, and brackets in ordinary prose all survive. Emphasis markers must hug their text the way a Markdown renderer requires, which is why "2 * 3 * 4" comes through intact.
The passes run in a deliberate order: code is set aside first, so nothing inside a code block or an inline code span is ever edited — a # comment in Python stays a comment. Then headings, quotes, images, and links, then inline emphasis, then tables. Order matters because link labels can contain bold and table cells can contain backticks — flattening tables last means each cell’s inline syntax is already clean when the row is joined.
Tables get their own control because there is no single right answer. Dashes read naturally in prose ("Draft the copy - Ana"); tabs keep empty cells as placeholders so columns land intact in a spreadsheet; keeping the pipes is right when the destination renders Markdown after all. The alignment row of dashes under a header carries no words, so the first two modes drop it.
AI formatting cleaner questions
The chat window renders Markdown; the clipboard gets the raw characters underneath. Anywhere that does not render Markdown — an email, a CMS field, a document — shows the syntax literally.
The visible label stays and the URL in parentheses is removed, so "[the guide](https://example.com)" becomes "the guide". Image syntax keeps its alt text the same way.
Yes — Keep code content, on by default, removes the ``` fences and keeps everything inside them character for character: comments, asterisks, and indentation included. Untick it to delete code blocks wholesale when only the prose matters.
Three ways, set by the Table rows control: cells joined with dashes for readable prose, tab-separated so a paste into Excel or Sheets lands in columns, or left untouched. The dashes-only alignment row under a header is dropped in the first two modes.
They are typography, not Markdown, so this tool leaves them alone by design. The AI text cleaner is the companion pass that straightens quotes, replaces em dashes, and strips hidden characters.