HOW IT WORKSUse Line Counter in three simple steps
1Add text
Type, paste or import a UTF-8 TXT file up to 5 MB.
2Read the count
Your lines count updates as you type. Review the supporting statistics below.
3Check the counting rule
Compare total, blank and non-empty lines.
ABOUT THIS TOOLLine Counter
Count every line in your text instantly.
Only actual line breaks count, not visual wrapping. CRLF, LF and CR line endings are supported.
FAQFrequently asked questions
Do wrapped lines count?
Only actual line breaks count, not visual wrapping. CRLF, LF and CR line endings are supported.
Does a trailing newline count?
Yes. It starts a final empty line. The page also shows non-empty and blank-line counts.
Is this tool free and private?
Yes. No account is needed, and your input is processed locally in your browser without being uploaded to FormatKit.