Count Lines

Count total, empty, and non-empty lines

Input
0 words·0 chars·0 lines

Quick Access

About Count Lines

Counts total lines, non-empty lines, empty lines, and average line length in your text or data file.

Use cases

  • Count rows in a CSV or TSV file
  • Check how many entries are in a list
  • Measure data file size before import
  • Audit log files

FAQ

Does it count the last line if there is no trailing newline?
Yes — the last line is always counted regardless of a trailing newline.

Related tools