Docomint

N-Gram Generator

Find the most common 2-, 3-, 4-, or 5-word phrases in a block of text.

🔒 Processed on your device

Word Frequency Counter and Keyword Density Checker look at single words — this looks at multi-word phrases ("n-grams"), which surface repeated phrasing a single-word count can't catch, like an over-used transition phrase or an SEO long-tail phrase that shows up naturally in your writing.

Example: Analyzing a blog post at n=3 might surface "in the morning" appearing 5 times — a phrase invisible to a single-word frequency count.

How it works

  1. Paste your text
  2. Choose the n-gram size (2 for pairs, 3 for triples, and so on)
  3. Ranked phrases appear instantly, on your device

Frequently asked questions

What n-gram size should I check?

2 or 3 (bigrams/trigrams) surfaces the most useful repeated phrases for most writing; go higher only if you're specifically hunting for a longer repeated sentence fragment.

Is my text uploaded anywhere?

No — N-Gram Generator runs entirely in your browser using JavaScript/WebAssembly. Your text is never sent to a server.

Do n-grams get generated across sentence boundaries, mixing the end of one sentence with the start of the next?

Yes — phrases are built from the raw word sequence regardless of sentence-ending punctuation, so an n-gram can span the boundary between two sentences. This is standard behavior for a basic n-gram count.

Related tools