Free Text Tool

N-gram Generator

Build unigram, bigram and trigram frequency tables from any text, with counts and percentages for every phrase.

100% Free No signup Runs in your browser No uploads
N-gram size:

Frequently asked questions

What is an n-gram?

An n-gram is a run of n words: unigrams are single words, bigrams are two-word pairs, trigrams are three-word phrases. Frequency tables reveal the repeated phrases in a text.

How is text tokenized?

Text is lowercased and split on letters and digits, so The and the count together. Punctuation is ignored.

How many rows are shown?

The top 100 n-grams by count, sorted most frequent first.

Preview

N-gram Generator tool preview
Live preview of the N-gram Generator tool running in your browser. Your data never leaves your device.

Related free tools