Generating Schema Markup Using AIOSEO AI

Did you know that you can easily create Schema Markup for your content using AI?

With All in One SEO's AI features, you can generate Schema Markup automatically within your content to increase your presence in search results.

Getting Started with AIOSEO AI

The AI features in All in One SEO rely on a credits system. You can buy blocks of credits, or use credits you receive as part of your subscription for All in One SEO Pro.

To get started, you'll need to verify that you have AI credits. To do this, click on General Settings in the All in One SEO menu and scroll down to the AI Credits section on the License tab.

AI Credits section shown on the License screen in All in One SEO

You can click on the Get AI Credits button to purchase a block of Pay-As-You-Go credits, or you can click on the Connect Account button if you already have an account for AI credits.

If you activate a ​license key for All in One SEO Pro, then you'll see that your account is automatically connected and the number of credits available to you.

AI Credits section in All in One SEO showing the number of AI credits purchased

In the screenshot above, you can see that we have 150,000 credits remaining out of 200,000 credits.

For more information about the AI credits system for All in One SEO and how to manage your account, please check out our article on Buying and Managing Credits for the AIOSEO AI Features.

Now that we've verified that we have some AI credits, let's check out the FAQs feature.

Generating Schema Markup Using AIOSEO AI

To get started, edit any content and scroll down to the AIOSEO Settings section, then click on the Schema tab.

AIOSEO Settings section on the Edit Post screen

Click on the Generate Schema button to open the Schema Generator popup.

Schema Generator modal in All in One SEO

Then click on the AI Schema tab to use AI to generate your schema markup.

AI Schema tab in the All in One SEO Schema Generator

You'll see two options:

  • Smart Schema – All in One SEO analyzes the content of your page or post and recommends an appropriate schema. You don't need to type a prompt.
  • Prompt-Based Schema – You describe the schema you want (for example, FAQ or HowTo), and AIOSEO AI creates the Schema Markup to match your instructions.

Generating Schema with Smart Schema

Smart Schema is a good choice when you want AIOSEO to analyze your content and suggest the best schema without extra input from you.

To do this, select Smart Schema on the AI Schema tab, then click the Generate Schema button.

AI Schema tab in the All in One SEO Schema Generator

Notice that the Generate Schema button shows the number of AI credits that will be used to generate the schema markup.

You'll also see the number of credits you have, along with the amount remaining, in the bottom left-hand corner of the window.

After generation completes, you will see the suggested schema with checkboxes to the left.

Generated schema shown in the AI Schema tab

Click the arrow to the right to expand each schema to view the actual markup.

Generated schema code shown in the AI Schema tab

You'll see a Test with Google button that you can click to text the generated schema for errors. This will open a new browser tab and automatically test the schema in Google's Rich Results Testing tool.

Use the checkboxes next to each schema to select which schema you want to apply, and click the Add Schema button to save your new schema.

If you want to regenerate the schema using the Prompt-Based method, click the Regenerate Schema button to return to the previous screen.

Generating Schema with Prompt-Based Schema

Prompt-Based Schema is ideal when you already know what you want—for example, FAQ schema for a list of questions, or a specific structure for a product or how-to article.

To do this, select Prompt-Based Schema on the AI Schema tab, then enter your prompt describing what schema you'd like All in One SEO to generate for you in the Your Prompt field. Then, click the Generate Schema button.

Prompt-Based Schema option showing the Your Prompt field

Notice that the Generate Schema button shows the number of AI credits that will be used to generate the schema markup.

You'll also see the number of credits you have, along with the amount remaining, in the bottom left-hand corner of the window.

After generation completes, you will see the suggested schema with checkboxes to the left.

Generated schema shown in the AI Schema tab

Click the arrow to the right to expand the schema to view the actual markup.

Generated schema code shown in the AI Schema tab

You'll see a Test with Google button that you can click to text the generated schema for errors. This will open a new browser tab and automatically test the schema in Google's Rich Results Testing tool.

Click the Add Schema button to save your new schema.

That's all! You've now used AIOSEO AI to generate Schema Markup for your post, page, or other content.

AI Generated Content Disclaimer

The content generated by artificial intelligence tools may not always be entirely accurate or reliable. While these systems are designed to provide helpful and informative content, they are based on patterns in data and may inadvertently produce information that is outdated, incomplete, or incorrect. We recommend that you verify critical details through reputable sources before publishing AI-generated content.

Additionally, AI models can sometimes reflect biases present in their training data, which may lead to unintentional skewing of information or perspectives. It's important for users to approach AI-produced content with a critical mindset and consider multiple viewpoints to ensure a well-rounded understanding. The developers of All in One SEO do not guarantee the absolute accuracy or impartiality of the generated output.

Further Reading

Check out more articles on how to use the AIOSEO AI features here.

Check out more documentation on our Schema Settings here.