Word Length Distribution

Word Length Distribution lets you count how many words have each Unicode character length. Enter your own values or load the worked example.

Method and calculation

Count how many words have each Unicode character length.

Inputs and settings

Word Length Distribution accepts Input text.

Worked example

Word Length Distribution example — Input text: "Hello world\nA second line\nHello world". Computed output: { "1": 1, "4": 1, "5": 4, "6": 1 }

Output and limitations

Length is measured in Unicode code points rather than UTF-16 storage units. The report groups words by size instead of listing their frequency. Combining marks and joined emoji require grapheme analysis for visual length, so the count is a linguistic token approximation.

Technical references: JavaScript Unicode normalization

Word Length Distribution FAQs

Word Length Distribution applies the following rule to your input: Count how many words have each Unicode character length. The worked example on this page uses the same processor as the result button.
Word Length Distribution has these boundaries: Input is treated as plain text; it is never executed. Start by checking the input text field against the units or format shown.
Word Length Distribution provides this sample: { "1": 1, "4": 1, "5": 4, "6": 1 }. Use the sample button to reproduce it, then replace the inputs with your own values.