Skip to content

Line counter

Paste a list, a CSV file or a code snippet, and it will count the total number of lines and the number of lines containing content.

It works in your browser. We do not store or send anything you type.Free · No sign-up required

Workspace · Line counter

Runs in your browser · 100% local

Start typing to see the count.

Lines0
Words
0
Characters
0
No spaces
0
Sentences
0
Paragraphs
0
Lines of text
0
Words per sentence
0
Reading
0 min
Spoken
0 min
Files are processed in your browser; if you are signed in with history enabled, text results appear in your history.
Instructions

How to use it

01

Paste the content into the box.

02

Check the total number of lines, the number of lines containing text (excluding blank lines) and the number of paragraphs.

03

Use the count function to check lists, records or rows before importing them.

Examples

Examples

Mailing list

Paste an Excel column and check that it contains the expected 250 addresses.

CSV file

A CSV file with a header and 99 lines of data has 100 lines.

Poem

Count the lines in a sonnet: 14 lines divided into 4 stanzas.

Reference guide

What you need to know

Each line break starts a new line. Lines containing only spaces are considered empty.

Paragraphs are counted as blocks of text separated by at least one blank line.

Frequently asked questions

Frequently Asked Questions

Overall, yes; but in terms of ‘lines of text’, no.

Related tools

Other tools that can help with similar tasks.

More at Text→
Online line counter: total lines and lines with text · ByTooly