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 |
Table of Contents
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.
You can download the plugin here:
Download Posts, Pages, and Custom Post Types Spreadsheet Plugin - or - Check the features
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.
You can sign up here:
Sign up to the WP Sheet Editor - AI Service - or - Check the features
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.
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.
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.
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
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.
When the process finishes, the generated title appears in the cell. Here we have our first SEO title generated by the AI.
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.
With the SEO titles generated across multiple posts, it is time to save the changes so they are written back to your site.
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.
Once the descriptions are generated, save the changes to publish them to the posts.
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.
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.
After the search runs, you will see only the posts that lack an SEO title, with the active search filters shown above the spreadsheet.
Next, open the Bulk Edit tool to act on all the filtered rows at once.
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 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.
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.
After filtering to the posts without a description, open the Bulk Edit tool.
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.
With both tools run, the Yoast SEO titles and descriptions are generated for the filtered posts, saving hours of manual work.
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.
You can sign up here:
Sign up to the WP Sheet Editor - AI Service - or - Check the features


















