What does the Text Cleaner do?
The Text Cleaner tool helps you fix messy formatting after copying and pasting text from Microsoft Word, Google Docs, websites, PDFs, or other sources. It removes extra spaces, trims line edges, converts “smart quotes” to straight quotes, and tidies up blank lines so your text looks clean and consistent.
Instead of manually hunting for double spaces and random empty lines, you can paste your text into the tool, select a few checkboxes, and get a cleaned version in seconds.
How it works
When you click “Clean text”, the tool runs a series of optional cleaning steps:
- Normalize newlines so the text behaves consistently across systems.
- Trim spaces at the start and end of each line (if enabled).
- Collapse multiple spaces into one, turning
"word word"into"word word". - Convert smart quotes to straight quotes, replacing curly “ ” and ‘ ’ with " and '.
- Clean up blank lines by collapsing multiple consecutive empty lines into a single blank line.
The summary on the right shows how many characters and lines you started with, how many remain after cleaning, and how many blank lines were collapsed.
When to use this tool
The Text Cleaner is useful in many everyday scenarios, for example:
- Cleaning text copied from Word or Google Docs before pasting into a CMS, blog editor, or email.
- Preparing product descriptions for marketplaces or e-commerce platforms so they look neat and professional.
- Fixing website copy that has inconsistent spacing or weird quotes after copy-paste.
- Normalizing support tickets, notes, or documentation before saving them into a database or knowledge base.
Tips for best results
- Keep “Remove extra spaces” enabled when you want natural spacing in sentences and paragraphs.
- Use “Trim line edges” to remove accidental spaces that often appear after line breaks or copy-paste operations.
- Enable smart quote conversion if you need consistent quotes in code, JSON, CSV, or other technical formats.
- Use blank line cleanup when your text has too many empty lines between paragraphs after copying from a rich text editor.
Use this tool whenever you need a quick, browser-based way to clean up text before publishing it on a website, sending it in an email, or posting it to an online marketplace.