Paste AI output, a copied Word doc, anything messy. textscrubr pulls out the invisible characters, the watermark junk, the stray em dashes and double spaces, then leaves your headings, lists, and code exactly where you put them.
Run a typical AI-text cleaner on a document with bullet points and it returns a wall of text. textscrubr parses the text line by line before it touches anything, so it can tell a stray double space from a list indent, and a watermark character from your code.
Zero-width spaces, joiners, the byte-order mark, soft hyphens and direction marks ride along
in pasted text and break code, search and databases. textscrubr finds and counts each one. Real
emoji like 👍🏽 keep the joiners they need.
Headings, ordered and unordered lists, blockquotes and fenced code blocks are detected and
left alone. Indentation stays. Spaces inside `code` stay. Only the noise goes.
Every transform runs as JavaScript in this tab. Your text is not sent to a server, logged, or stored. Close the tab and it is gone. Useful when the text is something you cannot paste into a random web box.
The tool on this page is free, always. If you'd rather clean text right inside your own chatbot, the same engine ships as a Claude skill and a ChatGPT custom GPT, a one-time purchase you keep for life. Both run the real cleaning code, not a prompt guessing at it, so invisible characters and structure are handled exactly like they are here.
A drop-in Agent Skill. Claude loads it automatically when you ask to clean or de-AI text, runs the bundled cleaner in its sandbox, and hands back tidy text with a summary of what it pulled out.
textscrubr folder.A custom GPT with the cleaner uploaded as a knowledge file and Code Interpreter doing the work. Paste messy text, get clean text back, with your bullets, headings and code blocks left alone.
clean.py as Knowledge.