Text CounterCount Unicode code points, whitespace, punctuation, lines and paragraphs locally, with a simple ASCII and CJK word-count rule.
en

Text Counter

Count Unicode code points, whitespace, punctuation, lines and paragraphs locally, with a simple ASCII and CJK word-count rule.

Output
Characters: 8
Characters without whitespace: 6
Whitespace: 2
Punctuation: 1
Words: 3
Lines: 1
Paragraphs: 1

Common tasks

  • text counter
  • character count
  • word count
  • line count
  • punctuation count
  • text counter online
  • free text counter
  • text counter no upload

Quick answer

Paste text to see counts immediately. Characters count Unicode code points, while words count ASCII letter/digit/underscore runs and individual characters in U+3400–U+9FFF. This is not language-aware word segmentation.

How to use

  1. 1. Paste your textReplace the sample with the text you want to measure; counts update as you type.
  2. 2. Choose the relevant countUse characters for code-point length or lines for a list. Check the word-count rule before comparing with a writing app.
  3. 3. Copy the reportCopy the output to keep all seven counts alongside the text revision.

Examples

Mixed text

Input
Hi 你好! 😀
Output
Characters: 8
Characters without whitespace: 6
Whitespace: 2
Punctuation: 1
Words: 3
Lines: 1
Paragraphs: 1

A combining mark is a separate code point

Input
é
Output
Characters: 2
Characters without whitespace: 2
Whitespace: 0
Punctuation: 0
Words: 1
Lines: 1
Paragraphs: 1

Common use cases

  • Compare draft lengths using the same counting rule.
  • Check the line count of a pasted list.

Edge cases

  • Spaces, tabs and line breaks all count as whitespace. A CRLF pair contains two whitespace characters but one line break.
  • Emoji sequences and accented letters made with combining marks can contain multiple code points. Arabic, kana and Hangul are not counted as words; accented Latin words can split into ASCII runs.
  • A final line break adds an empty line. Paragraphs are separated by consecutive line breaks; a line containing spaces does not act as an empty separator.

Features

  • Characters, Characters without whitespace
  • Whitespace, Punctuation
  • Words, Lines, Paragraphs
  • No. Counting runs entirely in your browser.

Frequently asked questions

How are characters and words counted?
Paste text to see counts immediately. Characters count Unicode code points, while words count ASCII letter/digit/underscore runs and individual characters in U+3400–U+9FFF. This is not language-aware word segmentation.
Do spaces and line breaks count?
Spaces, tabs and line breaks all count as whitespace. A CRLF pair contains two whitespace characters but one line break.
Is my text uploaded?
No. Counting runs entirely in your browser.