N-gram Keyword Grouping

Instant DeliveryInstant Delivery
No credit card required!
Create a free account on Botster
Choose a bot and provide seed data
Start the bot and wait for completion
Download or share your results

About this bot

In short: This online tool quickly groups a list of keywords by their unigrams, bigrams or trigrams.

Have a look at this demo output file for an example of data that you will get.

⚠️ While processing the keywords, the keyword grouper may include the same words into several groups. ⚠️

How to create SEO keyword groups by their n-grams: Video tutorial

Watch a quick video on how to group keywords using this tool:

How to use the keyword grouping tool online?

This fast and simple online keyword grouper tool can be used for multiple business-related purposes including SEO optimization, blogging and copywriting.

You can easily process your keywords, group them by relevance, and export these groups as a comprehensive table that includes the following data:

  • N-gram
  • Total occurrences
  • Phrase

How to launch the automatic keyword grouping process?

  • Sign up on Botster
  • Go to the bot's start page
  • Enter your keywords. Each keyword must go on a new line.
  • Select the group type.
  • Insert the stop words.
  • Click the "Start this bot" button.

That's it – the keyword grouping process has started!



An n-gram is a sequence of keywords, where ‘n’ stands for the number of the keywords included:

  • unigram - 1 keyword
  • bigram - 2 keywords
  • trigram - 3 keywords

Stop words

Articles (a, the), prepositions (at, in, under), pronouns (I, my, he, his), modal verbs (can, should, must), question words (what, why, where) and some other types of words bear no semantic value for SEO. It is advisable to exclude them from the grouping process by classifying them as ‘stop words’. Otherwise, you will get a number of impractical keyword lists grouped around these words.

Stop words and phrases will be removed from each keyword before the grouping starts. To facilitate the task, we’ve pre-filled this field for you. You can add your own stop words or remove any of the existing ones.

Each stop word must go on a new line.

Software walkthrough

1. Open the Launch bot form

Click on the "Start bot" button on the right-hand side of this page to open the spider's form:

2. Enter the details

Give your "Job" a meaningful title, and optionally specify (or create) a project folder:

3. Enter the keywords

Each query must go on a new line.

4. Select the group type

You can tick one, two or three checkboxes during the session.

5. Enter stop words

This field is pre-filled for your convenience. You can delete some or all of the suggested stop words and add yours.

6. Set up notifications

Specify if you would like to receive a notification when the grabber completes the crawl:

7. Start the bot!

Click the "Start this bot" button on the right-hand side:

That's it! You will be taken to your "Jobs" section. The keyword groups SEO tool is now working and will notify you once it's done.

Data output

After the bot completes the job you can download your data as an Excel (XLSX), CSV or JSON file.

To use this bot you need to register or log in first.

Frequently asked questions

With our smart online tool, you don’t need to generate keyword and ad group ideas on your own anymore - the bot will do this for you! It’s fast and easy.

One of the tasks of SEO optimization consists in creating content with relevant keywords, which helps attract potential customers. Automatized keyword grouping facilitates this process immensely.

Yes, you can. Enter a list of queries into a special field and start the bot. As a result, you will receive a table with all your keywords grouped by relevance. You won’t need to create ad groups manually.

Endpoint: POST https://botster.io/api/v2/bots/ngram-keyword-grouping-tool

Request body:

input string or array of strings (required)

stop string (optional)
Stop words
These words or phrases will be removed from each keyword before the grouping starts. You can add your own additional stop words or remove any of the existing ones we pre-filled for you. Each stop word must go on a new line.

types array of strings (required)
Group type
Possible values:


Your file is being prepared...