Use AI to Generate Yoast SEO Titles and Descriptions for Posts

  • Post author:
  • Post category:Guides
  • Updated: August 6, 2026

You can generate Yoast SEO titles and meta descriptions for your WordPress posts with AI, and do it for as many posts as you have in a few clicks. Instead of writing a title and description for every post by hand, WP Sheet Editor, working with the WP Sheet Editor – AI add-on, lets you fill the Yoast SEO Title and Yoast SEO Description fields across your whole spreadsheet automatically. You type a short prompt shortcut into the relevant cells, or run the Bulk Edit tool over every post that is missing this data, and the AI writes the metadata for you.

This tutorial walks through both ways to do it, plus the prompts that produce clean, on-length results, and the details worth checking before you save so your AI-generated metadata is actually ready to publish.

This method is not limited to standard WordPress posts. You can use the same workflow to handle SEO for pages, WooCommerce products, and any custom post type you have registered, because WP Sheet Editor surfaces every one of those in the same spreadsheet layout.

Item Details
Tools needed Yoast SEO, WP Sheet Editor – Post Types, WP Sheet Editor – AI, and a compatible AI provider account
Spreadsheet method Type ai:seo-title or ai:seo-description into the Yoast SEO columns and save
Bulk method Search for posts missing SEO titles or descriptions, then generate them with the Bulk Edit tool
Recommended lengths Keep titles around 50 to 60 characters and descriptions under 155 characters
What gets covered Posts, pages, WooCommerce products, courses, lessons, and custom post types
Before publishing Review each result for relevance, keyword use, length, and brand voice

Why automate SEO titles and descriptions with AI

Writing a strong meta title and description for one post is quick. Writing good ones for a few hundred or a few thousand is where the hours disappear. Each entry has to stay within character limits, include the right keyword without sounding stuffed, and read naturally enough to earn a click from the search results page.

Adding a generative AI tool to that workflow lets you produce a consistent first draft for every row in your site at once. You keep the final say: the AI drafts, you review, and you edit anything that does not quite fit before saving. That combination lets you clear a backlog of missing metadata in one working session instead of spending days on it.

What you need to bulk manage Yoast SEO fields with AI

We assume you already have Yoast SEO installed and active. Beyond that, three pieces are required to run AI-generation across your spreadsheet.

1- WP Sheet Editor – Post Types

This plugin gives you the spreadsheet itself. It lets you view and manage WordPress posts, pages, and custom post types using an intuitive grid with advanced search, bulk edit, export, and import tools. It is also what exposes the Yoast SEO fields as editable columns. If you already have it, you can skip this.

2- WP Sheet Editor – AI

This is the WordPress AI service that brings generative AI to every WP Sheet Editor spreadsheet. You connect it to the AI provider of your choice, then use prompts and prompt shortcuts inside any of the suite’s spreadsheets. It handles sending your content to the model and bringing the result back into the cell.

3- External API provider

The AI functionality relies on an external API such as OpenAI or OpenRouter. You need an account with the provider and an API key so WP Sheet Editor can authenticate against it.

WP Sheet Editor – AI is compatible with these providers:

  • OpenAI for text and images (more info here)
  • OpenRouter (more info here)
  • Any other provider that uses the same request format as OpenAI

Follow this guide to learn how to set up AI providers in WP Sheet Editor – AI.

AI prompts for generating SEO titles and descriptions

The quality of what the AI returns depends heavily on the prompt you give it. Here are two prompts you can use as a starting point. These assume your posts already have titles, content, and a target keyword, so each prompt references the corresponding fields for Title, Content, and SEO Keyword. Test them on your own content and adjust the wording if needed, since every site’s audience and tone are different.

Prompt for generating SEO titles

Use this prompt to generate a search-facing title for a post:

Generate a concise, engaging SEO title (50-60 characters) based on the $Title$ and $Content$, ensuring it includes the $SEO Keyword$. The title should be natural and compelling. Return plain text, free of quotation marks or unnecessary punctuation.

Prompt for generating SEO descriptions

Use this prompt to generate a meta description:

Generate a compelling SEO description based on the $SEO Title$ and $Content$, including the $SEO Keyword$. The description should be engaging, summarize the key points of the post, and encourage reader interest. Keep it under 155 characters for optimal search engine visibility. Return plain text only.

Instead of retyping these prompts every time, you can save them as global prompts and call them with a simple shortcut.

Go to WP Sheet Editor > AI > Settings > Prompts, then click on Add new.

Adding a new global AI prompt in the WP Sheet Editor AI settings screen

