Count lines, non-empty lines, and characters in any text.
A line counter tallies how many lines are in code, logs, or documents — including empty vs non-empty lines.
Paste or type your text.
View live line statistics.
Copy text if needed.
Yes. This tool is completely free to use with no sign-up, no limits, and no hidden fees.
No. All processing happens entirely in your browser using client-side JavaScript. Your data is never sent to a server or stored anywhere.
Found a bug or have a suggestion? Let us know — it helps us improve this tool.
Free online utilities for text, code, and more — all running privately in your browser.