Bulk Keyword Tagger
Tag a keyword list with up to seven categories of terms, wherever a tag term appears inside a keyword.
#about
Adds up to seven tag columns to a keyword list, based on which of your tag terms appear in each keyword.
Matching is case-insensitive substring matching, so a short term like "sale" also tags "wholesale".
Every matching term in a category is joined with semicolons, and one keyword can carry tags in all seven categories.
The Google Colab notebook needs no API key, and the keywords file should have no header row.
Colab notebook
- Platform
- Google Colab notebook (runs in your browser with a Google account)
- Input
- Keywords CSVTags CSV with classification columns
- Output
- Tagged keywords CSV
- Category
- Keyword Research
Use cases
- Bulk categorising keywords by topic or intent
- Applying negative keyword classifications
- Segmenting keywords by product type
- Tagging keywords for different campaigns
#features
- Up to 7 tag categories (tag_1 through tag_7)
- Substring matching (tag appears within keyword)
- Case-insensitive matching
- Alphabetically sorted output
- Semicolon-concatenated multi-tag output
- Auto skips malformed CSV lines
#how-to-use
- Prepare a keywords CSV with one keyword per row and no header row
- Create a tags CSV with up to 7 tag columns and no header row (read as tag_1 to tag_7 by position)
- Upload both files to Colab notebook
- Run cells to apply matching
- Download your_keywords_tagged.csv
#faq
- What format do the two CSV files need to be in?
- The keywords file should be a single column of keywords with no header row: the notebook reads it headerless and names the column itself, so a header would be treated as a keyword. The tags file has up to 7 columns (tag_1 through tag_7), one tag category per column, one term per row. It is also read headerless, with the columns named tag_1 to tag_7 by position, so a header row would be treated as tag terms even though the upload note in the notebook asks for headers. You do not need all 7: missing columns are simply skipped.
- How does the tagging actually work?
- It is plain substring matching, not semantic or fuzzy matching. Everything is lowercased, then a keyword receives a tag if the tag term appears anywhere inside it. If several terms from the same category match one keyword, they are joined with semicolons in that category's column.
- Why is a tag matching keywords it should not?
- Because matching is substring based, short tag terms match inside longer words: "sale" matches "wholesale" and "ring" matches "monitoring". If you see false positives, make the tag term longer or more specific, for example "for sale" instead of "sale".
- Can one keyword get multiple tags?
- Yes, in two ways. Within a single category, every matching term is concatenated with semicolons. Across categories, each of the 7 tag columns is matched independently, so a keyword can carry a tag in every column at once.
- How many keywords can it handle, and what does it cost?
- There is no limit in the code: it is plain pandas string matching, so capacity is bounded by the free Google Colab session rather than any quota, and runtime grows with keyword count times tag count. Nothing to install and no API keys needed.
/contact
Want me to run this for you? I run this tool as a managed service, or build something custom around your data. You get the insights without touching the code.