Converter tool

AI Answer Cleaner

Clean text copied from an AI chat: remove citation tokens, fix quotes, dashes and blank lines, and export Markdown, plain text, HTML or a Word file from your browser.

Cleanups

Quote, dash and ellipsis changes skip code blocks and inline code. The text is cleaned by this tab with no upload, and this tool writes nothing to localStorage, sessionStorage or IndexedDB. Keep a copy of the original: the cleanups change characters and cannot be undone from the output.

Preview

Output Preview

Paste an answer or use the sample text to see the cleaned result and a rendered preview.

AI Answer Cleaner

Operator: Abdulla Al Fahad. How tools are built and checked

Copy a reply out of an AI chat and paste it into a report, an email or a Word file, and small leftovers come along: a marker like 【4:0†source】 after a sentence, curly quotes where your style guide wants straight ones, a row of blank lines, a bullet that is really a blue diamond emoji. None of it is hard to fix, but doing it by hand across a long answer is slow and easy to get wrong.

This page takes the pasted text (up to 1,000,000 characters) and applies the cleanups that are ticked. Four start on: citation removal, straight quotes, the ellipsis fix and blank-line tidying; em dash replacement, emoji bullets and plain-text conversion start off. Each option shows how many changes it made, so you can see that the citation remover touched two places before you trust the result. The cleaned text is available as Markdown, plain text, escaped HTML source or a Word file.

Key features

  • Citation token remover with a count of tokens removed
  • Quote style: leave, straight, or curly (apostrophes handled separately from opening and closing double quotes)
  • Em dash replacement with a hyphen or a comma, off by default
  • Ellipsis character replaced with three plain dots
  • Blank-line collapse, trailing-space removal and CRLF normalisation
  • Emoji and dot bullets turned into Markdown hyphens, off by default
  • Markdown to plain text with links written as text (address)
  • Outputs: Markdown, plain text, escaped HTML, and a Word file with headings, nested lists, bold, italic, monospace code and tables
  • Rendered preview built from React elements, never from injected HTML

Which Markdown and citation marks are recognised

Input is plain text, usually Markdown, pasted into the box or read from a .md or .txt file. A Word document or PDF renamed to .txt is turned away, so copy the text out of the original program instead.

The Markdown understood is the everyday subset that chat tools produce: headings with #, paragraphs, bold and italic, strikethrough, inline code, fenced code blocks, links, block quotes, horizontal rules, bulleted and numbered lists nested by indentation, and pipe tables with a separator row. Anything outside that subset, such as footnotes or raw HTML tags, stays as literal text.

Citation tokens recognised: a bracket pair 【 】 containing a dagger (†) or a number, the :contentReference[oaicite:N]{index=N} form, [oaicite:N], text wrapped in the private-use characters U+E200 and U+E201, and bare strings such as citeturn0search1. Ordinary square-bracket references like [1] are left alone because they can be real footnotes in your own text.

How it works

Cleanups run in a fixed order: citation tokens first, then emoji bullets, then quotes, dashes and the ellipsis, and whitespace last. Quote, dash and ellipsis changes skip fenced code blocks and inline code, so a code sample such as print("a") keeps its straight quotes and a regular expression is not altered.

Removing a citation token also removes the single space in front of it when punctuation follows, so "revenue 【4:0†source】." becomes "revenue." rather than "revenue .". When a word follows directly, one space is kept.

Curly quotes are chosen by looking at the character before: after a space, an opening bracket or the start of a line a quote opens; anywhere else it closes, which makes the apostrophe in "it's" a closing single quote as typography expects.

For the Word file the cleaned Markdown is parsed into blocks and written with the docx library inside this tab. Each numbered list gets its own numbering sequence, so a second list starts again at 1.

