Line Counter

Count logical lines and nonempty lines in pasted text.

Loading interactive controls…

Input

Results

Lines (including empty)
3
Nonempty lines
2
Words
4

How to use line counter

Count logical lines and nonempty lines in pasted text.

Enter or paste your text, adjust any available options, then copy the result you need.

What to check before using the result

A final newline creates an empty logical line; wrapping on screen is not a newline.

Related tools

Explore related tools and references