Skip to content
QZTools

Line counter

Find out how many entries a list has, or how many lines a file has, without counting by hand.

Everything runs in your browser. Nothing you type or paste is sent to a server.

How to use the line counter

  1. 1

    Paste the text or open a .txt or .csv file.

  2. 2

    See total lines and lines with content.

  3. 3

    Check the other stats if you need them.

About this tool

We separate total lines from non-empty lines so blank lines don't inflate a list's count.

You can open text files up to 10 MB; they're read on your device without uploading.

Frequently asked questions

Does the last empty line count?

Empty lines are part of the total but not of “Non-empty lines”.

Can I count CSV rows?

Yes. Remember the first row is usually the header.

Related tools

More Text tools