Prompt library

25 Grok SEO prompts

Copy-paste prompts for keyword research, content, on-page fixes, technical SEO, local and AI search. Fill in your site once, and every prompt updates.

Updated · 6 min read

How to use this page: type your domain, topic and audience below. Then copy a prompt, or click “Open in Grok” to run it on grok.com. Replace anything in [square brackets] with your own text.

Every prompt below updates as you type. Nothing leaves your browser until you copy a prompt or open it in Grok.

Keyword research

Seed keyword list by intent

A first map of what people search, without made-up numbers.

Act as an SEO strategist. My site is [yoursite.com]. It is about [your topic] for [your audience]. List 30 search queries real people type when they need this. Group them by intent: informational, commercial, transactional. Mark the ones a small site can realistically rank for. Do not invent search volumes. If you have no data, write "volume unknown".
Open in Grok ↗

On a Grok Bot: the Bot checks each query against real volume and difficulty before it plans a page.

Mine X for real questions

Uses Grok’s live X search. People’s own words make the best titles.

Search X for posts from the last 30 days about [your topic]. List the 10 questions or complaints that come up most often. For each, quote one short example post with its link. Then turn each one into a blog post title that matches a search query someone would type into Google.
Open in Grok ↗

On a Grok Bot: the Bot runs this every Friday and adds the new questions to your content plan.

Cluster questions into pages

One page per intent, so your pages do not compete with each other.

Here is a list of search queries for [yoursite.com]:
[paste your list]

Group them into topic clusters. For each cluster, name one pillar page and up to five supporting articles. Put each query on exactly one page. Flag queries that should share a page because the searcher wants the same answer.
Open in Grok ↗

Is this topic rising or falling?

Timing matters. Write about rising topics before everyone else.

Is interest in [your topic] rising or falling right now? Use X and web search. Give evidence with dates and links. Then tell me which three articles I should publish on [yoursite.com] this month because of it.
Open in Grok ↗

Competitor content gap

Finds topics your competitors cover and you do not.

My site is [yoursite.com]. My main competitors are: [competitor1.com, competitor2.com, competitor3.com]. Look at the topics on their blogs and main pages. List 15 topics they cover that [yoursite.com] does not. Rank them by how close the reader is to buying. For each, say which competitor page covers it best.
Open in Grok ↗

On a Grok Bot: the Bot can crawl the competitor pages itself and compare them to your sitemap.

Content

Content brief

A brief keeps the draft on the search intent.

Write a content brief for an article on [yoursite.com] that targets the query "[target query]". Audience: [your audience]. Include: the search intent in one sentence, a working title under 60 characters, an H2/H3 outline, the questions the article must answer, 5 related terms to cover naturally, 3 internal links to suggest, and what would make this article better than the current top results.
Open in Grok ↗

On a Grok Bot: the Bot writes the article from the brief, links it in and opens a pull request.

Answer-first introduction

A direct answer at the top helps for featured snippets and AI answers.

Rewrite this introduction so that the first two sentences directly answer the question "[target question]". Keep it under 60 words, plain language, no hype. Then add one sentence that tells the reader what the rest of the article covers.

[paste your introduction]
Open in Grok ↗

FAQ section from real questions

FAQ blocks capture long-tail queries and are easy for AI answers to quote.

For a page on [yoursite.com] about [page topic], find 8 questions people actually ask about this on X and the web. Write a short, direct answer for each (40 to 70 words). Then give me the FAQPage JSON-LD for the same questions and answers.
Open in Grok ↗

Refresh a page that is losing traffic

Updating a page that already ranks is often faster than writing a new one.

This page on [yoursite.com] used to rank for "[query]" and is losing positions. Here is the current text:
[paste page]

Compare it to what searchers want today. List what is outdated, what is missing, and what to cut. Then write the new sections. Keep what still works.
Open in Grok ↗

On a Grok Bot: the Bot finds the losing pages in Search Console first, so you do not have to.

Comparison page ("X vs. Y")

Comparison searches come from people close to a decision.

Plan a comparison page for [yoursite.com]: "[option A] vs. [option B]" for [your audience]. Give a fair verdict up front, a comparison table with 8 rows, who should pick each option, and the questions buyers ask before they choose. Use only facts you can link to. Mark anything you are not sure about.
Open in Grok ↗

On-page

Title tag options

The title is still the strongest on-page signal and decides the click.

Write 5 title tag options for this page on [yoursite.com]. Target query: "[query]". Rules: under 60 characters, put the query near the start, make a specific promise, no clickbait, no all caps.

Page summary: [one or two sentences]
Open in Grok ↗

Meta descriptions in bulk

Missing or duplicate descriptions are one of the most common issues.

Write a meta description for each URL below. Rules: 140 to 155 characters, active voice, include the main query once, end with a reason to click. Return a table with URL and description.

[paste URL + page title list]
Open in Grok ↗

On a Grok Bot: the Bot finds every page with a missing or duplicate description and fixes them in one pull request.

Heading structure review

Clear headings help readers, search engines and AI answers.

Review the heading structure of this page. Check: one H1 that matches the search intent, H2s that each answer a sub-question, no skipped levels, no vague headings like "Overview". Suggest a better outline.

[paste the page text or HTML]
Open in Grok ↗

Image alt text

Alt text helps accessibility and image search.

