Triết Bùi.
VI EN

Free tool

Markdown Cleaner

Paste answers from ChatGPT, Claude, Gemini… and get clean Markdown — headings, lists, tables and code blocks preserved. No need to go back to the AI tab.

Paste content

Ctrl/⌘ + V
No content yet.

Clean Markdown

0 words · 0 chars

Everything runs in your browser. Nothing is sent to a server or stored.

Why copying from ChatGPT/Claude loses formatting

Chat pages render HTML. The original Markdown is not in the clipboard, so pasting into Word, Notion or an editor often gives messy rich text or plain text: headings become bold lines, lists lose bullets, code blocks collapse into a paragraph.

The “Copy” button inside a code block usually returns code only. Copying the whole answer with the mouse may return plain text depending on the browser. That is why people go back to the AI tab and ask it to “output Markdown” again.

What this tool handles

If the clipboard has no HTML, the tool cleans plain text instead: bullet • becomes -, decorative lines are dropped and spacing is collapsed.

Use it in three steps

  1. Select the answer on ChatGPT/Claude and press Ctrl/⌘ + C.
  2. Paste into the left pane. The tool reads the clipboard HTML and converts it.
  3. Check the right pane, then Copy Markdown or Download .md.

Tips for the cleanest result

Privacy

The tool runs entirely client-side: no backend, no API, no stored content. You can go offline after the page loads and it still works.

FAQ

Common questions

Does the tool send my content to a server?

No. Conversion runs in JavaScript in your browser. No API, no storage, no analytics reading the content.

Why do I get plain text?

The browser only shares HTML when the clipboard has rich content. If you use the code block Copy button or copy from another app, the clipboard may only contain text. The tool then cleans lists and blank lines; select the answer and press Ctrl/⌘+C to keep headings/tables/code.

Does it keep code blocks and language?

Yes, when the HTML has a language-* class (ChatGPT/Claude usually do). It outputs a fenced code block with the language. If missing, edit it in the Markdown pane.

Does it support tables and formulas?

Yes. HTML tables become GFM tables. KaTeX formulas are kept as $...$ or $$...$$ when the source has TeX annotations.

Is it free?

Yes. No sign-in, no usage limit. If it helps, read the posts or share the tool.

Read more

Why I built this tool

The article covers the copy-format problem, the fix, and what to check before publishing.

Read the article