Text Cleaner
“Text cleaner” gets used for three different jobs, and mixing them up is why people end up disappointed. This one does exactly one of the three: it finds and removes the invisible and typographic characters that ride along in copied text — zero-width spaces, smart quotes, non-breaking spaces, tag characters — and leaves your actual words, line breaks and paragraph formatting exactly as you pasted them. Free, no sign-up, and it runs in your browser rather than on a server.
Cleaning happens in your browser: that text never leaves this page, and there is no upload, no account and no limit. Rewrite is the exception — that one sends your text to our server.
Three things people call a "text cleaner"
Before you paste anything in, it's worth checking which of these three you actually need — because this tool only does the third one, on purpose.
- Whitespace and line-break tidiers. Collapsing double spaces, stripping blank lines, trimming the start and end of a paragraph. This tool does not do that: every space and every line break you paste in comes out exactly where it went in.
- Case and format converters. Turning text into UPPERCASE or Title Case, or stripping Markdown and HTML tags. Also not this tool — it does not change a single letter of what you typed.
- Hidden-character strippers. Removing characters that have no visible shape at all, so nothing on screen changes but the underlying text does. That is what this page does, and it is a narrower, quieter job than the other two — which is exactly why a general text editor's find-and-replace does not catch it.
If you searched "text cleaner" wanting the first or second job, this is the wrong tool and no amount of clicking around will make it do something it doesn't. If your text looks completely normal but is somehow causing a problem, keep reading — you're probably in the right place.
Why invisible characters need their own cleaner
Nothing you type on a keyboard produces a zero-width space or a tag character. They arrive as passengers: copy a reply out of an AI chat window and the characters the interface used to render that reply come along with your words. Copy a paragraph out of a PDF and the soft hyphens the original document used to control line breaks come with it. Paste out of Word or Google Docs and autocorrect has already swapped your straight quotes for curly ones and your double hyphen for an en dash. None of it shows up on screen. All of it can survive into a place that was not expecting it.
What actually happens when you press Clean
The box above reads your text one character at a time, decides whether each one has a visible shape, and only touches the ones that don't. Everything with a shape — letters, numbers, accented characters, emoji, punctuation you actually typed — passes through unchanged. The one optional exception is the checkbox above the box: switch it on and curly quotes, en dashes and em dashes are also straightened into a plain apostrophe, quote mark or hyphen, because those are a common source of the same kind of breakage even though they are visible. Turn the checkbox off and even that stops.
Where this saves people time
- A CSV or JSON import that fails on the very first line — usually a byte-order mark left over from how the file was exported.
- A form that rejects a pasted answer with no explanation, when the same text typed by hand goes through fine.
- A search box that can't find text you can clearly see on the page, because a non-breaking space stands in for one of the spaces you're searching for.
- Two strings that look identical in code but fail an equality check, because one of them has an invisible character the other doesn't.
- A character or word count that comes out a few characters higher than you'd expect for the text you can see.
Questions
Does a text cleaner remove extra spaces and line breaks?
Not this one. It only removes characters with no visible shape and, optionally, straightens curly quotes and dashes. Multiple spaces, blank lines and paragraph breaks are left exactly as you pasted them — that kind of tidying is a different job, usually handled by your word processor's own find-and-replace.
Will this change the words or formatting of my text?
No. Every character that has a visible shape passes through unchanged. The only visible change it can make is turning curly quotes and long dashes into straight quotes and a plain hyphen, and that is optional — the checkbox above the box switches it off.
Is there a limit to how much text I can clean?
No account, no upload and no limit. The cleaning happens entirely in your browser, so the only ceiling is how much text your browser tab can hold.
Does it matter whether the text came from an AI chat, a PDF or Word?
No — the tool matches characters, not sources. Text copied out of ChatGPT, Claude, Gemini, a PDF reader, Word or a web page is checked exactly the same way.
Can a text cleaner fix an "invalid character" error on a form?
Often, yes — if the rejection is caused by an invisible character riding along in a paste. If the form is instead rejecting visible symbols such as accented letters or emoji, that is a different problem this tool leaves alone on purpose; see the special characters remover page for that distinction.
What this tool cannot remove
There are two different things people call an "AI watermark".
- Invisible and typographic characters. This tool removes named characters that carry no visible glyph at all, as defined by the Unicode standard — not a number we made up. It also turns different space variants, including the narrow no-break space, into an ordinary space. Curly quotes and dashes go through a separate, optional step — typographic replacements, switched on by default; turn that option off and they stay exactly as typed. It also clears the three Unicode private-use ranges, including the tag range U+E0000–U+E007F used to hide data in plain text — those ranges hold no standard characters of their own, so we describe them rather than dress them up as a character count.
- A statistical watermark in the word choice itself. Google's SynthID-Text, live in Gemini since May 2024, is documented to change no characters at all, so no character cleaner — ours included — has anything to catch. Anthropic has marked Claude's output the same way since 2 August 2026, to comply with the EU AI Act, but its own explanation (support.claude.com) confirms only that the mark exists, not how it works — so we can't promise it is built the same way SynthID is. What we can say: a character cleaner like this one only ever touches Unicode characters, and no watermark that relied on those would survive an ordinary copy-paste, so there is nothing here for it to remove either way. As of 10 September 2026, OpenAI's own content-provenance page lists a text watermark for neither ChatGPT nor its API.
If a tool promises to strip "the AI watermark" without making this distinction, it is describing the first thing while letting you believe it does the second.
Related tools
It is one cleaner behind all of these pages — the same characters, the same button. Only the explanation around it changes, so pick whichever matches your problem.
- Clean text — the main tool, with the full list of everything it removes.
- Hidden characters — if your text looks fine but something is clearly wrong with it.
- Special characters remover — if your problem is visible symbols, not invisible ones.
- Invisible characters — the full reference list of what this cleaner checks for.
- Want to clean text for a specific destination — a form, a spreadsheet, a CMS — rather than in general? That page walks through it by destination.
- Pricing — what stays free and what a pass adds, and who builds this.