The number of lines you see on screen depends on the window width, because long lines wrap, so a visual count is not the real line count.
Line Counter counts actual line breaks instead, and a toggle lets you include or skip blank lines, so a list, a log or a block of subtitles reports the number you actually mean.
How to use Line Counter
- Paste your list, log or lines into the editor.
- Read the line total, which counts real newlines and ignores on-screen wrapping.
- Toggle blank lines on or off to match how you want them counted.
Use cases
- Counting entries in a list or a log file.
- Checking the number of lines in a block of subtitles.
- Confirming a code or config snippet has the expected line count.
Good to know
Line breaks are detected as CRLF, CR or LF, so files saved on Windows, classic Mac or Unix all count the same way. Wrapped text is not a new line. By default blank lines are skipped; the toggle counts every line including empty ones.
Frequently asked questions
Are wrapped lines counted as separate lines?
No. Only real line breaks count, so resizing the window does not change the total.
Can I include blank lines in the count?
Yes. The blank-line toggle switches between counting only non-empty lines and counting every line.
Does it handle Windows and Unix line endings?
Yes. CRLF, CR and LF are each treated as one line break.