Skip to content
Explore tools

A TOOL FOR A SPECIFIC JOB

Text & Line Counter

Count words, characters, and lines locally.

Processed locally in your browser. Maximum 200,000 characters.

What this tool does

Get a quick count of plain-text content.

How to use it

Paste text and press Process. Empty input does not generate a result.

Privacy and limitations

Processing takes place in your browser. Avoid pasting sensitive data into a shared device. Results are not stored by this tool.

What gets counted

Paste plain text to see a character count, a whitespace-separated word count and the number of text lines. The character count includes whitespace and line breaks. A line break starts another line, even when it follows the final word.

When to use it

Use this for a quick draft check, caption length or general text inspection. Different editors may define words differently, especially with punctuation and languages that do not separate words with spaces.

How line and word counts behave

A word is a run separated by whitespace, so “one-two” counts as one word and punctuation remains part of a word. Lines are counted from line breaks: text ending with a line break has a final empty line in the count. The character total includes spaces and line breaks.

Questions about this tool

How does it decide what counts as a word?

It splits text on whitespace, so punctuation stays attached and a hyphenated term without spaces is one word.

Why can a trailing line break increase the line count?

The line count is the number of segments separated by line breaks. A final break leaves an empty segment at the end, which is counted as a line.