A word counter tells you the size of a block of text the moment you paste it. This one runs in your browser: the counting happens locally in JavaScript, so there is no upload step, no sign-up, and no round trip to a server. The text you paste never leaves your device, and nothing is stored after you close the tab.
That claim rests on how the browser platform works. The built-in Intl.Segmenter API splits a string into words, sentences, or graphemes on your own machine, with locale rules supplied by the browser. Sending data elsewhere takes an explicit network call, such as fetch() from the Fetch API. Counting a string with a built-in API needs no such call, so a counter built this way has no upload step to trigger.
Key Takeaways
- Counts words, characters with and without spaces, sentences, and paragraphs live as you type.
- Runs fully in your browser: no upload, no signup, and your text never leaves your device.
- Counting is deterministic, a published algorithm rather than a model, so identical input gives an identical total.
- Uses locale-aware segmentation where the browser provides it, instead of a naive space split.
- Adds reading time and Flesch-Kincaid grade level, with an adjustable words-per-minute rate.
What Does This Word Counter Count?
Five measures update as you type: words, characters including spaces, characters excluding spaces, sentences, and paragraphs. The panel also derives reading time at a rate you choose, a Flesch Reading Ease score, and a Flesch-Kincaid grade level from the same pass over your text, so the extras add no waiting.
People reach for different numbers for different jobs. A teacher checks an essay cap, a marketer trims a caption, and a developer checks a string length before it hits a database field. For English, a common rough conversion is five or six characters per word (Wikipedia), but that is an estimate. This counter does not estimate characters; it segments the exact string you typed, so the totals match the text on screen. One paste fills the whole panel.
How to Use the Word Counter
- Open this page in any modern browser. There is nothing to install and no account to create.
- Paste or type your text into the box.
- Read the five totals as they update above the field.
- Flip the with-spaces and without-spaces view if a form specifies a character convention.
- Check reading time, grade level, and the character panel when you need that context.
The whole flow is instant because the browser does the math, not a server. It keeps working if the connection drops after the page loads, and the numbers never depend on somebody else's uptime. Close or refresh the tab and the text is simply gone; nothing was stored in the first place.
Why a Space Split Is Not a Word Count
The everyday definition of a word is a stretch of text between blank spaces, and that definition fits English and a handful of other space-delimited languages. It fails elsewhere. MDN's Intl.Segmenter reference notes that String.prototype.split(" ") does not give the correct result when the locale does not use spaces between words, which is the case for Japanese, Chinese, Thai, Lao, Khmer, and Myanmar. The API is now Baseline "Widely available" and follows ECMA-402.
The underlying rule comes from Unicode Standard Annex #29, revision 49 dated 2026-09-01. It states that word boundaries are not restricted to whitespace and punctuation, and that some languages use no spaces at all. Reliable detection in Thai, Lao, Chinese, or Japanese needs dictionary lookup or similar mechanisms; emoji sequences built with zero-width joiners and combining marks add further cases. The standard also notes that a count of grapheme clusters is a user-perceived limit, like a word count, rather than a data-size limit.
That last point is worth pausing on. UAX #29 is a normative specification, but it does not make every script trivial: it says outright that reliable boundaries in Thai, Lao, Chinese, and Japanese need dictionary lookup beyond the basic rules. A count in those scripts is therefore an approximation, and two implementations can land on different totals without either one being broken. This page uses the standard to explain why counts disagree; it does not claim audited conformance to revision 49 for its own segmentation.
Even within English, the choices cause disagreement. Apostrophes usually stay inside a word, so can't counts as one, while hyphens break on both sides, making Smith-Hawkins two words and out-of-the-box three. Wikipedia's word count article records that different counting programs give varying results depending on their segmentation rules. Those differences are choices, not bugs, which is why two counters can honestly disagree on the same paragraph.
Words are not tokens
A word and a token are different units, and mixing them up produces a category error. Words are segments delimited by punctuation, whitespace, and script-specific rules, as above. Tokens are the pieces a language model actually reads, and they can be shorter or longer than a word. A single word may split into several tokens, or several words may share one.
Google's Gemini token documentation says models process input and output at a granularity called a token, and that tokens can be a single character such as z or a whole word such as cat, with long words broken into several tokens. For Gemini models it gives about four characters per token and says 100 tokens equal about 60 to 80 English words. Those figures describe Gemini only. Each model has its own token budget, and Gemini 4 models share a context window of 1,048,576 tokens.
OpenAI's tiktoken cookbook makes the point concrete: the three-word sentence "tiktoken is great!" becomes six tokens, split as t, ikt, oken, is, great, and !. The same source shows a long word such as antidisestablishmentarianism taking five or six tokens depending on the encoding. The cookbook labels itself archived, so its model table is not a current reference, but the tokenisation example is definitional.
There is no universal word-to-token constant. The ratio depends on the model and its encoding. Use this counter for human limits such as essays, captions, and submission caps; for a prompt budget, use the model's own token-counting endpoint, because this tool reports words and cannot give an exact token count.
Is a Character the Same Thing as a Byte?
No. Three layers are easy to conflate. A code point is a Unicode value. A grapheme cluster is the closest thing to the character a reader sees, such as a letter plus a combining accent, and a byte is how that gets stored. A naive length check over accented text or emoji overcounts, so counting by grapheme cluster tracks what appears on screen more closely (Unicode).
Storage is the outer layer. UTF-8 uses one byte for the basic ASCII range, two up to U+07FF, three up to U+FFFF, and four above U+10000, with surrogate code points prohibited (RFC 3629). A hundred visible Chinese characters can occupy roughly three hundred bytes, while plain English stays near one byte each. When a form caps characters, the number it wants is almost always grapheme clusters, not bytes. A character count and a token count are different again, for the reasons in the previous section.
Four units, four different numbers
One sentence produces four different numbers depending on the unit you ask for. Keeping them apart prevents most counting mistakes.
| Unit | What it measures | Typical use |
|---|---|---|
| Word | A segment delimited by spaces, punctuation, or locale rules | Essay caps, ad copy, submission limits |
| Character (grapheme cluster) | What a reader sees as one symbol, including accented letters and emoji | Social post caps, form fields |
| Byte | Storage size in UTF-8, from one to four bytes per character | File size, database columns |
| Token | The piece a language model reads, shorter or longer than a word | Model context budgets and API billing |
The word figure is the one most people are asked for, but the others are not conversions of it. You cannot turn a word count into a byte count without knowing the script, and you cannot turn it into a token count without the model's own tokenizer. When a form says characters, it means the second row, not the first. When a prompt says tokens, it means the fourth. This counter reports the first two rows directly, with the reading-derived metrics beside them.
Reading Ease Is Not Grade Level
Two scores appear in the panel and they measure different things. Flesch Reading Ease, published in 1948, is 206.835 minus 1.015 times the words-per-sentence ratio minus 84.6 times the syllables-per-word ratio; a higher score means easier reading. Flesch-Kincaid Grade Level, from work by Kincaid and colleagues for the US Navy in 1975, is 0.39 times words per sentence plus 11.8 times syllables per word minus 15.59, and estimates the US school grade a reader needs (Wikipedia).
The two scores are not convertible into each other because they weight sentence length and word difficulty differently. A piece of writing can improve on one and drift on the other, so treat them as separate signals. For general web copy, a Flesch score in the 60 to 80 band and a grade level near 7 or 8 is a broadly readable target. Both are heuristics built on English averages, so they carry far less weight for Japanese or Chinese text. Reading time is simpler: it is your word count divided by the rate you set, where 200 to 250 words per minute is a common assumption for adult silent reading of prose.
Checking Against a Hard Limit
Word counting earns its keep as a compliance and pricing unit. Academia, legal proceedings, journalism, advertising, and translation work all set text lengths (Wikipedia). The same source notes that the exact number often is not a strict requirement and that variation between counters is acceptable, which is the honest framing: treat the figure as guidance at a hard cap, leave a small margin, and defer to the submission system's own checker when one exists.
Limits change, so check the destination's own composer before relying on a number. The panel keeps a running total while you edit, which means you can trim against the limit that actually applies instead of finding the overflow after publishing.
Related Tools
Counting is often one step in a longer edit. Pass the same text to the readability checker for a grade-level read on what you just counted. The word cloud generator turns the draft into word-frequency output and shares the same question of what counts as a word. If you are generating placeholder copy to hit a length, the lorem ipsum generator produces it and this counter verifies it. After a revision, the diff checker shows what changed between two versions, with the same paste-and-run privacy story.
Every number on this page updates as you type and stays on your machine. Keeping to a length becomes a habit with nothing to install, no account to manage, and no copy of your draft sent anywhere.
