Line counter

Choose whether blank lines should count.

Count lines in pasted or typed text.

Input

Result

About this tool

The line counter totals the lines in pasted text and lets you decide if blank lines belong in the result. Use it to review log excerpts, check generated files, or estimate the size of a list before import. It handles common line endings from Windows, macOS, and Linux. Paste the content, choose how blank lines should be treated, and get a clear total.