Word & Character Counter
Count words, characters, sentences, paragraphs and lines instantly. Runs entirely in your browser — your text never leaves your device.
Runs in your browser — files never leave your device
How it works
Type or paste text into the box and six counters update on every keystroke: words, characters (with and without spaces), sentences, paragraphs, and lines. There’s no button to press and nothing to submit — the numbers recalculate live, so you can trim a draft toward a limit and watch the count fall as you delete.
The counting rules are simple and predictable. Words are what remains after trimming the text and splitting on every run of whitespace, so double spaces, tabs, and line breaks all act as a single separator, and a hyphenated compound like state-of-the-art counts as one word. Characters are Unicode code points and include spaces and line breaks; the “no spaces” figure strips all whitespace first. Sentences end at a run of periods, exclamation marks, or question marks followed by a space or the end of the text — so the decimal point in 3.14 never splits a sentence, and Wait... what?! counts as two. Paragraphs are blocks separated by at least one blank line, and lines count every line break (Windows and Unix line endings both work).
A concrete example: pasting Write once. Edit twice! reports 4 words, 23 characters (20 without spaces), 2 sentences, 1 paragraph, and 1 line. Press Enter once after it and the line count becomes 2 and the character count 24, while words, sentences, and paragraphs stay the same — a trailing newline is still a character, and it opens a new, empty line.
That makes the tool a fast check against real-world limits:
- 280 characters for a post on X (Twitter)
- Roughly 155–160 characters before Google truncates a meta description
- 160 characters for a single plain-text SMS (70 if it contains Unicode)
- Word ranges for essays, abstracts, cover letters, and application forms
Two honest caveats. The rules are heuristics: an abbreviation like U.S. followed by a space registers as a sentence end, and a standalone em dash between spaces counts as a word. And for languages written without spaces — Chinese or Japanese, say — the word count isn’t meaningful, though the character count stays exact. The same counting logic ships in the ZoolTools mobile app, validated against shared test vectors, so web and app always report identical numbers.
Frequently asked questions
- How does the word counter count words?
- The text is trimmed and split on every run of whitespace, so multiple spaces, tabs, or line breaks between words count as a single separator. Anything between separators is one word: hyphenated compounds like state-of-the-art, contractions like don’t, and numbers each count once. A standalone symbol, such as an em dash sitting between spaces, also counts as a word.
- How are emoji and accented characters counted?
- Characters are counted as Unicode code points, not bytes. A simple emoji like 👍 counts as 1, but glyphs assembled from several joined code points count higher — a family emoji such as 👨👩👧 counts as 5 and a flag as 2. An accented é counts as 1 in its usual precomposed form, but as 2 if it was typed as a plain letter plus a combining accent.
- What counts as a sentence?
- A sentence ends at a run of periods, exclamation marks, or question marks followed by whitespace or the end of the text. That means Wait... what?! counts as 2 sentences, while the decimal point in 3.14 never ends one. Abbreviation periods followed by a space (as in U.S.) do register, so heavily abbreviated text can overcount slightly.
- What is the difference between paragraphs and lines?
- Lines count every row created by a line break, including the empty row a trailing Enter leaves behind. Paragraphs only increase when blocks of text are separated by at least one blank line, so single line breaks — address lines or poetry, say — stay within one paragraph.
- Will the counts match X (Twitter), Google, or Microsoft Word?
- They are close but not guaranteed to be identical, because platforms count differently: X counts any URL as 23 characters and most emoji as 2, and word processors apply their own rules to hyphens and slashes. Use this tool to draft quickly against a limit, then confirm inside the target platform if you are right at the edge.
- Does it work for Chinese, Japanese, or other languages written without spaces?
- Character, sentence, paragraph, and line counts work for any language. The word count relies on whitespace, though, so an unbroken run of CJK text counts as a single word — for those languages use the character count, which is also the measure most CJK length limits are defined in.
- Is my text uploaded anywhere?
- No. Everything is computed in your browser as you type — your text never leaves your device, and nothing is stored after you close the tab.
Related tools
- Case ConverterConvert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case and more — instantly in your browser.
- Slug GeneratorTurn any title into a clean, URL-friendly slug. Removes accents and punctuation; runs in your browser.
- Text ReverserReverse any string character by character. Handles Unicode correctly; runs locally.
- Remove Duplicate LinesStrip duplicate lines from a list, keeping the first occurrence. Optional case-insensitive and trim modes.
- Sort LinesSort lines alphabetically, ascending or descending, with optional case-insensitive comparison.
- Number Base ConverterConvert numbers between binary, octal, decimal and hexadecimal (or any base 2–36).