Word counter

Paste or type your text and see words, characters with and without spaces, sentences, paragraphs, lines, reading time and speaking time update as you go. Chinese, Japanese and Thai are split into words too. Your text stays in this browser.

Word counter

How to count words in a text

  1. Type or paste your text into the box. The numbers update a moment after you stop typing. You can also open a .txt, .md, .csv or .json file, which is read on this page and not sent anywhere.
  2. Read the Words and Characters figures. Characters without spaces is shown next to them, which is the figure some forms ask for.
  3. Check Sentences, Paragraphs and Lines if your limit is written in those units.
  4. Change the reading speed if 238 words per minute does not suit your audience. Reading time updates at once.
  5. Look at Most used words to spot a term you repeat too often. Press Clear text to start again.

What each number means

Words are the units the browser's word splitter finds. A run of letters or digits is one word, don't is one word, and 3.14 is one word. Symbols that stand alone, such as & or #, are not words.

Characters counts everything you can see as one character, spaces and line breaks included. A letter with an accent, a Thai consonant with its vowel mark and an emoji built from several parts each count once. Characters without spaces leaves out spaces, tabs and line breaks. In our Thai sample the text holds 82 code points but the page reports 64 characters, because a vowel or tone mark sits on a consonant and is not a character of its own.

Sentences are counted wherever the browser finds a sentence end. Paragraphs are blocks of text separated by at least one blank line. Lines are the non-empty lines. The three can disagree: a, b and c on three separate lines make 3 lines but 1 paragraph.

The page does not remove anything before counting. Headings, bullet text and quoted passages all count. If your limit excludes the bibliography or the title, delete those parts from the box first.

How a word is defined here

Counters disagree because "word" is a choice. The simplest tools split on spaces, which is what wc -w does on Linux and macOS. This page uses the browser's own word splitting instead, with one change: letters joined by a hyphen are one word. We typed these cases into the page and read the result.

If an editor or a publisher counts differently, expect the gap to appear with hyphens, numbers with punctuation and addresses. For ordinary prose in English, our 23-word sample gave 23 here and 23 from wc -w.

Chinese, Japanese and Thai

These languages are written without spaces between words, so a space-based counter sees a whole sentence as one "word". Here is what happened with our samples, next to a plain whitespace split.

Our Chinese sample (31 characters without spaces) gave 16 words, where a whitespace split gives 2. Japanese (45 characters) gave 25 words, against 2. Thai gave 21 words, against 3. Arabic does use spaces, and its sample gave 13 words, the same as a whitespace split.

The browser decides where a Chinese, Japanese or Thai word ends, using built-in dictionaries. We did not check every boundary by hand, and a different browser or version may split a few words differently. Treat the figure as a good estimate. If a publisher counts these languages by characters, which is common for Chinese and Japanese, read the Characters figure instead.

A browser too old to have this splitter falls back to counting by spaces, and the page then says that Chinese, Japanese and Thai counts may be low. We did not test such a browser.

Reading time and speaking time

Reading time divides the word count by a reading speed. The default is 238 words per minute, and the field is yours to change. We did not measure anyone's reading, so the speed is a round starting point and the result is an estimate. Our test text of 238 words showed 1 min 0 sec, and after we set the speed to 119 the same text showed 2 min 0 sec.

For Chinese and Japanese characters the page uses a separate field, characters per minute, set to 300 by default. A text of 300 Chinese characters showed 1 min 0 sec, and 2 min 0 sec at 150. Mixed text is split: spaced words use the first speed and CJK characters use the second.

Speaking time uses fixed speeds of 150 words or 250 characters a minute, which you cannot edit on this page. It is a rough guide for a talk or a voice-over: our 238-word text showed 1 min 35 sec.

Most used words

Under the counts, the page lists the ten words you use most, with how many times each appears. It lowercases words, so The and the are the same, and it skips one-letter words in alphabets with spaces. One-character Chinese and Japanese words stay in the list.

It does not remove common words. In a test sentence the word the came first with 4 uses, ahead of cat, dog and saw with 2 each. That makes the list useful for catching repeats, and less useful as a keyword density report. For an SEO check, read the list as a hint and pick the term you care about yourself.

There is no percentage column. To get a density, divide a term's count by the word total shown above it.

Size, speed and files

The page counts as you type, with a delay of about 120 milliseconds so it does not recalculate on every key. We pasted text in a headless Chromium 158 and timed it from paste to result, delay included.

