A word count looks like a fact about a text, but it is the result of a rule. Is "well-known" one word or two? Does an emoji count? Is "é" one character or two? Counters answer these questions differently. That is harmless for an essay with a loose target and costly for a text message that splits in two or a title that gets cut off. This guide explains the rules, counts one paragraph by hand and lists the limits where the difference matters.
What counts as a word
The simplest rule is to split the text wherever there is whitespace — spaces, tabs or line breaks — and count the pieces. It is predictable and matches everyday usage. Its weakness is that anything between two spaces counts, including a dash typed on its own or an emoji at the end of a sentence. Our Text Counter starts from this rule but skips pieces with no letter or digit, so a lone dash or emoji is not a word.
The other common rule comes from Unicode Standard Annex #29, which defines default word boundaries for all scripts and is what JavaScript's Intl.Segmenter implements. Under it, punctuation and emoji are not words, a hyphen separates two words, an apostrophe inside a word does not, and a number such as 3.5 or 1,000.50 stays whole. Word processors add their own choices on top, so the same document can show different totals in two programs.
| Text | Split on whitespace | Unicode word boundaries (UAX #29) |
|---|---|---|
| well-known | 1 | 2 (well, known) |
| don't | 1 | 1 |
| 3.5 | 1 | 1 |
| — (a dash between spaces) | 1 | 0 |
| 👍🏽 (an emoji between spaces) | 1 | 0 |
| 我喜欢喝咖啡 (Chinese, no spaces) | 1 | 4 (我, 喜欢, 喝, 咖啡) |
Other languages add their own cases. Portuguese attaches pronouns with a hyphen, as in "dá-lo" (to give it), so whitespace counts one word and Unicode boundaries count two. Spanish joins the same pronouns to the verb, as in "dámelo" (give it to me), and every rule agrees it is one word. Chinese and Japanese do not put spaces between words, so a plain whitespace counter treats a whole sentence as one word. Our Text Counter splits such runs at Unicode word boundaries (4 words for the example above), but for those languages the character count is still the more meaningful measure.
Text Counter Count words, characters with and without spaces, sentences, paragraphs and reading time. Words are split on whitespace, so a hyphenated compound counts once, and a standalone dash or emoji is not a word. Characters are counted as a reader sees them. Open the toolWhat counts as a character
A computer can count at least three different things: code units (the 16-bit pieces JavaScript strings are made of, which the .length property returns), code points (the numbered characters of Unicode) and grapheme clusters (what a reader perceives as one character). For "hello" all three agree. For accented letters and emoji they do not.
| Text | UTF-16 code units (.length) | Code points | Graphemes | UTF-8 bytes |
|---|---|---|---|---|
| café (é as one character) | 4 | 4 | 4 | 5 |
| café (e + combining accent) | 5 | 5 | 4 | 6 |
| 👍🏽 (thumbs up, medium skin tone) | 4 | 2 | 1 | 8 |
| 🇧🇷 (flag of Brazil) | 4 | 2 | 1 | 8 |
| 👨👩👧 (family) | 8 | 5 | 1 | 18 |
Unicode can store "é" as a single precomposed character (the NFC form) or as a plain "e" followed by a combining acute accent (the NFD form). They look identical, but the second is one code point longer, and some keyboards, input methods and file systems produce it. That is why the same word can count 4 characters in one place and 5 in another: in JavaScript, "café".normalize("NFD").length is 5.
Emoji go further. The thumbs up with a skin tone is two code points — the thumb and a skin-tone modifier — each taking two UTF-16 code units, so .length returns 4. A flag is two regional indicator letters; the family is three people joined by two invisible zero-width joiners. Only a grapheme-aware count, such as [...new Intl.Segmenter().segment("👍🏽")].length, returns 1.
Worked example: one paragraph, three counts
Take this paragraph of two sentences: "The well-known café opens on Monday at 7. Don't miss it — the first 50 coffees are free 👍🏽". Counting by hand — a hyphenated compound is one word, a contraction is one word, numbers are words, the dash and the emoji are not — gives 17 words. Counting characters as a reader would, with the emoji and the é as one each, gives 89 with spaces and 71 without.
| Measure | By hand | Text Counter | Unicode segmentation |
|---|---|---|---|
| Words | 17 | 17 | 18 |
| Characters with spaces | 89 | 89 | 89 |
| Characters without spaces | 71 | 71 | 71 |
| Sentences | 2 | 2 | 2 |
The Text Counter matches the hand count: it skips the dash and the emoji because they contain no letter or digit, counts the emoji as one grapheme and finds the second sentence even though it ends in an emoji. The Unicode segmenter finds one extra word because it splits "well-known" at the hyphen, while keeping "Don't" whole and ignoring the dash and the emoji. A tool that counts UTF-16 code units, like JavaScript's .length, would report 92 and 74 characters: the emoji takes four code units instead of one grapheme.
Sentences, paragraphs and reading time
Punctuation-based counting also finds sentences that are not there. "The price rose 3.5% in Jan. vs. Dec... Really?!" is two sentences to a reader, but a counter that treats every full stop as a sentence end reports five: the decimal point and each abbreviation count, while a run such as "..." or "?!" counts once. Our Text Counter uses Unicode sentence boundaries, which do not break inside 3.5, and skips common abbreviations such as Jan. and vs., so it reports two. Paragraphs are separated by a blank line; a single line break does not start a new one.
Reading time is the word count divided by an assumed speed. The Text Counter uses 200 words per minute and rounds up to the next whole minute, so a 1,500-word article (7.5 minutes) shows as 8 min and anything under 200 words as "< 1 min". That is cautious: a 2019 meta-analysis by Marc Brysbaert put adult silent reading in English at about 238 words per minute for non-fiction and 260 for fiction. Dense technical text is slower, and words per minute does not transfer directly between languages, since average word length differs.
Word Frequency Counter See which words you repeat most, with counts and percentages, and optionally hide common words such as articles and prepositions — useful before you cut a text to length. Open the toolSMS: 160, 70 and the letters in between
A text message carries 140 bytes. In the GSM 7-bit default alphabet, defined in 3GPP TS 23.038, each character takes 7 bits — hence 160 characters. The alphabet has 128 characters; a few more, such as € [ ] { } and ~, come from an extension table and count twice. One character outside both tables switches the whole message to UCS-2, a 16-bit encoding, and the limit drops to 70. Longer messages are split into parts of 153 characters in GSM-7 or 67 in UCS-2, because each part carries a header.
One emoji triggers the switch, and it takes two of the 70 slots — 👍🏽 takes four. Accented letters are less obvious, because the GSM alphabet includes some and not others.
| Language | Included | Not included (switch to UCS-2) |
|---|---|---|
| Portuguese | é, à, Ç (capital only) | á, â, ã, ê, í, ó, ô, õ, ú, ç |
| Spanish | é, ñ, Ñ, ü, Ü, ¿, ¡ | á, í, ó, ú |
| Others | è, ù, ì, ò, ä, ö, å, æ, ø, ß, É, Ä, Ö, Å, Æ, Ø | Most other accented letters |
The example paragraph has 92 code units and goes as two UCS-2 parts. Without the emoji it is still UCS-2, because the long dash is not in the GSM alphabet; replace the dash with a hyphen too and the remaining 87 characters fit in one GSM message. In Portuguese or Spanish a single ã or á already forces UCS-2. Some phones and networks use the national language tables that TS 23.038 also defines, and some phones strip accents, so the result depends on the device and the carrier.
Search titles and descriptions
Google sets no character limit for page titles or meta descriptions. Its Search Central documentation says title links and snippets are truncated to fit the device's width, and that Google may rewrite a title or build the snippet from the page text. Because the cut is made in pixels, "WWW" takes far more room than "iii". Roughly 50 to 60 characters for a title and 150 to 160 for a description are rules of thumb that hold up well; put the important words first so a truncation costs nothing.
Slug Generator Turn a title into a URL slug: accents are removed (ç becomes c, ã becomes a), letters are lowercased, spaces become hyphens and other symbols, emoji included, are dropped. You can set a maximum length. Open the toolPost limits on social platforms
| Platform | Field | Limit | Note |
|---|---|---|---|
| X (formerly Twitter) | Post, standard account | 280 characters | Weighted: a link counts as 23, an emoji as 2 |
| Caption | 2,200 characters | Only the first lines show before "more" | |
| Post | 3,000 characters | Long posts are collapsed | |
| YouTube | Video title | 100 characters | Often shortened in lists |
| Mastodon | Post | 500 characters by default | Each server can change it |
A checklist before you trust a count
- 1 Find out which rule the system checking your text uses: whitespace, Unicode word boundaries or something else.
- 2 For words, look at hyphenated compounds, hyphenated pronouns, standalone dashes and emoji — that is where counts diverge.
- 3 For characters, ask whether the limit counts code units, graphemes or bytes, and leave a margin if the text has emoji.
- 4 For SMS, check the encoding first: one character outside the GSM alphabet cuts the limit from 160 to 70.
- 5 For search titles and descriptions, put the key words first; the character ranges are guides, not rules.