Count Each Line shows how many characters are in every line of your text. Paste one item per line and get the characters, characters without spaces and words for each line, plus the longest and shortest line. It is free and runs in your browser.
| Line | Characters | Without spaces | Words | Text |
|---|
Hello World ↵ Good morning, Pakistan! ↵ OK
Line 1: 11 · Line 2: 23 · Line 3: 2
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
Count Each Line counts the characters in every line of your text, not just the total. Each time you press Enter a new line starts, and the tool lists the length of every one of them.
For each line you get the characters, the characters without spaces and the number of words. A summary shows the longest line, the shortest line and the average length, so it is easy to spot a line that is too long.
It works well for lists with one item per line, such as page titles, meta descriptions, product names, subtitles or lines of a poem or code.
Each line is counted on its own. Spaces count as characters, and empty lines have a count of 0.
| Line | Characters | Without spaces | Words |
|---|---|---|---|
| Hello World | 11 | 10 | 2 |
| Good morning, Pakistan! | 23 | 21 | 3 |
| (empty line) | 0 | 0 | 0 |
| I love coding. | 14 | 12 | 3 |
Checking a list of titles or meta descriptions against a limit, keeping subtitle and caption lines short, checking line length in code or poems and finding the longest line in a list.
Only real line breaks start a new line. Text that wraps in the box is still one line. Paste your list with one item on each line.
For the total count use Character Counter. To count words use Word Counter. To count the lines themselves use Line Counter.
Count Each Line shows the number of characters in every line of your text. For each line it also shows the characters without spaces and the number of words, plus the longest and shortest line.
Type or paste your text into the box, with one item on each line. The table below the box updates as you type and lists the counts for every line. Click Copy Results to copy the table.
A new line starts each time you press Enter, so lines are separated by line breaks. Text that only wraps to the next row because the box is narrow is still one line.
Yes. The Characters column includes spaces and punctuation. The Without spaces column leaves out spaces and tabs.
By default empty lines are listed with a count of 0, so the line numbers match your text. Untick Include empty lines to hide them. The original line numbers are kept.
It is useful for checking a list of titles or meta descriptions against a limit, keeping subtitle or caption lines short, checking the line length of code or poems, and finding the longest line in a list.
The tool counts each Unicode character once. A simple emoji counts as one, but some emoji are made of several characters joined together and count as more than one. Other platforms may count them differently.
Yes. Windows (CRLF), Mac and Linux line endings are all treated as a single line break.
Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server. Still, avoid pasting passwords or other secrets into any web page.
Last updated: 25 October 2026