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
How to do it
- 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.
- 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.
- 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
chat-export
LiveA whole ChatGPT, Claude or Gemini conversation, saved as a PDF, a Word file or Markdown.html2md
LiveRich text from a web page, Google Docs or Word, converted to clean Markdown. Tables included.math2word
LiveAnswers from ChatGPT or Claude with LaTeX formulas, ready to paste into Word as editable equations.md2email
LiveMarkdown from Claude, ChatGPT or your notes, ready to paste into Gmail or Outlook. Tables included.md2jira
LiveMarkdown from ChatGPT or Claude to Jira wiki markup, and back. Tables and code blocks included.md2slack
LiveMarkdown from Claude, ChatGPT or your notes, converted to Slack formatting. Tables included.