Now fill in the details for each prompt:

  • Name: Add prompt names that are easy to remember, like “SEO Title” and “SEO Description”. This matters because, once you save, each prompt automatically generates a prompt slug you can use as a shortcut such as ai:seo-title or ai:seo-description.
  • Prompt: Enter the prompt text here.
  • Click on Save.

Saving the SEO description prompt as a global prompt with its ai:seo-description slug

You need to create the two global prompts, one for titles and one for descriptions. After that, both shortcuts will be available anywhere in any WP Sheet Editor spreadsheet.

Open your WordPress posts spreadsheet

To start generating Yoast SEO titles and descriptions with AI, open the spreadsheet that contains your posts.

Go to WP Sheet Editor > Edit posts, and you will see all your posts displayed in the spreadsheet, with each field in its own column.

The WP Sheet Editor spreadsheet showing all WordPress posts and their Yoast SEO columns

Generate Yoast SEO titles and descriptions with AI in the spreadsheet

If you prefer to work directly in the spreadsheet cells, you can trigger the AI with the ai:prompt-slug shortcut. This is the fastest way to generate metadata on a handful of rows without opening the Bulk Edit tool.

To generate SEO titles, enter the shortcut for your title prompt into the cells of the SEO Title column. In this example the prompt slug is “seo-title”, so the cell value is:

ai:seo-title

Spreadsheet cell with the ai:seo-title shortcut entered in the Yoast SEO Title column

Note: You can also paste a full prompt directly into a cell instead of using a saved shortcut. For example:

ai:Generate a concise, engaging SEO title (50-60 characters) based on the $Title$ and $Content$, ensuring it includes the $SEO Keyword$. The title should be natural and compelling. Return plain text, free of quotation marks or unnecessary punctuation.

The trade-off is that with full prompts you have to type or paste the whole text into every cell, which is why the saved shortcut is the more practical option for most work.

Once the shortcut is in place, the AI starts generating and you will see a loading icon in the cell for a few seconds while it works.

Loading icon showing in a spreadsheet cell while the AI generates the SEO title

When the process finishes, the generated title appears in the cell. Here we have our first SEO title generated by the AI.

The generated Yoast SEO title now populated in the spreadsheet cell

To generate titles for several posts at once, paste the same shortcut into multiple cells in the column. The AI processes each row that contains the shortcut.

The ai:seo-title shortcut pasted into several cells so the AI generates multiple SEO titles at once

With the SEO titles generated across multiple posts, it is time to save the changes so they are written back to your site.

Saving the generated Yoast SEO titles in the WP Sheet Editor spreadsheet

Generating SEO descriptions follows the exact same steps. The only difference is which shortcut you use: paste ai:seo-description into the cells of the SEO Description column, matching the slug of the description prompt you saved.

Here we have pasted the ai:seo-description shortcut into multiple cells in one go.

The ai:seo-description shortcut pasted into multiple cells to generate Yoast SEO meta descriptions

Once the descriptions are generated, save the changes to publish them to the posts.

Saving the generated Yoast SEO meta descriptions in the spreadsheet after the AI finishes

Bulk generate Yoast SEO titles and descriptions with AI

If you would rather not work row by row in the spreadsheet, you can generate Yoast SEO data with AI using the Bulk Edit tool. This is the better route when you need to find and fix a large number of posts that are missing metadata all at once.

In this example, we show how to search for posts that are missing SEO titles and descriptions and then generate the missing values quickly.

Bulk generate SEO titles with AI

Start by searching for all the WordPress posts missing an SEO title. Open the Search tool.

Opening the Search tool in WP Sheet Editor to find posts missing an SEO title

Now select these values to find all posts without an SEO title:

  • Tick the Enable advanced filters checkbox.
  • Field: SEO Title
  • Operator: =
  • Value: Leave this field empty
  • Click on Run search.

Advanced filter set to find posts where the Yoast SEO Title field is empty

After the search runs, you will see only the posts that lack an SEO title, with the active search filters shown above the spreadsheet.

Search results showing the filtered list of posts that are missing an SEO title

Next, open the Bulk Edit tool to act on all the filtered rows at once.

Opening the Bulk Edit tool in WP Sheet Editor to generate SEO titles

In the Bulk Edit tool, select these values to generate Yoast SEO titles in bulk:

  • Select the rows that you want to update: Edit all the rows from my current search.
  • What field do you want to edit: SEO Title
  • Select type of edit: You have two options here:
    • First option: Select a pre-saved global prompt. For example, select your pre-saved SEO title prompt, displayed as AI command: SEO Title, so you do not have to type the prompt.
    • Second option: Select AI Prompt and paste or type the full prompt.
  • AI Provider: If you have configured multiple providers, select the one you want to use for this task.
  • Click on Show preview to check the result before saving.
  • Click on Execute Now and the AI starts generating your SEO titles.

