Line Counter

Count total, filled, and blank lines in pasted text, plus words and characters.

✓ Free to use · Runs in your browser · No sign-up

1. Add your text

Your results update as you type. Everything stays in this browser; your text is not uploaded.

Type or paste up to 100,000 characters. Spaces and line breaks are included in the limit.

Updating your results…

How to use Line Counter

  1. Paste a list, notes, or another block of text.
  2. Check total lines, non-empty lines, and empty lines.
  3. Edit or clear the input to see the totals update.

A closer look

Lines are separated by actual line-break characters, not by the way text wraps to fit your screen. Windows, Unix, and older Mac line endings are recognized. A line containing only spaces or tabs counts as empty. A final line break starts one final empty line, while a completely empty input has zero lines. This makes totals predictable for pasted lists and plain-text files.

A practical example

The text one, a blank line, then two contains three lines: two filled and one empty. A final line break adds another empty line.

A useful tip

If the total seems one too high, check for a line break at the very end of the text.

Good questions. Simple answers.

Will a narrower phone screen increase the count?

No. Visual wrapping does not add a real line break.

Do blank lines count toward total lines?

Yes. Total lines equals non-empty lines plus empty lines.

Explore all text tools for related tasks and category-specific guidance, or read how Toolzafi handles your data.

A few more useful tools