AI Text Cleaner
Find and remove invisible Unicode characters from AI-generated or copied text. Scan, review the highlights, then clean in one click.
Your text stays in your browser. Scanning and cleaning run entirely on your device — nothing is uploaded.
How to clean your text
- Paste your textAdd text directly in the editor, or import a UTF-8 .txt file up to 1 MiB.
- ScanClick Scan. Invisible characters are highlighted inline with color-coded badges: yellow for caution, red for high risk.
- Review the bannerA summary appears below the text, naming every type found and how many times. Hover any inline badge to read a plain-language explanation.
- Clean and exportClick Clean to remove all flagged characters at once. The result appears below. Copy it to clipboard or download as a .txt file.
Frequently asked questions
What does AI Text Cleaner find?
It flags characters worth reviewing, such as zero-width spaces in plain Latin text, stray joiners, extra variation selectors, bidirectional overrides, and invisible control characters. A finding does not tell you whether text was written by AI.
Will it change spaces, emoji, or other writing systems?
Clean removes only the occurrences you select. Spaces, tabs, indentation, blank lines, trailing whitespace, and combining marks stay as written. The scanner conservatively keeps joiners that may be part of an emoji or a writing system.
How do I preserve the original line endings?
Import a UTF-8 .txt file and download the cleaned .txt. This preserves LF, CRLF, and standalone CR, even when they appear in the same file. Pasting and copying can change line endings.
Is my text uploaded?
No. Scanning, cleaning, and file handling run in your browser. Usage analytics may record page views, button names, approximate location, and a daily IP hash. They never include text, filenames, or findings.
Why AI-generated text contains invisible characters
Large language models produce text as sequences of Unicode code points, not plain ASCII. When a model samples tokens it can inadvertently include zero-width spaces, stray joiners, variation selectors, and bidirectional control characters that are common in its training data, especially in multilingual corpora, scraped web content, or documents typeset in rich text editors.
These characters are genuinely invisible at normal reading sizes. They survive copy-paste intact, so text that looks clean on screen can still carry hidden formatting instructions. Some systems strip them on ingest; others do not, causing inconsistent rendering, broken search indices, or failed regex matches downstream.
Copied text from websites, PDFs, or word processors also carries these characters. Zero-width spaces are frequently inserted by content management systems as word-break hints, and bidirectional overrides appear in internationalized documents. AI Text Cleaner handles both sources.
Character types this tool detects
| Name | Code | What it does |
|---|---|---|
| Zero-width space | U+200B | Word-break hint with no visible gap |
| Stray ZW joiner/non-joiner | U+200C/D | Join or split hint with no shaping context |
| LTR / RTL mark | U+200E/F | Invisible direction nudge |
| LTR / RTL embedding | U+202A/B | Opens a directional embedding scope |
| Directional pop (PDF) | U+202C | Closes an embedding or override scope |
| LTR / RTL override | U+202D/E | Forces text direction; can disguise reversed text |
| Bidi isolates | U+2066-9 | Isolate directional runs in Unicode bidi algorithm |
| ZWNBS / BOM | U+FEFF | No-break space or file byte-order mark |
| Unicode tag chars | U+E0000+ | Invisible tag data outside recognized emoji sequences |
| Variation selectors | U+FE0x | Alternate glyph request with no preceding character |
| Soft hyphen | U+00AD | Suggested line-break point; invisible unless line breaks |
| Control characters | U+0000-1F | Non-printing instructions including NUL |