AI Text Cleaner
Clean up text copied from ChatGPT, Claude or Gemini: replace em dashes, curly quotes and non-breaking spaces, remove hidden zero-width characters and leftover Markdown, and see how many of each were changed.
Input
Output
| Cleanup | Changes |
|---|---|
| Dashes | 0 |
| Quotes | 0 |
| Ellipses | 0 |
| Invisible characters | 0 |
| Special spaces | 0 |
| Markdown | 0 |
| Extra spaces and blank lines | 0 |
Readme
What it cleans
Text copied from ChatGPT, Claude, Gemini and other AI chatbots often carries characters and formatting that look out of place once you paste it into an email, a form or a document. Paste the text, and the cleaned version appears right away, with a count of what each cleanup changed. Every cleanup can be turned off on its own.
Characters
- Em and en dashes. An em dash used as a break in a sentence becomes a spaced hyphen or a comma, whichever you pick. En dashes in ranges and compounds (9–17, Paris–London) become plain hyphens, and a dash at the start of a line becomes a list hyphen. A break dash right before closing punctuation is dropped.
- Curly quotes and apostrophes. “Double”, ‘single’, „low“ quotes and ’ apostrophes become straight " and '. Guillemets (« ») stay, since they're the normal quotation marks in French, Russian and other languages.
- The ellipsis character. … becomes three dots.
- Invisible characters. Zero-width spaces, word joiners, soft hyphens, byte order marks and hidden tag characters are removed. Zero-width joiners stay inside emoji (such as family emoji) and in scripts that need them, such as Persian and the Indic scripts, and right-to-left marks stay too.
- Special spaces. Non-breaking, narrow, thin and other special spaces become normal spaces, and Unicode line and paragraph separators become normal line breaks.
Formatting
- Markdown. Heading hashes, bold and italic markers, strikethrough, code ticks, block quote markers and horizontal rules are removed, and links keep only their text. Star and plus bullets become hyphens. Code inside code blocks and code spans is kept exactly as written. Tables are left as they are.
- Extra spaces and blank lines. Spaces at the ends of lines and double spaces between words are removed, and more than one blank line in a row becomes one. Indentation at the start of a line stays.
How to use it
- Paste the text into the Text box, or press Insert sample to see an example.
- Turn off any cleanup you don't want, and pick what em dashes become.
- Copy or download the cleaned text. The Changes table shows how many fixes each cleanup made.
Hidden characters show up as red marks in the Text box, so you can see where they were before they're removed.
What it doesn't do
The tool cleans characters and formatting only. It doesn't rewrite wording, it doesn't make text "undetectable" by AI detectors, and it doesn't remove watermarks.
Everything runs in your browser. Nothing you paste is uploaded.