QuickFreeTools

Online Count Text Lines

Count the number of lines in text. Supports empty lines, trailing newline, and different line endings (CRLF, LF, CR). Client-side only.

0 lines

Frequently Asked Questions

How are lines counted?
Every newline (LF, CRLF, or CR) starts a new line. The last segment after the final newline counts as one line even if empty.
Do empty lines count?
Yes. Empty lines are still lines, so a blank line between two paragraphs counts as one line.
What about trailing newline?
A trailing newline after the last character adds one empty line to the count (many editors do this).

Related Text Tools