Line Counter

Paste or type text to count total lines, non-empty lines, blank lines, words, characters, paragraphs, sentences, and average line length.

Count Lines

Line count = text split by line breaks
Your line count result will appear here.

How the line counter works

Paste text:
Add your list, document text, notes, CSV rows, copied content, or code-like text.

Choose counting mode:
Select total lines, non-empty lines, blank lines, or trimmed line counting.

Review results:
The calculator shows total lines, non-empty lines, blank lines, words, characters, paragraphs, sentences, and average line length.

Why use a line counter?

A line counter is useful for counting list items, rows of copied text, spreadsheet exports, code snippets, notes, paragraphs, addresses, names, keywords, and document lines.

It helps you quickly check how many rows or text lines you have without manually counting each line.

Line counter tips

Frequently asked questions

How do I count lines in text?

Paste your text into the box. The tool splits the text by line breaks and counts total lines, non-empty lines, and blank lines.

What is a non-empty line?

A non-empty line is a line that contains text or characters. You can choose whether spaces-only lines should count as blank or non-empty.

Can this count rows from a list?

Yes. Paste one item per line and use the non-empty line count to count list items or rows.

Does this upload my text?

This page counts lines directly in your browser using the text you enter into the page.