Character and word counter
Count characters with and without spaces and line breaks, plus words, sentences, paragraphs, lines and bytes. Set a limit to see how many characters you have left.
Words are counted with your browser's Unicode word boundaries (Intl.Segmenter): each run of letters or digits is one word. Spaces, line breaks, punctuation and emoji are not counted. Hyphenated words count as separate words; text written without spaces, such as Japanese or Chinese, is split with a dictionary, so its count is an estimate.
This browser does not support Intl.Segmenter, so the word count is an estimate based on spaces. Text written without spaces, such as Japanese or Chinese, is not counted correctly.
| Characters (including spaces and line breaks) | 0 |
|---|---|
| Characters (excluding line breaks) | 0 |
| Characters (excluding spaces and line breaks) | 0 |
| Lines | 0 |
| Paragraphs | 0 |
| Sentences | 0 |
| Space-separated words | 0 |
| Bytes (UTF-8) | 0 |
Counting rules
- Characters: user-perceived characters (grapheme clusters), so an emoji sequence such as a family emoji or a flag counts as 1, and a letter with a combining accent counts as 1.
- Words: Unicode word boundaries from your browser (Intl.Segmenter). English and Korean are split at spaces and punctuation. Japanese and Chinese have no spaces, so the browser uses a dictionary and the count is only an estimate.
- Space-separated words: pieces between spaces and line breaks. Useful for Korean, where it equals the spacing units (eojeol); meaningless for Japanese or Chinese text.
- Sentences: split at . ! ? (and their full-width forms) and at line breaks, using Intl.Segmenter sentence boundaries. Abbreviations such as "Mr." also end a sentence under these rules.
- Paragraphs are blocks separated by blank lines. UTF-8 bytes: basic Latin letters take 1 byte, accented letters 2, Korean, Japanese and Chinese characters 3, and emoji 4 or more.
How to use
- Type or paste your text into the box.
- Character counts (with and without spaces and line breaks), the word count, sentences, paragraphs, lines and bytes update as you type. Open "Counting rules" to see exactly how each number is counted.
- Enter a character limit, or pick one of the preset buttons, to see how many characters are left or how far over you are.
Notes and limits
- Sites and forms count characters in different ways. If a form has its own rule, follow that rule.
- Word counts follow Unicode word boundaries and can differ from word processors, especially for hyphenated words, URLs and text written without spaces (Japanese, Chinese, Thai).
- If your browser does not support Intl.Segmenter, the word count falls back to counting space-separated pieces, and the page tells you so.
- Your text is not saved and disappears when you close the page.
How it works
Characters are counted as user-perceived characters (grapheme clusters), so an emoji sequence such as a family emoji or a flag counts as 1, and a letter with a combining accent counts as 1. A line break counts as 1 character, including Windows CRLF line breaks. Spaces include regular spaces, full-width spaces and tabs.
Words are counted with the browser's Intl.Segmenter using word granularity. Every segment the browser marks as word-like (a run of letters or digits) is one word. Spaces, line breaks, punctuation and emoji are never counted as words.
English and Korean words are separated by spaces. "don't" and "3,000.50" count as one word each, while "well-known" counts as two and a URL is split at its punctuation. Japanese and Chinese have no spaces, so the browser splits them with a dictionary and the count is an estimate.
The segmenter is created with the page language, but current browsers choose word boundaries from the script of each part of the text, so English, Korean and Japanese mixed in one text are each handled by their own rules on every language version of this page.
"Space-separated words" counts the pieces between spaces and line breaks that contain a letter or digit. For Korean this equals the spacing units (eojeol); for Japanese or Chinese text it is not meaningful.
Sentences are counted with Intl.Segmenter sentence boundaries: a sentence ends at . ! ? (or their full-width forms) followed by a space, and at each line break. Only pieces with a letter or digit count. Abbreviations such as "Mr." also end a sentence, so treat the number as an estimate.
FAQ
Does the count include spaces?
Both are shown. The first number includes spaces and line breaks, the second excludes them. The word count never includes spaces.
Why is my word count different from my word processor?
Word processors use their own rules, for example for hyphenated words, numbers and URLs. This tool follows Unicode word boundaries as implemented in your browser.
Is my text sent anywhere?
No. Counting happens in your browser. The text is not sent to a server or stored.
Related guides
- How to write meta tags and check the search and social previewWrite a title, description, canonical URL and Open Graph tags for a page, read the length guidance and previews, and avoid common mistakes with robots and images.
Related tools
Last updated: