lou.tools
EN

Remove the hidden characters in text copied from ChatGPT

A paste from ChatGPT can carry zero-width characters and spaces that are not normal ones, and ai-text-cleaner removes them as it arrives and counts them under the preview.

Updated

What you paste never leaves your browser. Only anonymous usage is counted.Privacy

Also

How to do it

  1. In ChatGPT, select the answer, copy it and paste it into the box on the left: the text is cleaned as it arrives and the result is copied back.
  2. Read the line under the Preview: it counts the invisible characters, the special spaces and the spacing fixes it removed, and marks each one in the text.
  3. Paste into your document or script where you left off: no zero-width characters, no odd spaces, and no trailing spaces or extra blank lines.

Questions

Which characters from ChatGPT does this remove?
Zero-width spaces and joiners, the byte order mark, soft hyphens, direction marks, tag characters, and the non-breaking and narrow spaces ChatGPT sometimes leaves behind. ai-text-cleaner removes them as it cleans the paste and reports how many of each it found.
How do I know the copied text had hidden characters?
The browser's find box rarely finds a match and a character count rarely matches what is on screen. ai-text-cleaner marks every removal in the Preview and writes the count on the line under it, so the text shows what was there.
Does removing the hidden characters change the word count?
Yes, and it is often the reason to remove them: a non-breaking space can join two words into one and a zero-width character can split one word into two. ai-text-cleaner turns those spaces into normal ones and drops the invisible characters, so a counter reads the words you see.

More tools