Clean messy text with steps you control, applied in a printed order. Strip tags, remove hidden characters, fix quotes, trim lines and clear duplicates, then copy or download.
Your files are processed in your browser, on your own device. Nothing is uploaded to a server.
This Text Cleaner tidies messy text with steps you pick, applied in a printed order you can see before you run it. Strip HTML tags, clear hidden characters, fix smart quotes, trim lines and remove duplicates, then copy the result, download it, or run it through a second pass.
Paste your text and tick the steps you want. The order is printed on the page and it is the order the work happens in: strip HTML tags, remove invisible and zero-width characters, turn smart quotes into straight quotes, turn tabs into spaces, trim every line, collapse runs of spaces, handle empty lines, remove duplicate lines, and remove all line breaks.
That last step is labeled as the destructive option to use last. Once line breaks are gone, steps that work line by line, like trimming or duplicate removal, have nothing to grip. The printed order lets you plan for that instead of finding out after the fact.
Two preset buttons speed up common jobs. Quick Clean handles the light everyday fixes, while Deep Clean adds the heavier steps for text pulled from web pages, PDFs or chat exports. You can still untick any step a preset turns on. The result box gives you copy and download buttons, a use result as input button for a second pass, and character counts before and after so you can see what the clean removed.
Writers use it on text copied from a web page or a PDF, where stray tags, hard line breaks in mid sentence and doubled spaces ride along with the words. A single clean pass turns that tangle into plain paragraphs an editor or a form field can take without a fight.
People who work with lists and data use the line steps. Trim each line, collapse spaces, drop empty lines and remove duplicates and a pasted list becomes a clean set you can sort, count or import. The second pass button helps here: clean once for marks and spacing, then feed the result back and clean again for duplicates that only show once spacing is fixed.
Support and office teams use it on text from emails and chats before it goes into a ticket, a record or a report. Smart quotes and hidden characters can break search, imports and plain text systems, and swapping them for plain forms early saves odd faults later.
Order is not a detail here, it is the whole game. Removing line breaks before removing duplicate lines gives a different result from the reverse. Collapsing spaces before trimming lines differs from trimming first. The page prints the order so the result you get is the result you planned.
Empty lines get their own choice: keep them, collapse runs of them into one, or remove them all. Keeping one blank line between paragraphs suits prose. Removing them all suits lists and data. The middle choice suits drafts copied from sources that pad every gap.
Character counts before and after keep you honest about scale. A drop of a few dozen characters on a long paste is a light tidy. A drop of thousands means tags, hidden marks or duplicate lines formed a large share of what you pasted, and a quick skim of the result is worth it before you use it.
Cleaning is destructive. A removed tag, break or duplicate line does not come back from the result box, so keep your source text until you are sure the clean version is right. Work on a copy when the source is the only one you hold.
A cleaner also cannot restore information the source never had. If a copy paste lost its headings, bold marks or table shape on the way out of the source, no step here can invent them back. It can only tidy what arrived. And a step does exactly what its label says, no more: stripping tags removes the marks, not the words inside them, and fixing quotes will not fix spelling. Use it as a tidy stage in your work, then read the result once with your own eyes.
It applies the light everyday steps, like fixing smart quotes, trimming lines and collapsing extra spaces. It is the right start for most pasted text. You can untick or add steps before you run it.
It adds the heavier steps on top of the light ones, such as stripping HTML tags and removing invisible and zero-width characters. Use it for text pulled from web pages, PDFs or exports with hidden marks.
Steps change the text the next steps see. Removing line breaks first leaves no lines for trim or duplicate steps to work on. The order is printed on the page so you can plan the result you want.
Yes. The use result as input button feeds the cleaned text back in for another pass. That helps when a first pass fixes spacing and a second pass can then spot duplicates that were hidden before.
No. Stripping tags removes the marks, like the tag brackets and code, and keeps the text that sat between them. Check the character counts and skim the result if the source was heavy with code.
Not from the result. Cleaning is destructive and there is no undo store on the page. Keep your source pasted somewhere safe until the cleaned version is checked and saved where you need it.
Same rules as this one: free, in your browser, with nothing uploaded.
Words, characters, sentences and reading time, live.
UPPER, lower, Title and sentence case in one click.
Characters with and without spaces, counted as you type.
Count sentences and check how long they run.
Count paragraphs, lines and words in one paste.
Count letters alone, with spaces and lines shown too.
Headlines capitalized the way style guides ask for.
How many minutes your text takes to read or say aloud.