Line Counter
Count total, non-empty and empty lines.
Example
| Input | one two four |
|---|---|
| Output | Lines: 4 Non-empty lines: 3 Empty lines: 1 |
How to use
- Type or paste your text into the box.
- Adjust the options if the tool has any – the result updates instantly.
- Press Copy result, or “Use result as input” to chain another step.
How it works
Handles Windows and Unix line endings and treats whitespace-only lines as empty.
Frequently asked questions
Is a trailing line break counted?
Yes, a final empty line counts as an empty line.
Is the text I type sent to a server?
No. Conversion runs in your browser and your text is not uploaded.