✎

Add Line Breaks

Add line breaks to entered text.

0Words
0Characters
0Sentences
0mReading time
Choose a file or fill the fields, then click Add line breaks.

About Add Line Breaks

Long unbroken paragraphs are hard to review, quote or paste into systems with line-length rules. Writers break text into one sentence per line for editing or subtitles, and developers wrap text at 72 or 80 characters for commit messages and plain-text email. This tool inserts the breaks for you in either style.

How it works

Two modes are available. Sentence ends inserts a line break after a period, question mark or exclamation point when it is followed by whitespace and then a capital letter, digit or quote mark. Line length wraps text greedily: words are added to a line until the next word would exceed the maximum length, which you can set from 10 to 500 characters (default 80). Wrapping happens per existing line, collapses runs of spaces, and never splits a word, so a word longer than the limit gets its own line.

How to use Add Line Breaks

  1. Type or paste the text you want to process in the text box above.
  2. Complete the available fields: Break at, Maximum line length. Use the field labels and examples shown in the workspace.
  3. Select “Add line breaks” and check the result before copying or downloading it.

Worked example

In Line length mode with a maximum of 20, 'The quick brown fox jumps over the lazy dog' becomes three lines: 'The quick brown fox' (19 characters), 'jumps over the lazy' (19), and 'dog'. In Sentence ends mode, 'It rained. We stayed in! Did you? yes.' becomes 'It rained.', 'We stayed in!' and 'Did you? yes.'

Tips for a better result

  • Abbreviations followed by a capital, such as 'Dr. Lee', trigger a break in Sentence ends mode. Scan the result for split names and rejoin them.
  • Choose 72 for Git commit bodies and plain-text email, or about 42 for subtitle lines, then adjust if your target system specifies otherwise.
  • Remove existing hard breaks first with Remove Line Breaks; Line length mode wraps each existing line separately and will not rejoin short ones.

Frequently asked questions

Why didn't it break after a question that starts with a lowercase word?

Sentence mode only breaks when the next character after the space is an uppercase letter, a digit or a quote mark. Lowercase continuations stay on the same line, so text such as 'apples, pears, etc. and more' is not split.

Does Line length mode count characters or words?

Characters, including spaces between words. A line never goes over the limit unless a single word is longer than the limit by itself.

Are blank lines between paragraphs kept?

In Line length mode, each existing line is wrapped separately, so blank lines stay as blank lines. In Sentence mode, the original line breaks are left untouched.

What to check

Review punctuation, formatting and meaning before using transformed text elsewhere.

Read the Privacy Policy for information about local processing, connected services and advertising.