Line Counter
Live statistics for any text: lines, words, characters, bytes, paragraphs and sentences.
Text
How things are counted
- Lines — every line break (
\n,\r\nor\r) starts a new line. A trailing line break therefore adds an empty last line, just as most editors show it. - Non-empty lines — lines that contain at least one non-whitespace character.
- Words — runs of characters separated by whitespace.
- Characters — Unicode code points, so an emoji such as 😀 counts once. No spaces leaves out all whitespace including line breaks.
- Bytes — the size of the text when saved as UTF-8.
- Paragraphs — blocks of text separated by one or more blank lines.
- Sentences — detected with the browser's built-in sentence segmentation.
- Avg word length — letters and digits per word, ignoring punctuation.
Privacy
All processing happens in your browser. Nothing you type is sent, stored or logged.