Word, character and letter counter
Count words, characters, letters, digits, lines and paragraphs.
Enter data
Paste up to 50,000 UTF-16 units. Standalone numbers are not counted as words. Fields marked with an asterisk are required.
About this tool
Count words, characters, letters, digits, lines and paragraphs. Distinguish emoji, code points and UTF-16 units.
Check a description, assignment or draft in one place. Words contain at least one letter; standalone numbers and punctuation are not words. Several character definitions are shown because emoji and decomposed Polish letters can have different representations. We do not claim compatibility with every platform’s counter.
How to use the calculator
- Paste text and select “Count”.
- Compare words, graphemes and code points; review the definitions below.
- Copy the numeric summary or clear the form. The copy does not contain your input text.
Calculation details
Formula and calculation method
Words = Intl.Segmenter word-like segments containing a Unicode letter. Graphemes = grapheme segments. Letters and digits are counted by code point. CRLF/CR become LF before counting; a paragraph is a nonempty block separated by a blank line.
Worked example
For “Ala ma 2 koty.” the result is 3 words, 14 code points including spaces, 11 excluding whitespace, 9 letters and 1 digit. A family emoji can be one grapheme but several code points.
Limitations
- Not an SMS, SEO, Word or platform-specific limit counter. Word and emoji boundaries depend on the browser’s Unicode data; browsers without Intl.Segmenter receive an error. Lines are logical breaks, not screen wrapping.
- No file import, grammar correction, saved history or editor integration. Avoid confidential data. Reset does not erase previously copied or printed content.
Sources
- MDN — Intl.Segmenter word and grapheme segmentation
- Unicode UAX #29 — grapheme and word boundaries
- MDN — locale case mappings and output length changes
Engine version: 1.0.0 · Last reviewed: 1 October 2026
Frequently asked questions
Why do character counts differ?
A grapheme is user-perceived, a code point is a Unicode element and a UTF-16 unit is part of JavaScript’s encoding. An emoji can contain several elements. We show these separately.
Are standalone numbers words?
Not under this definition. A segment must contain a Unicode letter. “123” has digits but zero words; “A12” can be one word. Hyphens and apostrophes follow the browser’s segmenter.
Are spaces removed before counting?
No. Spaces and blank lines are preserved. Only CRLF and CR are normalized to LF. The excluding-whitespace metric omits spaces, tabs and line breaks, among others.
Is text sent or saved?
Inputs and results are not sent to a server or analytics or stored in the URL or persistent form storage. Clipboard copies and printouts remain under your control. Visiting the page still makes a hosting request.