Add Line Breaks

Wrap text.

Wrap text to width instantly.

Calculator Inputs

About Add Breaks

Wrap text.

Wraps on words.

Where it is used

Formatting for 80-col, emails.

How to use the Add Breaks

  1. Text — enter the value (e.g. Long text…).
  2. Width — enter the value (e.g. 80).
  3. Calculate — press the Calculate button to see the result instantly above.

Formula

Word wrap greedy to width.

Examples

Example

inputText:hello world long text
width:10
Result: hello world …

Frequently Asked Questions

Hard break?
No, word boundary only.