About
This text tool enables you to split a block of text into multiple lines by adding line breaks. You can add a new line after an occurrence of a letter/word or after a specific number of characters. You can also double the number of line breaks by selecting the "Add 1 line" option.
Text Occurrence
Use this option to add a line break before or after certain characters. You can choose "instead of" to replace the specified character with a new line.
Example: Add line breaks after each occurrence of the letter "C".
ABCABCABC
Result
ABC
ABC
ABC
Character Position
Use this option to add a line break after reaching a certain number of characters.
Example: Add line breaks every 4 characters.
ABCABCABC
Result
ABCA
BCAB
C
Add 1 Line
Use this option to add a new line after the last occurrence of a line break (followed by any character except \n).
Example: Add a new line
ABC
ABC
ABC
Result
ABC
ABC
ABC
Insert line breaks at chosen text matches or fixed character intervals. Turn a continuous block into lines for editing or simple data cleanup.
How to use
Choose Text Occurrence to break before, after, or instead of a match. Choose Character Limit for fixed chunks, or Every Line to add spacing.
Example
For A;B;C, replace the semicolon with a line break to place A, B, and C on separate lines.
FAQ
Can fixed chunks split a word?
Yes. Character count mode does not preserve word boundaries. Use word wrapping when complete words matter.
A practical task
A useful cleanup task is separating a semicolon list into one item per line. Use replacement mode so the semicolons disappear. Adding a break after the separator instead keeps it attached to each item, which suits a different output format.
Another useful question
Which mode preserves words?
Text matching breaks at your chosen marker. Fixed character chunks can cut through words. For prose, choose a natural separator or use the dedicated word wrapping tool.
Details for interpreting the result
| Detail | Explanation |
|---|---|
| Line endings | A line break can use LF or CRLF. They look similar in an editor but contain different characters. Byte comparisons and checksums depend on the exact representation, including a final line break. |
| Paragraphs and lines | A manual line break and a paragraph boundary serve different purposes. Export tools can map them differently. Inspect lists, addresses, and intentional blank lines rather than treating every visible break as interchangeable. |
| Whitespace characters | An ordinary space, a tab, a nonbreaking space, and a zero width space are different characters. They can look similar or invisible. Choose the exact kind of cleanup instead of treating all blank looking input as equivalent. |