0
Total lines
0
Non-empty lines
0
Empty lines
0
Unique lines
About Line Counter
Line Counter counts the lines in your text and tells you how many are empty and how many are unique. It is handy for lists, logs, exports and code.
Tips for best results
- A line break is where you pressed Enter, not where the text wraps on screen.
- Unique lines ignore empty lines.
- For one item per line lists, the non-empty count is the number of items.
How to use Line Counter
- 1
Paste your text
Add a list, log file or any text with several lines.
- 2
Read the counts
See total, non-empty, empty and unique lines.
- 3
Clean up if needed
Use Remove Duplicate Lines to keep each line once.
Frequently asked questions
What counts as an empty line?
A line with nothing on it, or only spaces.
Can I count lines in a big file?
Yes, as long as you can paste it. Very large files may feel slow on older phones.
Is my text uploaded?
No. This tool runs inside your browser, so your data is processed on your own phone or computer and is not sent to our servers.