Count the total number of lines in any text, code or list — instantly and accurately.
Click the text area and paste (Ctrl+V / Cmd+V) or click the Paste button. You can also type directly.
All 8 metrics update in real time as you type. The highlighted card shows the primary metric for Text Line Counter.
Use the switcher bar below the hero to jump to any related counter without re-pasting your text.
Click Download Stats to save a .txt report with all your metrics — useful for reports or submissions.
It counts every line break in your text, including empty lines. Each time you press Enter creates a new line that is counted.
Yes — empty lines are counted by default. Use our Empty Line Remover tool first if you want to count only lines with content.
Yes — paste your CSV content and the line count tells you exactly how many rows you have (subtract 1 for the header row).
No. Paste text with thousands of lines — the counter handles it all instantly in your browser.
Yes. All processing happens locally in your browser. Nothing is ever uploaded.