Result
All calculations run locally in your browser: parsing, chart, export. Disconnect the network and the page keeps working.
Facts and limits of this method
| Counting unit | A word is a run of characters between spaces (a \S+ token) |
|---|---|
| Word length | Counted in characters (code points); punctuation glued to a word counts toward its length |
| Tie-breaking | When lengths are equal, the word that appears first in the text wins |
| Top-5 mode | Shows the five longest words in descending order of length, duplicates included |
| Case | Not changed — each word is shown exactly as written in the text |
| Updates | Recalculated on every change to the text, nothing is sent to a server |
When it misleads you
- Punctuation glued to a word without a space — a comma, period, quote, hyphenated dash — counts toward its length. "Electromagnetic," at the end of a sentence is one character longer than the same word without the comma.
- Strings made of digits, code or a URL ("https://example.com/path") are counted as words too and can "win" purely on length, without being an actual word of the language.
- A hyphen does not split a word ("well-known" is one 10-character word), but an en dash or em dash with spaces on both sides splits the text into two separate words.
- When several words share the maximum length, single-winner mode shows only the first one in reading order — the others of the same length are left out unless top-5 mode is on.
How it is calculated
The text is split into words on spaces and line breaks — the same logic as the character counter. Each word is a continuous run of non-whitespace characters.
Each word's length in characters is measured, then the list is sorted in descending order of length. The longest word becomes the main result.
In top-5 mode, the first five entries of the sorted list are taken — they can include the same word more than once if it appears several times in the text.
The top-5 list is rendered as "word — N characters", one word per line, keeping each word's original case.
Questions and answers
Does punctuation count toward a word's length?
Yes, if it is glued to the word without a space. A comma or period right after a word adds one character to its length.
What if several words share the same maximum length?
Single-winner mode shows only the first one in reading order. Turn on top-5 mode to see the other words of the same or slightly shorter length.
Can a URL or a number end up at the top?
Yes — the tool cannot tell a regular word from a URL, number or code. Any space-free run of characters counts as a word.
How is a hyphenated word's length counted?
A hyphen does not split a word, so "well-known" is counted as one 10-character word, hyphen included.
Is my text sent anywhere?
No. All parsing runs in your browser; the text is never transmitted anywhere.