Line counter
How do I use a line counter? Counts the lines of text, for lists, data and code.
| What it does | Counts the lines of text, for lists, data and code. |
|---|---|
| Exact rule | Lines are separated by line breaks (Windows, Mac or Unix); one line break at the very end does not add a line, and blank lines in the middle count. |
| Example text | apples ⏎ bananas ⏎ ⏎ cherries ⏎ |
| Example result | 3 words, 25 characters, 1 sentences, 2 paragraphs, 4 lines |
| Limits | Lines that wrap on screen are one line here: only a real line break starts a new one. |
| Where it runs | In your browser: your text is never uploaded, stored or logged. |
Related tools
Word counter Character counter Sentence counter Paragraph counter Letter counter Different words counter Reading time calculator Speaking time calculator
All tools in Count words and text
How to use the line counter
- Paste a list, a table or a few lines of code.
- Read the line count.
- Use the remove duplicate lines tool if you want to count distinct lines.
How it works
Lines are separated by line breaks (Windows, Mac or Unix); one line break at the very end does not add a line, and blank lines in the middle count.
Lines that wrap on screen are one line here: only a real line break starts a new one.