Skip to content

Word Counter

Words —
Characters
—
Unique words
—

Paste your text and the counter returns words, characters with and without spaces, lines, sentences, paragraphs and unique words. For example, "The cat saw the dog. The dog ran." on two lines gives 8 words, 33 characters, 26 characters without spaces and 5 unique words, since the and dog repeat.

About this tool

Application forms cap answers at 250 words, product listings cap titles at 80 characters, and a poem submission may ask for no more than 40 lines. Each limit measures something different, so this page reports seven measures from one paste: words, characters with spaces, characters without spaces, lines that hold text, sentences, paragraphs and distinct words. The distinct-word figure ignores capital letters, so Go, go and GO count once, which helps when a teacher or editor flags repetitive vocabulary. Counting follows Unicode segmentation, so Arabic, Tagalog and accented text is split into words correctly. One limit: a sentence ends at a full stop, question mark or exclamation mark, so abbreviations like e.g. or Dr. can add a sentence that a human reader would not count.

How to use it

  1. Paste or open text

    Type in the box, paste from Google Docs or a PDF, or open a plain .txt file stored on your device.

  2. Read the headline

    The word total sits on top, with characters and unique words on the line below it.

  3. Check the table

    The table adds four more counts: characters without spaces, lines, sentences and paragraphs.

Examples

Two lines with repeated words

Your text
The cat saw the dog. The dog ran.

Result Words: 8
Characters: 33
Unique words: 5

  1. Characters with spaces (33) minus whitespace characters (7) = 26 without spaces.
  2. Unique words: 5 distinct forms out of 8 words, ignoring capital letters (62.5%).
  3. Lines count every line break that has text on it; paragraphs are blocks separated by a blank line.

Eight words but only five different ones, because the and dog come back; the line break counts as a character but not as a non-space character.

A blank line starts a paragraph

Your text
First line. Second line. New paragraph here.

Result Words: 7
Characters: 45
Unique words: 6

  1. Characters with spaces (45) minus whitespace characters (7) = 38 without spaces.
  2. Unique words: 6 distinct forms out of 7 words, ignoring capital letters (85.7%).
  3. Lines count every line break that has text on it; paragraphs are blocks separated by a blank line.

Three lines carry text, the empty line between them is skipped, and it splits the text into two paragraphs.

Arabic sentence pair

Your text
مرحبا بالعالم. كيف حالك؟

Result Words: 4
Characters: 24
Unique words: 4

  1. Characters with spaces (24) minus whitespace characters (3) = 21 without spaces.
  2. Unique words: 4 distinct forms out of 4 words, ignoring capital letters (100%).
  3. Lines count every line break that has text on it; paragraphs are blocks separated by a blank line.

Arabic words are split by Unicode rules and the Arabic question mark closes a sentence, giving four words in two sentences.

How it is calculated

characters without spaces = characters with spaces − whitespace characters; unique words = distinct lower-case word forms

word
a run of Unicode letters, marks or digits, kept whole across an inner apostrophe or hyphen (UAX #29 word boundaries)
character
one user-perceived character (grapheme cluster), so an accented letter or an emoji counts once
line
a stretch between line breaks that contains at least one visible character

Characters are counted as grapheme clusters rather than code units, so é typed as e plus an accent mark is one character, and a family emoji is one, not seven. Whitespace includes spaces, tabs and line breaks, which is why a two-line text loses its line break from the no-spaces figure. Lines skip empty ones; paragraphs are blocks separated by at least one blank line. Unique words are compared after lower-casing, so The and the are one form.

Sources

When not to use it

  • X posts and SMS messages weigh some characters double, so their own composer gives the binding count.
  • Court filings and some journals exclude headings, footnotes or citations from a word limit, which this counter cannot tell apart.

Common mistakes

  • Quoting characters with spaces when a form asks for characters without spaces, or the other way round.
  • Pasting from a PDF, where each visual line ends in a hard break, then reading the line count as the number of sentences.
  • Expecting unique words to merge plurals; cat and cats are two different forms here.

Frequently asked questions

How do I count characters with spaces and punctuation?

The Characters figure under the word total already includes every space, tab, line break and punctuation mark, each counted once. The table also lists Characters without spaces, which drops whitespace but keeps punctuation. The two-line example on this page shows 33 characters with spaces and 26 without.

How can I count the lines in my text?

Paste the text and read Lines in the table. Each line break that is followed by visible text adds a line; empty lines between paragraphs are not counted. Lines are separate from sentences, so a poem with no full stops can still show 14 lines.

How do I count sentences in a paragraph?

The Sentences row counts endings at a full stop, question mark or exclamation mark, including the Arabic question mark. Abbreviations such as Dr. or e.g. may be read as an ending, so check the number by eye when your text uses many of them.

How are paragraphs counted?

A paragraph is a block of text separated from the next by at least one blank line. Single line breaks inside a block do not start a new paragraph, so text copied from an email with one break per line may show as one paragraph.

How do I find the unique word count of a text?

Unique words appears beside Characters under the total. Every word is lower-cased before comparing, so Go, go and GO count as one form, but cat and cats stay separate. Unique words sits under the headline, and the working line shows the distinct share as a percentage.

Does the word counter work for Arabic text?

Yes. Words are split by the Unicode segmentation rules, not by English letters, so Arabic words with attached prefixes such as بالعالم count as one word. The Arabic question mark ends a sentence, as in the worked example with four words in two sentences.

Why is my word count different from Google Docs?

Google Docs and this counter agree on ordinary prose but treat some cases differently, such as words joined by slashes or dashes, numbers with commas and web addresses. A gap of a word or two per page usually comes from those cases rather than a missed paragraph.

How do I count words in a PDF?

Open the PDF, select the text, copy it and paste it into the box. Words and characters come through reliably, but PDFs end each visual line with a hard break, so the line count will match the layout rather than your sentences.

Cite this tool

Using this tool in an assignment, article or report? Copy a citation, or a link for your website.

APA

Tools Directory Editorial Team. (2026, December 1). Word Counter. Tools Directory. Retrieved December 4, 2026, from https://directory.milunir.com/text-tools/word-counters/word-counter/

MLA

Tools Directory Editorial Team. “Word Counter.” Tools Directory, 1 Dec. 2026, https://directory.milunir.com/text-tools/word-counters/word-counter/. Accessed 4 Dec. 2026.

Chicago

Tools Directory Editorial Team. “Word Counter.” Tools Directory. Last modified December 1, 2026. Accessed December 4, 2026. https://directory.milunir.com/text-tools/word-counters/word-counter/.

Link<a href="https://directory.milunir.com/text-tools/word-counters/word-counter/">Word Counter – Tools Directory</a>