Common use cases

  • Preparing an AI-drafted summary for a Word report where the house style wants straight quotes and no em dashes
  • Stripping source markers from a chat answer before pasting it into a wiki or ticket
  • Turning a Markdown reply with a table into a Word file with a real table
  • Producing plain text for a plain-text email without asterisks and pound signs showing
  • Normalising emoji-bulleted lists into hyphen lists before importing them into a notes app

How to use this tool

  1. Paste the reply, or load a .md or .txt file. Use the sample text to see every option do something.
  2. Switch on the cleanups you want and read the change count beside each one. Quote and dash styles are menus.
  3. Tick Convert Markdown to plain text if the destination will not render Markdown, such as a plain email or a form field.
  4. Check the rendered preview and the output box. The tab above them switches between Markdown (or plain text) and the HTML source.
  5. Copy the output, or download .md, .txt, .html or Word.

Example

Pasted reply

**Bold** text【4:0†source】 and a ‘quote’…

Default options (counts beside them: citations 1, quotes 2, ellipsis 1)

**Bold** text and a 'quote'...

Tips for best results

  • Run with em dash replacement off first and read the preview; a comma suits clause breaks, a hyphen suits ranges and lists.
  • If the output is going into Word, keep Markdown output and use the Word download instead of pasting the Markdown, so headings and lists become real styles.
  • Ordered lists keep the numbers you wrote. If a code block splits a list, the part after it continues from its own first number, as an HTML list with a start value and as continued numbering in Word.
  • Keep the original pasted text somewhere until you are done; the cleanups are one-way.

Common pitfalls

A citation marker that your chat tool formats in a way not listed above will pass through untouched. The count shows 0 changes, which is the signal to remove it by hand.

Removing citations removes the marker, not the claim it supported. The cleaned text no longer shows which source backed which sentence, so keep the original if you need to verify.

Curly-quote conversion can guess wrong in unusual spots, such as a quote that follows a dash or a decade written as '90s, where the apostrophe should point the other way. Scan those by eye.

Emoji bullets are only converted at the start of a line. An emoji in the middle of a sentence is never touched.

Plain-text conversion drops formatting on purpose: bold, italic and heading markers disappear, and a table becomes rows with cells joined by " | ".

Common errors and how to fix them

The page says the text is over 1,000,000 characters.
Paste one section at a time. A long chat export is better split by reply before cleaning.
The file is refused as containing binary data.
The file is probably a Word document or PDF saved with a .txt name. Copy the text out of the original application and paste it into the box.
The Word file could not be built.
Shorten the answer or simplify an unusual table, then press Download Word again.

Best practices

  • Switch on one option at a time the first time you use a long answer, so you know which change caused a surprise.
  • Use the HTML tab only for the source; if you need rendered content in a page, paste the HTML into your editor's source view.
  • Open the downloaded Word file once and check numbered lists and the table before sending it on.

What the preview shows and does not show

The rendered preview is built from React elements, not from the HTML output, so pasted text containing tags is shown as text and never run. Links appear underlined but are not clickable in the preview; in the HTML output, only http, https, mailto, in-page and site-relative addresses are kept as links, and anything else is written as plain text.

The preview is a convenience view. Fonts and spacing in Word, a browser or an email client will differ.

Privacy

Cleaning, the HTML text and the Word file are all produced by script running in the open page. Your pasted answer is never part of a request this tool makes, and the tool does not save it between visits.

Frequently asked questions

Which characters count as an em dash?

Only U+2014, the long dash. The shorter en dash used in ranges such as 2019–2021 is left alone.

Does it remove numbered footnote references like [1]?

No. Those bracketed numbers can be real references in your own writing, so only the specific token shapes listed under Format details are removed.

Why did my quotes inside a code block stay straight?

Code is protected on purpose. Fenced blocks and text between backticks are skipped by the quote, dash and ellipsis options.

Can I get the Word file with the original curly quotes?

Yes. Leave Quotes on Leave as they are before downloading; the Word file is built from the cleaned Markdown with whatever options are active.