Text & writing

N-gram frequency analyser

Find repeated word phrases or character sequences in local text.

N-gram frequency analyser
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Counts overlapping windows of length 2–5 across at most 100,000 characters. Word mode lowercases and extracts Unicode letters/numbers with internal apostrophes, ignoring punctuation boundaries; character mode includes exact whitespace and case. Sorts frequency descending, then lexical spelling. Percentages use all windows, not just top results. Does not perform linguistic segmentation or semantic phrase extraction.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Your text
The small blue boat crossed the blue lake. A small boat waited by the shore.
Sequence units
Word tokens
N-gram length
2
Maximum displayed/exported rows
100

Example result

First 5 rows of the example result
N-gramCountShare of windows (%)
a small17.14285714286
blue boat17.14285714286
blue lake17.14285714286
boat crossed17.14285714286
boat waited17.14285714286

14 distinct overlapping n-grams across 14 windows. Word mode uses lowercase Unicode letter/number tokens; character mode retains code points and whitespace.