Text & String Utilities100% Client-Side

Count Words, Unique Words, and Length

Paste a passage to count the words the tool recognizes, see how many are unique, and check their average length. Repeated spellings are combined in the unique count after lowercasing. The tool uses a pattern to recognize letters, digits, and some punctuation inside words. Use it for a quick check of a draft or text fixture, and compare its rules with the counter your destination uses.

Input
43 chars•1 lines
Output

How to Use the Word Counter Online with Unique Totals

  1. 1Paste the passage as a single block, including the punctuation and line breaks you want evaluated.
  2. 2Read Total Words for the number of recognized matches.
  3. 3Compare Unique Words with the total to see how often terms repeat.
  4. 4Check the average length and review unusual tokens if they affect a required count.

Input & Output Examples

There are three matches. All are four characters long and lowercased to the same spelling.

Input Sample
Tape tape TAPE
Expected Output
Total Words:         3
Unique Words:        1
Average Word Length: 4.00 characters

The straight apostrophe, hyphen, and digits belong to the matches. Their lengths are 5, 8, and 2.

Input Sample
don't re-check 42
Expected Output
Total Words:         3
Unique Words:        3
Average Word Length: 5.00 characters

Practical Developer Workflows

  • Check the approximate length of a short submission before comparing it with the destination's own counter.
  • Compare the total number of matched terms in two versions of a short draft.
  • Create a fixture that tests how capitalization and repeated spellings affect unique counts.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

The uniqueness calculation lowercases matches first. For example, Tape and tape count as two occurrences and one unique word. A different spelling or a change in punctuation within the match can still create another unique value.

Explore Other Tools

12 suggested tools

View all tools