Line Counter

Count lines, blank lines and find the longest line.

How it works

Paste text to count its lines, blank lines, non blank lines, the longest line and the average length. You can also open a text file.

Worked example

A list of 12 names with 2 empty lines gives 14 lines, 12 with text and 2 blank.

Good to know

Common questions

What counts as a blank line?
A line with nothing or only spaces.
Does a wrapped line count twice?
No. Only real line breaks count.
Can I count a file?
Yes, use the open file button.

More in Text.