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
Word Counter
Count words, characters, sentences and paragraphs in any text. Includes reading time estimate.
Character Counter
Count characters and check the limits for Twitter, Instagram, LinkedIn, TikTok and other social networks.
Duplicate Line Remover
Remove duplicate lines from a list. Options to ignore case, trim spaces, sort and keep only uniques.