Text Cleaner
Remove extra spaces, HTML, emojis and smart quotes.
Free
Runs in your browser
About this tool
Text Cleaner tidies text pasted from websites, Word or chat apps. It trims lines, collapses repeated spaces, strips HTML tags and removes invisible characters that break code, spreadsheets and forms.
How to use Text Cleaner
- Paste your messy text.
- Tick the clean-up options you want.
- Copy the clean text.
Questions people ask
What are smart quotes?
Smart quotes are curly quotation marks (“ ” ‘ ’) added by word processors. Code, CSV files and many forms expect straight quotes (" and '), so the tool swaps them.
Which invisible characters are removed?
Zero-width spaces, zero-width joiners, word joiners, byte order marks and soft hyphens are deleted. Non-breaking and other special spaces become normal spaces.
Does stripping HTML keep line breaks?
Yes. Paragraphs, list items, headings and <br> tags become line breaks, so the text keeps its basic layout.
More text tools
See all 19 →
Slug GeneratorTurn titles into clean URL slugs.
Fancy Text GeneratorBold, italic, script and other Unicode fonts to copy.
Reverse TextReverse letters, word order or line order.
Text to SpeechRead text aloud with your device’s voices.
Word Frequency CounterFind the most used words in any text.
Add Line NumbersNumber lines and add a prefix or suffix to each.