RelicRELIC

Line Counter

Count lines, words and characters, with empty and unique line counts.

Runs entirely in your browser. Nothing you type is uploaded.
0
Lines
0
Non-empty lines
0
Unique lines
0
Words
0
Characters
0
Empty lines

What it does

Count the lines, words, and characters in your text, plus how many lines are non-empty or unique, updating live as you type. It all runs in your browser, so the text you paste is never uploaded anywhere.

For the text you keep reworking

If you are cleaning up text you copied from somewhere, you will probably want the original again later. Relic keeps an encrypted, searchable history of everything you copy, on every device, so the version you started from is always one search away.

Frequently asked questions

How do I count the number of lines in text?

Paste or type your text and the line count updates live at the top, alongside words and characters. No button to press, the numbers move as you edit.

What is the difference between total lines and non-empty lines?

Total lines counts every line including blank ones, while non-empty lines skips the blanks and counts only lines with actual content. If those two numbers differ, the gap tells you how many empty lines are in your text.

What does the unique lines count mean?

It is how many distinct lines you have after ignoring repeats, so if a line appears three times it still counts as one. Comparing unique lines to total lines is a quick way to spot how much duplication is in a list.

Does it count words and characters too?

Yes. Along with the line counts you get live word and character totals, which is useful for checking a list against a limit or sizing a block of text at a glance.

Is my text stored or uploaded when I count it?

No. The counting happens live in your browser and the text never leaves your device.

More free tools
Number Lines
number lines
Alphabetize List
alphabetize list
Reverse Text
reverse text
Remove Line Breaks
remove line breaks
Mirror Text
mirror text
Whitespace Remover
whitespace remover
All tools