Text Cleanup
Remove extra spaces and blank lines. Choose each change, then compare the result with your original.
Processed in this tab. Your text is not uploaded or saved. Keep your original below while you compare changes.
0 characters · 0 whitespace-separated words
0 characters · 0 whitespace-separated words
Compare names, numbers, paragraph breaks, and list items before replacing your source.
What each option does
Trim line edges removes spaces and tabs at the start and end of each line. Collapse repeated spaces changes runs of two or more spaces or tabs to one space. Both can alter indentation: leave them off for code, aligned columns, or poetry.
Limit blank lines keeps at most one empty line between paragraphs. Join all lines replaces every line break with a space. It is off by default because it can destroy lists, addresses, and paragraph boundaries. Windows CRLF and old CR line endings are normalized to LF.
Try a small example
Plan the workshop
- Confirm the room
- Send the agenda Plan the workshop
- Confirm the room
- Send the agendaThe list stays on two lines when Join all lines is off. Compare important names, amounts, and paragraph boundaries before replacing your source. Copying happens only when you click Copy result.
How the counts work
Characters count Unicode code points, including spaces and line breaks; a combined emoji may use several code points. Words count nonempty whitespace-separated chunks. That is useful for comparison, but is not a language-aware word count for Chinese, Japanese, or every writing system.
Limits and next steps
Input is limited to 500,000 UTF-16 code units to keep the tab responsive. This tool does not perform spelling correction, OCR, or semantic editing. Pasting a script or HTML displays text; it does not run it.
Continue with cleaning pasted text without changing meaning or repairing line breaks copied from a PDF.