Write alt text for the images on this page of [yoursite.com]. Rules: describe what the image shows in under 125 characters, mention [your topic] only where it is true, no "image of", leave decorative images empty. Return a table with file name and alt text.

[paste image file names and the text around each one]
Open in Grok ↗

On a Grok Bot: the Bot finds every image with missing alt text across the site and fixes them in one pass.

Technical SEO

robots.txt review

One wrong line can hide your site from search engines.

Review this robots.txt for [yoursite.com]. Tell me if it blocks anything important, if the sitemap line is correct, and how it treats AI crawlers such as GPTBot and Grok-related crawlers. Suggest a corrected version.

[paste robots.txt]
Open in Grok ↗

Structured data (JSON-LD)

Schema helps search engines understand the page and can earn rich results.

Write JSON-LD structured data for this page on [yoursite.com]. Choose the right schema.org types (for example Organization, Product, Article, FAQPage, BreadcrumbList). Use only facts from the page text. Do not invent ratings or reviews.

[paste page text]
Open in Grok ↗

Explain a Search Console issue

Search Console messages are short. This gets you the cause and the fix.

Google Search Console shows this for [yoursite.com]: "[paste the issue, e.g. Crawled - currently not indexed]" on these URLs: [paste URLs]. Explain the most likely causes, in order of likelihood. Then give me a step-by-step fix and how to check that it worked.
Open in Grok ↗

On a Grok Bot: the Bot reads Search Console itself, applies the fix and requests a recheck.

Core Web Vitals fix plan

Slow pages lose rankings and visitors.

My page [URL] on [yoursite.com] has these PageSpeed results: LCP [x] s, INP [x] ms, CLS [x]. The site is built with [framework or CMS]. List the five most likely causes and the fix for each, ordered by impact and effort.
Open in Grok ↗

Redirect map for a site change

Moving pages without redirects throws away rankings.

I am changing URLs on [yoursite.com]. Old URLs:
[paste]
New URLs:
[paste]

Match each old URL to the best new URL by topic. Flag old URLs with no good match. Output a table and a redirects file for [Vercel / Netlify / nginx / Apache].
Open in Grok ↗

Local and AI search

Google Business Profile description

For local businesses, the profile often gets more views than the website.

Write a Google Business Profile description for [business name], a [your topic] business in [city]. Audience: [your audience]. Rules: under 750 characters, first 250 characters carry the key message, mention the area served, no phone numbers or links, no ALL CAPS.
Open in Grok ↗

How do AI assistants describe you?

Shows what AI answers say about your brand, and what is missing.

What is [yoursite.com]? Who is it for, and what are its main alternatives? Answer as you would for a user who asks you to recommend a [your topic] option for [your audience]. Then list which sources you used, and what information about [yoursite.com] you could not find.
Open in Grok ↗

Draft an llms.txt file

An llms.txt file gives AI tools a clean summary of your site.

Draft an llms.txt file for [yoursite.com]. Format: an H1 with the site name, a one-line summary in a blockquote, a short list of key facts, then sections with links to the most important pages and one line about each. Here are my main pages:
[paste URL + title list]
Open in Grok ↗

Brand mentions on X

Grok’s answers draw on X conversations. Know what is being said.

Search X for mentions of [yoursite.com] and our brand name in the last 60 days. Summarize: how often we are mentioned, the main topics, positive vs. negative, and the three posts with the most reach. Then suggest three posts we could publish to answer common questions.
Open in Grok ↗

Link-building angles

Good links come from giving another site something useful.

Suggest 10 link-building ideas for [yoursite.com] in the [your topic] space. For each: the type of site to contact, what we offer them (data, a tool, a guest post, an expert quote), and a two-sentence pitch. No spam tactics, no paid links.
Open in Grok ↗

On a Grok Bot: the Bot can find the contacts, draft each email and queue them for your approval.

Three rules for SEO prompts in Grok

  • Ask for sources and links. Grok can search X and the web, so make it show its work.
  • Say “do not invent numbers”. Without a data source, volumes and difficulty scores are guesses.
  • Paste the real page. A review of the actual text beats a review of a summary.

When prompts are not enough

Every prompt here ends the same way: you copy the answer into your site. That is fine for a few pages. It does not scale to a site that needs fixes every week. A Grok Bot set up for SEO runs the same tasks on its own computer, with your Search Console data, and asks you to approve the result.

Next: turn these into Grok Bot routines, or read what Grok chat can and cannot do for SEO.

Frequently asked questions

What is the best Grok prompt for SEO?

The most useful one is often the X question-mining prompt: ask Grok to search X for the questions and complaints in your niche from the last 30 days. Grok has live X access, so you get real wording that people use, which makes good titles and FAQ entries.

Can Grok give me keyword search volumes?

Do not rely on it. Grok has no keyword database, so any exact volume it gives without a source is a guess. Use Grok to find what people ask, then check the numbers in Google Search Console or a keyword tool.

How do I open a prompt directly in Grok?

Click “Open in Grok” on any prompt. It opens grok.com with the prompt filled in. You need to be signed in to Grok.

Can a Grok Bot run these prompts automatically?

Yes. A Grok Bot can run a prompt like the X question scan or the meta description fix on a schedule, and act on the result. See the Grok Bot SEO routines guide for the exact text.