Lexical Diversity Checker
Paste a text in any language and see how varied its vocabulary is: the type-token ratio (TTR), length-corrected measures like MTLD, MATTR and HD-D, and the words you repeat most.
What the numbers mean
TTR (type-token ratio)
unique words ÷ words
The classic measure. 70% means 7 in 10 words are different. It drops as texts get longer, because common words keep repeating.
Root TTR (Guiraud's index)
unique words ÷ √ words
A simple correction for length. Useful for a quick comparison of texts that differ a little in length.
MTLD
words ÷ factors (TTR threshold 0.72)
Reads through the text and counts how often the running TTR falls to 0.72. Calculated forwards and backwards and averaged. Widely used in research on learner writing.
MATTR
average TTR of every 50-word window
Slides a 50-word window through the text and averages the TTR of each window. Easy to understand and comparable across lengths.
HD-D
Σ P(word in a random 42-word sample) ÷ 42
Based on probability: how many different words you would expect in a random sample of 42 words. Closely related to vocd-D.
Hapax legomena
words that appear exactly once
A high share of one-off words means a rich vocabulary - or a text full of names and specialist terms.
New to the topic? Read our guide: What is lexical diversity? Meaning, formula and examples.
How words are counted
- A word is any run of letters or numbers. Don't and well-known count as one word each.
- Every word form counts separately: go, goes and went are three unique words. That's why languages with many endings, like Finnish or Polish, score higher than English.
- In Japanese, Chinese and Thai, which don't use spaces, your browser splits the text into words for you.
- Everything is calculated on your device. Your text is never sent to a server.
Frequently asked questions
What is a lexical diversity checker?
A tool that measures how many different words a text uses compared with its length. It shows whether a text repeats the same words or uses a wide range of vocabulary.
What is a good lexical diversity score?
There is no single good score, because it depends on the text length, the language and the type of text. Compare texts of similar length in the same language, and use MTLD, MATTR or HD-D when the lengths differ.
Which measure should I use?
For a quick look, the type-token ratio. To compare texts of different lengths, MTLD or MATTR. For research, report more than one measure, such as MTLD and HD-D, because each captures diversity slightly differently.
Does it work in any language?
Yes. It counts words in any language written with spaces, and uses your browser to split Japanese, Chinese and Thai into words. Scores are only comparable within the same language.
Is my text stored or sent anywhere?
No. All calculations run in your browser. Your text is never sent to a server, so you can safely check essays, exam answers or unpublished writing.
Is the lexical diversity checker free?
Yes, completely free, with no account and no limit on how many texts you check. You can paste up to 50,000 characters at a time.