How to use
Paste your text
Paste a paragraph or list into Your text, open a file, or press Try sample to load a short paragraph with three sentences.
Choose where to break
Pick a mode in How to add line breaks. For wrapping, set Max characters per line or click 60, 72 or 80. For after or before, type the character or text, such as a comma.
Check and copy
Read the line breaks added and the longest line, tick Add a blank line between parts if you want more space, then press Copy or Download .txt.
Why Add Line Breaks
- Wraps text at any width without splitting words.
- Puts each sentence on its own line, or breaks after a comma or any text.
- Can add blank lines between parts or turn breaks into paragraph breaks.
- Shows the longest line, and runs in your browser.
What each mode does
Each row shows the input a, b, c. Done! Next step. with that mode and the default options.
| Mode | Result (a slash marks a line break) |
|---|---|
| Wrap lines at width 10 | a, b, c. / Done! Next / step. |
| New line after each sentence | a, b, c. / Done! / Next step. |
| New line after a comma | a, / b, / c. Done! Next step. |
| New line every 2 words | a, b, / c. Done! / Next step. |
Adding line breaks in other programs
Most editors can do part of this job.
- Word and Google Docs: Shift+Enter adds a line break inside a paragraph, and Enter starts a new paragraph.
- VS Code: View, Word Wrap only changes how text is shown, while a find and replace of ,\s with ,\n in regex mode adds real breaks after commas.
- Command line: fold -s -w 72 file.txt wraps at 72 characters on spaces, and fmt -w 72 does the same while joining short lines.