About this tool
Count lines in logs, CSV exports, lists and code. See blank lines, duplicates and the longest line.
How to use the Line Counter
- Enter the text.
- The result updates instantly, with the working shown underneath.
- Use Copy to grab a result, or Reset to start again.
How it works
Text is split on line breaks (both Windows CRLF and Unix LF).
Frequently asked questions
Does a trailing newline count as a line?
Yes, an empty final line is counted as blank.