Bulk Edit settings configured to generate Yoast SEO titles with the AI command for all filtered rows

Bulk generate Yoast SEO descriptions with AI

To bulk generate Yoast SEO descriptions with AI, start by filtering all the posts missing a meta description.

Open the Search tool again.

Opening the Search tool to find posts that are missing a Yoast SEO meta description

Now select these values to find all posts without an SEO description:

  • Tick the Enable advanced filters checkbox.
  • Field: SEO Description
  • Operator: =
  • Value: Leave this field empty
  • Click on Run search.

Advanced filter set to find posts where the Yoast SEO Description field is empty

After filtering to the posts without a description, open the Bulk Edit tool.

Opening the Bulk Edit tool in WP Sheet Editor to generate SEO meta descriptions

Configure the Bulk Edit tool with these values to generate Yoast SEO descriptions in bulk:

  • Select the rows that you want to update: Edit all the rows from my current search.
  • What field do you want to edit: SEO Description
  • Select type of edit: You have two options here:
    • First option: Select a pre-saved global prompt. For example, select your pre-saved SEO description prompt, displayed as AI command: SEO Description, so you do not have to type the prompt.
    • Second option: Select AI Prompt and paste or type the full prompt.
  • AI Provider: If you have configured multiple providers, select the one you want to use for this task.
  • Click on Show preview to check the result before saving.
  • Click on Execute Now and the AI starts generating your SEO descriptions.

Bulk Edit settings configured to generate Yoast SEO meta descriptions with the AI command

With both tools run, the Yoast SEO titles and descriptions are generated for the filtered posts, saving hours of manual work.

Yoast SEO titles and meta descriptions generated by AI for multiple WordPress posts in the spreadsheet

Checking AI-generated metadata before you publish

AI is fast, but generated titles and descriptions still deserve a quick review before you save and go live. A few checks catch most of the issues that slip through:

  • Length: Titles that run past about 60 characters and descriptions over 155 characters risk being cut off or rewritten in the search results. The prompts above already push toward those limits, so scan for anything that came back too long.
  • Keyword placement: Confirm that your target keyword appears in the title and description without stuffing. It should sit naturally in the sentence rather than being forced in.
  • Relevance: Make sure the title and description actually match the content of the post. If the AI pulled from a field that was off, the metadata may not describe the page accurately.
  • Tone and brand voice: Adjust anything that does not sound like your site. Generators produce competent copy, but they do not know your brand voice until you tell them or edit it in.

Keep in mind that search engines sometimes rewrite titles and snippets on their own to match a query. Well-written, relevant metadata increases the chance that your version is the one shown, so the effort is still worthwhile even when a rewrite happens.

Frequently asked questions

Does WP Sheet Editor – AI work with the free version of Yoast SEO?

Yes. The workflow in this tutorial relies on the standard Yoast SEO fields for the meta title and meta description, which are present in the free plugin. WP Sheet Editor reads and writes those stored values, so no paid Yoast plan is required for this to work.

Can I generate SEO titles and descriptions for products, pages, and custom post types too?

Yes. The same spreadsheet and Bulk Edit workflow applies to posts, pages, WooCommerce products, and any custom post type you have registered. Open the relevant editor (for example WP Sheet Editor > Edit products) and repeat the same steps on its SEO columns.

What is the ideal length for an SEO title and a meta description?

A common benchmark is to keep search titles around 50 to 60 characters and meta descriptions under about 155 characters. Staying inside those limits reduces the chance that search engines truncate your text or replace it with their own version.

Do I need an API key from an AI provider to use this?

Yes. WP Sheet Editor – AI connects to an external provider such as OpenAI or OpenRouter, so you need an account with the provider and an API key. Once the key is configured, you select that provider when running your prompts.

Can I use my own custom prompts instead of the examples?

Yes. The two prompts in this tutorial are starting points. You can edit them, add your own constraints, or write entirely new prompts, then save them as global prompts so they are reusable through a shortcut in any spreadsheet.

How do I generate metadata only for posts that are missing it?

Use the Search tool with the advanced filters set to the SEO Title or SEO Description field, the equals (=) operator, and an empty value. That returns only the posts without that metadata, and you can then run Bulk Edit on exactly those rows without touching anything you already filled in.

Do you need help?

You can receive instant help in the live chat during business hours, or you can contact us and we will help you via email.