Input & Output: The "Input" textarea is where you type, paste or upload your text. The line-broken result is shown in the "Output" textarea, ready to copy or download.
Text occurrence: Adds a line break around every match of the text you type. For example, adding a break after each "C" in "ABCabcABC" (with Case-insensitive on) produces three lines:
ABC
abc
ABC
Before / Instead of / After: Choose where the new line goes. "Before" puts it in front of each match, "After" puts it behind, and "Instead of" swaps each match for a line break (the last match at the very end of the text is simply removed to avoid a trailing blank line). So replacing "C" with line breaks in "ABCABCABC" gives:
AB
AB
AB
Case-insensitive: When on, "c" also matches "C" (and vice versa). Useful for mixed-case text.
Regex: When on, the "This text" box is treated as a regular expression. For example, the pattern (?=\d) (a lookahead for a digit) adds a line break before every number. An invalid pattern shows a friendly error instead of breaking your text.
Character position: Breaks the text into lines of exactly the given number of characters; the last line may be shorter. For example, breaking "watermelon" every 4 characters produces:
wate
rmel
on
Don't split words: When on, the break moves to the next space so words are never cut in half. Breaking "the quick brown fox" every 10 characters with this switch on produces:
the quick
brown fox
Add blank lines: Adds the number of blank lines you choose after every existing line break. The default is 1, so "AppleâŽBananaâŽCherry" becomes "AppleâŽâŽBananaâŽâŽCherry". Set it to 2 to insert two blank lines, and so on.
Load an example: Loads a sample text into the "Input" field (using the default Text occurrence mode, with Case-insensitive on) so you can test the tool instantly.
Upload a file: Reads a text file from your device into the "Input" field - handy for breaking saved files.
Copy & Download: "Copy" puts the output on your clipboard for pasting elsewhere; "Download" saves it as a text file.
Add Line Breaks button: The central action - it processes the input text using the selected mode and options and writes the result to the "Output" field.
Clear & Reset: Clears both textareas and resets the tool to its initial state.