Line counter
Find out how many entries a list has, or how many lines a file has, without counting by hand.
Everything runs in your browser. Nothing you type or paste is sent to a server.
How to use the line counter
- 1
Paste the text or open a .txt or .csv file.
- 2
See total lines and lines with content.
- 3
Check the other stats if you need them.
About this tool
We separate total lines from non-empty lines so blank lines don't inflate a list's count.
You can open text files up to 10 MB; they're read on your device without uploading.
Frequently asked questions
Does the last empty line count?
Empty lines are part of the total but not of “Non-empty lines”.
Can I count CSV rows?
Yes. Remember the first row is usually the header.
Related tools
- PDF
PDF to Text
Get all the text out of a PDF to copy it or save it as .txt.
- Text
Word Counter
Count words, characters and reading time instantly.
- Text
Character Counter
Count characters with and without spaces for posts and forms.
- Text
Case Converter
Change text to upper case, lower case, title case and more.