10,000 words on one line took 152 ms. 100,000 words (478 KB) took 191 ms. 1 MB of text, 189,899 words, took 381 ms, and 5 MB, 949,497 words, took 2.2 seconds. The word count matched a whitespace count on each of these, as expected for plain test words. We did not test above 5 MB of pasted text, and the Chromium test machine may be faster or slower than yours.

The Open a text file field reads .txt, .md, .csv and .json. A file over 20 MB is refused with a message. Opening our English sample through the file field gave the same 23 words as typing it. The page does not save your text: after a reload the box was empty, so copy anything you need to keep.

Where your text goes

We opened the page with outside connections blocked and typed a text that held a unique marker string. The page made 11 requests, all for its own files except two outside scripts, the Google ad script and the Google tag. Both were blocked in the test, so we cannot say what they would send. None of the requests carried a body and none had the marker in its address. localStorage and sessionStorage held no keys. Nothing in the page's own code sent your text anywhere.

Other text tools

Capital letters can be changed with the case converter. A list with repeats can be cleaned with remove duplicate lines before you count it. For the text of a PDF, get it out first with PDF to text and paste it here. To keep a text as a document, text to PDF turns it into a PDF.

Measured results

Test runs of the page in headless Chromium 158. Every result was read from the page itself. Reference counts came from a whitespace split (the same as wc -w) and from code point counts in Python.
TestWhat we ranWhat came out
English sample, 127 charactersPaste, read the counts23 words, 127 characters, 104 without spaces, 3 sentences; whitespace split also 23
Arabic samplePaste13 words, equal to a whitespace split
Chinese sample, 33 charactersPaste16 words; whitespace split gives 2
Japanese sample, 47 charactersPaste25 words; whitespace split gives 2
Thai sample, 82 code pointsPaste21 words and 64 characters; whitespace split gives 3 words
238 words, speed 238 then 119Change the speed fieldReading time 1 min 0 sec, then 2 min 0 sec
10,000 words on one linePaste, time to result10,000 words in 152 ms
1 MB and 5 MB of textPaste, time to result189,899 words in 381 ms; 949,497 words in 2.2 s
Page with outside connections blockedType a marker, then reload0 request bodies, marker in no request, no stored keys, box empty after reload

Prefer desktop software?

A word processor such as Microsoft Word or LibreOffice shows its own word and character count in the document, which suits a file you keep editing, and it can leave out footnotes if you ask it to. A code editor such as Notepad++ can count the selection in a log or CSV file. We did not compare either with this page, so a count may differ by a few words around hyphens and numbers.

Frequently asked questions

Does the word counter upload my text?

No. The counting runs in your browser and the page makes no request that carries your text. In our test with outside connections blocked, no request had a body and none contained our marker string.

Does it count characters with and without spaces?

Yes, both are shown at once. Characters includes spaces and line breaks. Characters without spaces leaves out spaces, tabs and line breaks.

Why is my word count different in Word or Google Docs?

Counters define a word differently. Hyphenated words, numbers with punctuation, addresses and dashes are the usual causes. Here, well-known is 1 word and a date such as 2026-11-25 is 3. Footnotes and text boxes can also be treated differently by a word processor.

How are Chinese, Japanese and Thai counted?

By the browser's built-in word splitter, which uses dictionaries, since these languages have no spaces between words. Our Chinese sample gave 16 words where a space-based count gives 2. Boundaries can differ between browsers, so use Characters if your limit is in characters.

How is reading time worked out?

Words divided by a reading speed, 238 words per minute by default, and CJK characters divided by 300 per minute. Both speeds are editable fields. The result is an estimate, because we did not measure any reader.

Does it count sentences correctly?

Mostly, with limits. Our test One. Two! Three? gave 3 sentences. Abbreviations with full stops inflate the count: e.g. U.S.A. Dr. Smith gave 4. Short lines with no punctuation, such as a list, each count as a sentence.

Is there a size limit?

Pasted text up to 5 MB worked in our test, 949,497 words in 2.2 seconds. A file opened through the file field is refused above 20 MB.

Can I count the words of a PDF?

Not directly. Extract the text first with the PDF to text tool, paste it into the box and read the counts. Scanned PDFs hold images, so they need text recognition before there is anything to count.

Does it check a social media limit?

No, it only shows the count. Platforms set their own limits and can count links or emoji their own way, so check the current rule of the platform and treat the figure here as a close check.