Line counter

Count how many lines are in a text or list based on line breaks, including blank lines.

Live line breakdown

Empty lines are counted separately; a line containing only spaces is empty.

Clean up lines

The cleaned result does not change the original text.

How it works

Count how many lines are in a text or list based on line breaks, including blank lines.

Worked example

“One”, a blank line and “Three” make 3 total lines: 2 with text and 1 blank.

How it works

Line breaks separate lines. Lines containing only whitespace count as blank.