Tool for counting words in a text/document. The words counter allow analyzing the frequency of occurrences of each word in text sentences.
Word Counter - dCode
Tag(s) : Data Processing
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Write or copy/paste a text into the textarea and the counter will automatically count the number of words, their number of letters (length/size). It is possible to count manually the occurrences of each word, but it is still easier when the computer counts!
Example: MORE WORDS AND WORDS COUNTING has 5 words, 4 distinct, and 4 words with at least 4 letters. The word WORDS is present twice while the other words are present only once.
It is possible to indicate a length threshold from which to count a word, for example to ignore words of 1 or 2 letters.
The frequency of appearance of words is a statistical index that is defined by the ratio of the number of occurrences of a given word out of the total number of words in a text. It can, for example, allow to list the most common words, the keywords of a text.
There are advanced tools for analyzing bigrams or trigrams in a text, often for cryptographic purposes.
dCode retains ownership of the "Word Counter" source code. Any algorithm for the "Word Counter" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Word Counter" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Word Counter" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Word Counter" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Word Counter on dCode.fr [online website], retrieved on 2025-04-16,