Line Counter
Count lines of text. Shows total, non-empty, longest, and average line length.
Input
0Total lines
0Non-empty
0Empty
0Avg chars/line
0Longest line
0Shortest line
More tools
Line Counter
Dev / SEO tool
Current
Word Counter
Count words
Column Extractor
Extract columns
Remove Duplicates
Dedupe lines
Line Counter
Count the lines in any text block. Useful for sizing logs, validating code against line-count limits, estimating file length, and quick QA.
- Total lines — every
\n-separated line, blank or not - Non-empty — lines with at least one non-whitespace character
- Empty — blank or whitespace-only lines
- Longest / shortest — line length in characters