Skip to content
Coding Script or NotebookGoogle ColabFree

Fuzzy Booster: Match Top Search Console Queries to Titles, Metas and H1s

ForContent auditsKeyword research

By Lazarina Stoy· Updated 5 Dec 2026

A page’s title, meta description and H1 should reflect the query that actually brings it clicks. On a large site, checking that by hand doesn’t happen. The Fuzzy Booster method does it for you: this free Google Colab notebook pulls each page’s most-clicked query from Search Console, scrapes the page’s title, meta description and first H1, scores how well each one contains the query, and can ask an OpenAI model to draft a better title where the score is low.

Who it’s for

SEOs and content teams running metadata audits on sites with more pages than they can review one by one. You need access to the Search Console property and, for the optional title suggestions, an OpenAI API key.

How to use it

  1. Open the notebook in Colab. If you want title suggestions, add your OpenAI key as a Colab secret named OPENAI_API_KEY.
  2. Set your site and a regex of branded queries to exclude.
  3. Create a Google Cloud OAuth client for the Search Console API, or use a service account, and upload the credentials file when asked. No access yet? Run the sample data cell instead.
  4. The notebook pulls up to 25,000 page and query rows from the last 16 months and keeps the most-clicked query per page.
  5. It scrapes the metadata, cleans the text and scores each element with RapidFuzz token_set_ratio.
  6. For titles scoring 60 or below, it drafts a new title under 60 characters that includes the query, and saves everything to fuzzy_booster.csv.

What you get

  • title_similarity, meta_similarity and h1_similarity (0 to 100) for every page
  • A shortlist of pages whose metadata doesn’t reflect their main query
  • Optional AI-drafted titles for that shortlist
  • A command-line version and offline tests if you prefer to run it locally

Limits and costs

Fuzzy matching compares wording, so a title that uses a close synonym can still score low. Treat the scores as a review queue. Every page under the threshold is one OpenAI call, so run a small sample first, and read every suggested title before it goes live.

The 2026 refresh replaced FuzzyWuzzy with RapidFuzz, swapped the retired Search Console sign-in flow for a localhost redirect, and moved to the current OpenAI SDK with the key read from a secret.

Read How to Automatically Optimize your SEO Metadata with FuzzyWuzzy and OpenAI in Google Colab for the walkthrough, and see Introduction to Machine Learning for SEO for the fuzzy matching module behind it.

What’s included

  • Pulls each page's most-clicked query from Search Console (last 16 months, brand excluded)
  • Scores title, meta description and H1 against it with RapidFuzz token_set_ratio
  • Optional OpenAI-drafted titles under 60 characters for pages scoring 60 or below
  • Sample data cell if you don't have Search Console access yet
  • Command-line version and offline tests included