Clean up line breaks, blank lines, and paragraph formatting, or wrap text to a fixed width.
How to Use the Text Formatter
Type or paste your text into the box.
Click "Remove Blank Lines", "Trim Each Line", "Normalize Line Breaks", or "Add Line Numbers" — or enter a width and click "Wrap to Width".
Click "Copy to Clipboard" to copy the formatted result.
Frequently Asked Questions
It converts Windows-style (\r\n) and old Mac-style (\r) line breaks to standard Unix-style (\n), and collapses three or more consecutive blank lines down to a single blank line.
This tool works at the line and paragraph level (blank lines, line breaks, wrapping, numbering), while a simple space-collapsing tool only affects spacing within a line.
It rebuilds the text word by word, starting a new line whenever adding the next word would exceed your chosen character width, so words are never split mid-word.
Yes, it's completely free and requires no sign-up.