Text

Line Counter

Count total lines, blank lines, non-empty lines, words and characters in real time. Works with plain text or source code.

Lines

0

Non-empty

0

Blank

0

Words

0

Characters

0

No spaces

0

Frequently asked questions

How are blank lines defined?

A blank line is any line whose contents are empty after trimming whitespace (spaces and tabs).

Does it work for source code?

Yes — paste any source file and the counter behaves like the Unix wc command.

Are tabs counted as characters?

Yes — every character including tabs and spaces is counted in the total. The "no spaces" stat strips all whitespace.

Related tools