Word Counter
Table of Contents
Word counter online — paste text to get totals and frequencies
Quickly get total words, unique words, and word frequency from any text you paste. The tool is paste‑only and designed for writers, editors, and analysts who need fast, reliable counts without uploading files.
How to use
- Copy your text and paste it into the editor (one large block or multiple paragraphs).
- See counts and frequency results in the stats panel — no extra steps required.
- Use the extraction and cleaning tools below to prepare text before counting.
Supported input
- Paste‑only: copy and paste plain text (no file upload or URL scraping).
- Words counted are sequences of Latin letters (A–Z, case‑insensitive) and internal apostrophes (so "don't" counts as one word). Hyphens split words (e.g., "hello-world" → "hello" + "world").
- Numeric strings (123) and non‑Latin scripts are excluded from the word count.
- No fixed row/size limit — the tool will process as much as your browser can handle.
Examples
| Input | Total words | Unique words | Top frequency |
|---|---|---|---|
| This is a test. This is | 5 | 3 | this (2) |
| Don't stop believing | 3 | 3 | don't / stop / believing (1) |
| hello-world hello world | 4 | 3 | hello (2) |
| 123 456 seven | 1 | 1 | seven (1) |
| <p>Hello <em>world</em></p> | 6 | 4 | p (2), em (2), hello (1), world (1) |
What you can measure
- Total word count (whole document).
- Unique word count and a list of unique tokens.
- Word frequency table sorted by occurrences.
- Pattern counts (use the pattern extractor for custom tokens).
FAQ
How exactly is a "word" defined?
Words are sequences of Latin letters and may include internal apostrophes (so contractions are one word). Hyphens split words; numbers and other scripts are not counted as words.
Does the counter strip HTML?
When you paste raw HTML the tool does not automatically remove tag names. Because HTML tags (for example <p> or <em>) contain letters, tag names are counted as words along with the visible text. For example, "<p>Hello <em>world</em></p>" will be counted as six words (p, Hello, em, world, em, p). To count only visible text, strip tags first using HTML Stripper.
Can I count words on a web page (URL)?
No — this tool works with pasted text only. To count words from a page, copy the page text into the editor first.
Is there a limit to document size?
There is no explicit limit set by the tool — it will process as much text as your browser can handle. Very large documents may slow down or exhaust browser memory.
Can I export the results?
Use the editor controls to copy results or copy the frequency lists. For advanced workflow, extract unique words or patterns and export them using the related tools below.
Tips & related tools
- Remove empty lines or normalize spacing with Remove Empty Lines and Remove Spaces.
- Strip HTML before counting with HTML Stripper.
- Trim leading/trailing whitespace with Trim.
- Chain tools for cleaner results: for example, run HTML Stripper → Trim → paste into this Word Counter to get the most accurate counts.
- Extract unique tokens first using Extract Unique Words.
- Count specific patterns with Pattern Extractor.